From 8c186903bf819f5802f1169f69e1f2676c8b7371 Mon Sep 17 00:00:00 2001 From: zhaodengke Date: Fri, 25 Oct 2024 15:45:09 +0800 Subject: [PATCH] =?UTF-8?q?Task=20=E5=90=88=E5=90=8C=E7=AD=BE=E8=AE=A2?= =?UTF-8?q?=E5=AE=A1=E6=89=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/yinnong/yinnongApproval.js | 9 + src/router/index.js | 9 + .../approval/contractionApproval.vue | 251 ++++++++++++++++++ .../yinnong/doneCompleted/completedNew.vue | 3 + src/views/yinnong/doneCompleted/doneNew.vue | 3 + 5 files changed, 275 insertions(+) create mode 100644 src/views/yinnong/bankAgriculture/approval/contractionApproval.vue diff --git a/src/api/yinnong/yinnongApproval.js b/src/api/yinnong/yinnongApproval.js index 97e5c77d..025a2738 100644 --- a/src/api/yinnong/yinnongApproval.js +++ b/src/api/yinnong/yinnongApproval.js @@ -18,3 +18,12 @@ export function getAsset(id) { }) } +// 查询合同签订详细 +export function getContraction(id) { + return request({ + url: '/yinnong/contraction/get/' + id, + method: 'get', + params: arguments[1] || {} + }) +} + diff --git a/src/router/index.js b/src/router/index.js index b9343656..5e1a6591 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -2375,6 +2375,15 @@ export const constantRoutes = [ }, component: (resolve) => require(['@/views/yinnong/bankAgriculture/approval/assetApproval'], resolve) }, + { + path: '/yinnong/contractionApproval', + name: 'contractionApproval', + meta: { + title: '合同签订申请审批', + hidden: true, + }, + component: (resolve) => require(['@/views/yinnong/bankAgriculture/approval/contractionApproval'], resolve) + }, { path: '/yinnong/approvalModify', diff --git a/src/views/yinnong/bankAgriculture/approval/contractionApproval.vue b/src/views/yinnong/bankAgriculture/approval/contractionApproval.vue new file mode 100644 index 00000000..43de6a18 --- /dev/null +++ b/src/views/yinnong/bankAgriculture/approval/contractionApproval.vue @@ -0,0 +1,251 @@ + + + + + diff --git a/src/views/yinnong/doneCompleted/completedNew.vue b/src/views/yinnong/doneCompleted/completedNew.vue index f2465a01..0b9ac92e 100644 --- a/src/views/yinnong/doneCompleted/completedNew.vue +++ b/src/views/yinnong/doneCompleted/completedNew.vue @@ -249,6 +249,9 @@ case 't_sys_asset': this.$router.push({name:'assetApproval',query: {id:item.data.id,taskId:item.id, auditbatchNo: item.auditbatchNo, type:"todo"}}) break; + case 't_sys_contraction': + this.$router.push({name:'contractionApproval',query: {id:item.data.id,taskId:item.id, auditbatchNo: item.auditbatchNo, type:"todo"}}) + break; } } }, diff --git a/src/views/yinnong/doneCompleted/doneNew.vue b/src/views/yinnong/doneCompleted/doneNew.vue index 962e6346..fed8262b 100644 --- a/src/views/yinnong/doneCompleted/doneNew.vue +++ b/src/views/yinnong/doneCompleted/doneNew.vue @@ -230,6 +230,9 @@ case 't_sys_asset': this.$router.push({name:'assetApproval',query: {id:item.data.id,taskId:item.id, auditbatchNo: item.auditbatchNo, type:"done"}}) break; + case 't_sys_contraction': + this.$router.push({name:'contractionApproval',query: {id:item.data.id,taskId:item.id, auditbatchNo: item.auditbatchNo, type:"done"}}) + break; } } },