From c3a4aba65c4b24ccf7f4ddac37410d43eacb1cdf Mon Sep 17 00:00:00 2001 From: shenyanpei Date: Sun, 5 Dec 2021 15:28:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=82=E4=BC=9A=E5=AE=A1=E6=89=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/phone/bzhHd-ch/step2.vue | 21 ++++++++++++++-- .../pages/phone/bzhHd-ch/step4.vue | 9 ++++++- .../pages/phone/bzhHd-ch/step6.vue | 25 ++++++++++++++++++- 3 files changed, 51 insertions(+), 4 deletions(-) diff --git a/src/pages/processCenter/pages/phone/bzhHd-ch/step2.vue b/src/pages/processCenter/pages/phone/bzhHd-ch/step2.vue index 2812bd18b..0652e0c00 100644 --- a/src/pages/processCenter/pages/phone/bzhHd-ch/step2.vue +++ b/src/pages/processCenter/pages/phone/bzhHd-ch/step2.vue @@ -213,7 +213,17 @@ export default { active: '1', acceptShow: false, - ch_pageData: {}, + ch_pageData: { + fillPeopleId: '', + fillPeople: '', + fillUnit: '', + fillDept: '', + fillPost: '', + fillTel: '', + fillMail: '', + fillLeader: '', + fillFile: '', + }, ch_rules: {}, nodeList: [], commentText: '', @@ -334,7 +344,14 @@ export default { } }) - } + }, + /** 点击对应附件进行下载*/ + previews(val) { + let attId = val + if (attId != null && attId !== "") { + window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + } + }, } } diff --git a/src/pages/processCenter/pages/phone/bzhHd-ch/step4.vue b/src/pages/processCenter/pages/phone/bzhHd-ch/step4.vue index b7343b99e..589e3dc2a 100644 --- a/src/pages/processCenter/pages/phone/bzhHd-ch/step4.vue +++ b/src/pages/processCenter/pages/phone/bzhHd-ch/step4.vue @@ -348,7 +348,14 @@ export default { }); } }) - } + }, + /** 点击对应附件进行下载*/ + previews(val) { + let attId = val + if (attId != null && attId !== "") { + window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + } + }, } } diff --git a/src/pages/processCenter/pages/phone/bzhHd-ch/step6.vue b/src/pages/processCenter/pages/phone/bzhHd-ch/step6.vue index 893916f36..999b32bbc 100644 --- a/src/pages/processCenter/pages/phone/bzhHd-ch/step6.vue +++ b/src/pages/processCenter/pages/phone/bzhHd-ch/step6.vue @@ -276,6 +276,10 @@ export default { }, getData() { + if (this.taskInfo === '标准法规工程师修订完毕') { + this.passTitle = '回执说明', + this.passHolder = '请输入回执说明' + } const params = { taskIds: this.taskIds, pId: this.pId, @@ -343,6 +347,12 @@ export default { json.president = this.roleForm.engineerUserId } else if (this.taskInfo === '技术委员会常务副主任/总院院长审定') { json.engineerSumDone = this.roleForm.startUser + } else { + json = { + ch_pageData: this.ch_pageData, + commentText: this.textarea, + roleList: this.roleForm + } } this.$refs['ch_pageData'].validate((valid) => { if (valid) { @@ -377,6 +387,12 @@ export default { json.president = this.roleForm.engineerUserId } else if (this.taskInfo === '技术委员会常务副主任/总院院长审定') { json.engineerSumDone = this.roleForm.startUser + } else { + json = { + ch_pageData: this.ch_pageData, + commentText: this.textarea, + roleList: this.roleForm + } } this.$refs['ch_pageData'].validate((valid) => { if (valid) { @@ -395,7 +411,14 @@ export default { } }) - } + }, + /** 点击对应附件进行下载*/ + previews(val) { + let attId = val + if (attId != null && attId !== "") { + window.location.href = "/api/att/attFile/downloadFileForSar?fileId=" + attId; + } + }, } }