diff --git a/src/api/yinnong/seal.js b/src/api/yinnong/seal.js new file mode 100644 index 00000000..756b3bcc --- /dev/null +++ b/src/api/yinnong/seal.js @@ -0,0 +1,11 @@ +import request from '@/utils/request' + +// 查询用章申请详细 +export function getSeal(id) { + return request({ + url: '/yinnong/seal/get/' + id, + method: 'get', + params: arguments[1] || {} + }) +} + diff --git a/src/router/index.js b/src/router/index.js index c74b5912..a9a465e2 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -2357,6 +2357,15 @@ export const constantRoutes = [ }, component: (resolve) => require(['@/views/yinnong/bankAgriculture/paymentApproval/approvalApproval13'], resolve) }, + { + path: '/yinnong/sealApproval', + name: 'sealApproval', + meta: { + title: '用章事项审批', + hidden: true, + }, + component: (resolve) => require(['@/views/yinnong/bankAgriculture/seal/sealApproval'], resolve) + }, { path: '/yinnong/approvalModify', diff --git a/src/views/yinnong/bankAgriculture/paymentApproval/approvalApproval13.vue b/src/views/yinnong/bankAgriculture/paymentApproval/approvalApproval13.vue index 183cd60a..18111186 100644 --- a/src/views/yinnong/bankAgriculture/paymentApproval/approvalApproval13.vue +++ b/src/views/yinnong/bankAgriculture/paymentApproval/approvalApproval13.vue @@ -271,13 +271,11 @@ getFileList(){ let oData= { tableId: this.$route.query.id, - tableName: "t_yinnong_majorevent", + tableName: 't_yinnong_majorevent', bizPath: "yinnong", fileType: "", } attachmentList(oData).then(res => { - console.log(res) - console.log(location.protocol+"//"+location.host+request.defaults.baseURL) res.rows.map(r => { let baseUrl = location.protocol+"//"+location.host+request.defaults.baseURL // this.fileList.push({"url":baseUrl + r.fileUrl,"file":new File([],r.fileName,{})}) diff --git a/src/views/yinnong/bankAgriculture/seal/sealApproval.vue b/src/views/yinnong/bankAgriculture/seal/sealApproval.vue new file mode 100644 index 00000000..07874b08 --- /dev/null +++ b/src/views/yinnong/bankAgriculture/seal/sealApproval.vue @@ -0,0 +1,246 @@ + + + + + diff --git a/src/views/yinnong/doneCompleted/completedNew.vue b/src/views/yinnong/doneCompleted/completedNew.vue index 6792a38b..d7e1e2d4 100644 --- a/src/views/yinnong/doneCompleted/completedNew.vue +++ b/src/views/yinnong/doneCompleted/completedNew.vue @@ -243,6 +243,9 @@ query: { id: item.data.id, taskId: item.id, auditbatchNo: item.auditbatchNo, type: "todo" } }); break; + case 't_sys_seal': + this.$router.push({name:'sealApproval',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 99e6bab9..4f4caa81 100644 --- a/src/views/yinnong/doneCompleted/doneNew.vue +++ b/src/views/yinnong/doneCompleted/doneNew.vue @@ -224,6 +224,9 @@ query: { id: item.data.id, taskId: item.id, auditbatchNo: item.auditbatchNo, type: "done" } }); break; + case 't_sys_seal': + this.$router.push({name:'sealApproval',query: {id:item.data.id,taskId:item.id, auditbatchNo: item.auditbatchNo, type:"done"}}) + break; } } },