From 2242cf1edd87620128e5daa180b288403ec42e1a Mon Sep 17 00:00:00 2001 From: caoqianming Date: Mon, 19 Oct 2020 15:13:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=9A=E5=8A=A1=E6=B5=81=E7=A8=8B=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E6=A2=B3=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/src/api/project.js | 11 +- client/src/router/index.js | 14 +- client/src/styles/index.scss | 5 +- client/src/views/accessment/access.vue | 11 +- client/src/views/audit/member.vue | 7 +- client/src/views/audit/task.vue | 431 ++++++++++-------- client/src/views/certapp/certapphandle.vue | 12 +- client/src/views/certificate/index.vue | 87 ++-- client/src/views/certificate/issue.vue | 15 +- client/src/views/plan/plan.vue | 11 +- client/src/views/project/handle.vue | 35 +- client/src/views/project/project.vue | 8 +- server/apps/audit/serializers.py | 12 +- server/apps/certificate/models.py | 2 +- server/apps/certificate/serializers.py | 26 +- server/apps/certificate/views.py | 2 + server/apps/crm/serializers.py | 5 + server/apps/plan/views.py | 4 +- server/apps/project/admin.py | 3 +- .../migrations/0043_auto_20201014_1215.py | 82 ++++ .../migrations/0044_auto_20201014_1412.py | 18 + server/apps/project/models.py | 159 ++++--- server/apps/project/serializers.py | 53 +-- server/apps/project/urls.py | 4 +- server/apps/project/views.py | 144 +++--- server/apps/system/serializers.py | 2 +- 26 files changed, 696 insertions(+), 467 deletions(-) create mode 100644 server/apps/project/migrations/0043_auto_20201014_1215.py create mode 100644 server/apps/project/migrations/0044_auto_20201014_1412.py diff --git a/client/src/api/project.js b/client/src/api/project.js index 9fe4131..2b781d4 100644 --- a/client/src/api/project.js +++ b/client/src/api/project.js @@ -39,9 +39,9 @@ export function getProject(id) { }) } -export function nextProject(id) { +export function assginProject(id) { return request({ - url: `/project/project/${id}/next/`, + url: `/project/project/${id}/assgin/`, method: 'put' }) } @@ -60,4 +60,11 @@ export function planProject(data) { method: 'put', data }) +} + +export function acceptAudit(id) { + return request({ + url: `/project/project/${id}/accept/`, + method: 'put', + }) } \ No newline at end of file diff --git a/client/src/router/index.js b/client/src/router/index.js index 41d9a82..d545c16 100644 --- a/client/src/router/index.js +++ b/client/src/router/index.js @@ -68,17 +68,17 @@ export const asyncRoutes = [ name: 'ProjectManage', meta: { title: '认证项目', icon: 'example'}, children: [ - { - path: 'application', - name: 'Applicaion', - component: () => import('@/views/application/application'), - meta: { title: '业务受理2', icon: 'example', perms: ['application_view'] } - }, + // { + // path: 'application', + // name: 'Applicaion', + // component: () => import('@/views/application/application'), + // meta: { title: '业务受理2', icon: 'example', perms: ['application_view'] } + // }, { path: 'certapp', name: 'Certapp', component: () => import('@/views/certapp/certapp'), - meta: { title: '业务受理1', icon: 'example', perms: ['certapp_view'] } + meta: { title: '业务受理', icon: 'example', perms: ['certapp_view'] } }, // { // path: 'application2', diff --git a/client/src/styles/index.scss b/client/src/styles/index.scss index b47aaea..687eb0a 100644 --- a/client/src/styles/index.scss +++ b/client/src/styles/index.scss @@ -100,4 +100,7 @@ div:focus { } // .el-button { // border-radius: 0px; -// } \ No newline at end of file +// } +.el-tabs__header { + margin: 0 0 6px; +} \ No newline at end of file diff --git a/client/src/views/accessment/access.vue b/client/src/views/accessment/access.vue index 779a3c3..7e97828 100644 --- a/client/src/views/accessment/access.vue +++ b/client/src/views/accessment/access.vue @@ -71,14 +71,9 @@ - -