From 382e31d53007d3823fd4d1bc40a864b5a19f1274 Mon Sep 17 00:00:00 2001 From: liting <994745334@qq.com> Date: Wed, 12 Jun 2024 22:30:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/contract/contract/index.ts | 9 ++- src/views/contract/contract/index.vue | 96 +++++++++++++++++++++------ 2 files changed, 83 insertions(+), 22 deletions(-) diff --git a/src/api/contract/contract/index.ts b/src/api/contract/contract/index.ts index c0fc564a2..af8aeaa8d 100644 --- a/src/api/contract/contract/index.ts +++ b/src/api/contract/contract/index.ts @@ -78,10 +78,17 @@ export const MainApi = { generateContract: async (params: any) => { return await request.post({ url: `/contract/main/generateContract`, params }) }, - //提宝 + //审核 + auditContract: async (data: MainVO) => { + return await request.post({ url: `/contract/main/auditContract`, data }) + }, + //提报 presentingContract: async (params: any) => { return await request.post({ url: `/contract/main/presentingContract`, params }) }, + getAuditList: async (params) => { + return await request.get({ url: `/contract/main/getAuditList`, params }) + }, // ==================== 子表(任务书详细信息) ==================== // 获得任务书详细信息 diff --git a/src/views/contract/contract/index.vue b/src/views/contract/contract/index.vue index 72737cc58..60d107506 100644 --- a/src/views/contract/contract/index.vue +++ b/src/views/contract/contract/index.vue @@ -72,20 +72,26 @@ - + - - 编辑 - - - 删除 - - - 提报 - + + + 编辑 + + + 删除 + + + 提报 + + 审核 + + 审核记录 + @@ -123,22 +129,41 @@ - 审核通过 - 审核不通过 - + 审核通过 + 审核不通过 + - + - 确 定 + 确 定 取 消 + + + + + + {{ log.userName }} + {{ log.action }} + + + + + + + + 暂无审核记录 + + + - + 0