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; } } },
合同签订申请审批