From f0fa6ea933489858625ff6188c5d86af3dea9a82 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Thu, 29 Oct 2020 08:36:23 +0800 Subject: [PATCH 1/4] some fix --- client/src/api/certapp.js | 19 +- client/src/router/index.js | 9 +- client/src/styles/index.scss | 8 +- client/src/views/ability/ability.vue | 6 +- client/src/views/accessment/index.vue | 2 +- client/src/views/application/application.vue | 4 +- client/src/views/audit/fee.vue | 4 - client/src/views/audit/member.vue | 12 +- client/src/views/audit/task.vue | 6 +- client/src/views/certapp/certapp.vue | 4 +- client/src/views/certapp/certappchose.vue | 53 +- client/src/views/certapp/review.vue | 6 +- client/src/views/certificate/index.vue | 2 +- client/src/views/certificate/issueindex.vue | 4 +- client/src/views/education/education.vue | 2 +- client/src/views/employee/employee.vue | 4 +- .../views/employee/employeedetailupdate.vue | 2 +- client/src/views/employee/employeeupdate.vue | 8 +- client/src/views/employee/userchose.vue | 18 +- client/src/views/enterprise/enterprise.vue | 4 +- .../src/views/enterprise/enterprisechoose.vue | 2 +- .../src/views/implementrule/implementrule.vue | 4 +- client/src/views/plan/handle.vue | 533 -------------- client/src/views/plan/paichai.vue | 4 - client/src/views/plan/plan.vue | 34 +- client/src/views/project/handle.vue | 672 +++++++++++------- .../src/views/qualification/qualification.vue | 6 +- .../views/qualification/qualification_.vue | 4 +- client/src/views/standard/standard.vue | 4 +- client/src/views/standard/standardchoose.vue | 4 +- client/src/views/system/file.vue | 4 +- client/src/views/system/organization.vue | 2 +- client/src/views/system/perm.vue | 2 +- client/src/views/system/position.vue | 2 +- client/src/views/system/role.vue | 2 +- client/src/views/system/task.vue | 4 +- client/src/views/system/user.vue | 4 +- client/src/views/testorg/taskmanagement.vue | 2 - server/apps/employee/serializers.py | 2 +- server/apps/plan/views.py | 2 +- server/apps/project/admin.py | 1 + server/apps/project/views.py | 40 +- 42 files changed, 560 insertions(+), 951 deletions(-) delete mode 100644 client/src/views/plan/handle.vue diff --git a/client/src/api/certapp.js b/client/src/api/certapp.js index d62c7e9..e052512 100644 --- a/client/src/api/certapp.js +++ b/client/src/api/certapp.js @@ -76,4 +76,21 @@ export function flowCertapp(id) { url: `/project/certapp/${id}/flow/`, method: 'get', }) -} \ No newline at end of file +} + +export function bindCertapp(data) { + //与项目绑定 + return request({ + url: `/project/certapp/bind/`, + method: 'put', + data + }) +} + +export function unbindCertapp(id) { + //与项目解绑 + return request({ + url: `/project/certapp/${id}/unbind/`, + method: 'put', + }) +} diff --git a/client/src/router/index.js b/client/src/router/index.js index 6f9dd4a..5c4cdba 100644 --- a/client/src/router/index.js +++ b/client/src/router/index.js @@ -312,12 +312,19 @@ export const asyncRoutes = [ meta: { title: '人员信息', icon: 'example', perms: ['employee_view'] } }, { - path: 'employee/update/:id', + path: 'employee/:id/update', name: 'EmployeeUpdate', component: () => import('@/views/employee/employeeupdate'), meta: { title: '人员信息变更', icon: 'example', perms: ['employee_update'] }, hidden: true }, + { + path: 'employee/:id/detail', + name: 'Employeedetail', + component: () => import('@/views/employee/employeeupdate'), + meta: { title: '人员信息详情', icon: 'example', perms: ['employee_detail'] }, + hidden: true + }, // { // path: 'qualification_', // name: 'Qualification_', diff --git a/client/src/styles/index.scss b/client/src/styles/index.scss index 65008d6..8db3240 100644 --- a/client/src/styles/index.scss +++ b/client/src/styles/index.scss @@ -103,13 +103,13 @@ body .el-table th.gutter{ .el-button+.el-button { margin-left: 1px; } -// .el-button { -// border-radius: 0px; -// } +.el-button { + border-radius: 2px; +} .el-tabs__header { margin: 0 0 6px; } ul { padding-inline-start: 6px; -} \ No newline at end of file +} diff --git a/client/src/views/ability/ability.vue b/client/src/views/ability/ability.vue index dd03cde..d413513 100644 --- a/client/src/views/ability/ability.vue +++ b/client/src/views/ability/ability.vue @@ -30,17 +30,17 @@ type="primary" icon="el-icon-search" @click="handleFilter" - >搜索 + >查询 刷新重置 + >重置
- 新增 + 新增
搜索 + >查询 搜索 + >查询 刷新重置 + >重置
认证申请 diff --git a/client/src/views/audit/fee.vue b/client/src/views/audit/fee.vue index a2ac442..5a9c9ca 100644 --- a/client/src/views/audit/fee.vue +++ b/client/src/views/audit/fee.vue @@ -47,7 +47,6 @@ @@ -122,7 +120,6 @@ diff --git a/client/src/views/audit/member.vue b/client/src/views/audit/member.vue index 0a669c4..62a3101 100644 --- a/client/src/views/audit/member.vue +++ b/client/src/views/audit/member.vue @@ -40,9 +40,8 @@ - - - + +
成员配置
@@ -97,9 +96,9 @@
-
- - +
+ +
审核员参与天数/人日数
@@ -141,7 +140,6 @@
- 搜索查询 {{ scope.row.create_time }} - + - +