diff --git a/client/src/api/certapp.js b/client/src/api/certapp.js index 06bca08..d62c7e9 100644 --- a/client/src/api/certapp.js +++ b/client/src/api/certapp.js @@ -61,4 +61,19 @@ export function accessCertapp(id, data) { method: 'put', data }) +} + +export function feedbackCertapp(id, data) { + return request({ + url: `/project/certapp/${id}/feedback/`, + method: 'put', + data + }) +} + +export function flowCertapp(id) { + return request({ + url: `/project/certapp/${id}/flow/`, + method: 'get', + }) } \ No newline at end of file diff --git a/client/src/api/project.js b/client/src/api/project.js index 2b781d4..c4ff8ec 100644 --- a/client/src/api/project.js +++ b/client/src/api/project.js @@ -67,4 +67,20 @@ export function acceptAudit(id) { url: `/project/project/${id}/accept/`, method: 'put', }) +} + +export function startProject(id, data) { + return request({ + url: `/project/project/${id}/start/`, + method: 'put', + data + }) +} + +export function feedbackProject(id, data) { + return request({ + url: `/project/project/${id}/feedback/`, + method: 'put', + data + }) } \ No newline at end of file diff --git a/client/src/router/index.js b/client/src/router/index.js index 94c841e..8367d97 100644 --- a/client/src/router/index.js +++ b/client/src/router/index.js @@ -184,10 +184,17 @@ export const asyncRoutes = [ hidden: true }, { - path: 'certapp/:id/:action/', + path: 'certapp/:id/feedback/', name: 'Certappfeedback', component: () => import('@/views/certapp/certapphandle'), - meta: { title: '业务审核反馈', icon: 'example', perms: ['certapp_feedback'] }, + meta: { title: '审核反馈', icon: 'example', perms: ['certapp_feedback'] }, + hidden: true + }, + { + path: 'certapp/:id/test/', + name: 'Certapptest', + component: () => import('@/views/certapp/certapphandle'), + meta: { title: '检测任务', icon: 'example', perms: ['certapp_test'] }, hidden: true }, ] @@ -232,7 +239,6 @@ export const asyncRoutes = [ meta: { title: '任务反馈', noCache: true, icon: '', perms: ['feedbacks_create']}, hidden: true }, - ] }, { diff --git a/client/src/styles/index.scss b/client/src/styles/index.scss index 687eb0a..bacfa40 100644 --- a/client/src/styles/index.scss +++ b/client/src/styles/index.scss @@ -103,4 +103,8 @@ div:focus { // } .el-tabs__header { margin: 0 0 6px; +} + +ul { + padding-inline-start: 6px; } \ No newline at end of file diff --git a/client/src/views/accessment/access.vue b/client/src/views/accessment/access.vue index 7e97828..97b5a53 100644 --- a/client/src/views/accessment/access.vue +++ b/client/src/views/accessment/access.vue @@ -49,7 +49,7 @@
- 保存 + 保存
@@ -71,9 +71,15 @@ - -