From a7021c8212ec93089f03f18d440fceef060adb17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E4=BC=9F=E4=BD=B3?= <2797716443@qq.com> Date: Thu, 14 Apr 2022 16:09:16 +0800 Subject: [PATCH] =?UTF-8?q?52582=20=E6=A0=87=E5=87=86=E5=BE=81=E6=B1=82?= =?UTF-8?q?=E6=84=8F=E8=A7=81=E6=B5=81=E7=A8=8B=20=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E5=91=98=E9=A9=B3=E5=9B=9E=E5=90=8E=20=E6=8A=A5=E6=89=B9?= =?UTF-8?q?=E8=8A=82=E7=82=B9=20=E6=97=A0=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/creatProcess/bzzqyj/step4-1.vue | 4 ++++ .../pages/creatProcess/bzzqyj/step4-2.vue | 4 ++++ .../processCenter/pages/creatProcess/bzzqyj/step4.vue | 10 +++++----- .../processCenter/pages/creatProcess/bzzqyj/step6.vue | 4 ++++ .../processCenter/pages/creatProcess/bzzqyj/step7.vue | 4 ++++ .../processCenter/pages/creatProcess/bzzqyj/step8.vue | 4 ++++ .../processCenter/pages/creatProcess/bzzqyj/step9.vue | 4 ++++ 7 files changed, 29 insertions(+), 5 deletions(-) diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/step4-1.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/step4-1.vue index 2ced168e3..042368745 100644 --- a/src/pages/processCenter/pages/creatProcess/bzzqyj/step4-1.vue +++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/step4-1.vue @@ -275,6 +275,7 @@ data() { return { commentText41: '', + onlyKey: '', itermsConditionsFlag: false, itermsConditionsTitle: '', drawerModal: false, @@ -408,6 +409,7 @@ this.isSubmit = true let json = this.json json.info = this.data + json.onlyKey = this.onlyKey json.commentText = this.commentText41 json.bzfgId = this.form.bzfgId json.bzfgName = this.form.bzfgName @@ -432,6 +434,7 @@ if (this.commentText41) { var json = this.json json.spFlag = '1' + json.onlyKey = this.onlyKey json.commentText = this.commentText41 this.$http.post('lawss/activiti/completeTask', { json: JSON.stringify(json), @@ -455,6 +458,7 @@ pId: this.pId }).then(res => { let data = JSON.parse(res.mesg) + this.onlyKey = data.form ? data.form.onlyKey :data.onlyKey this.form.presidentUser = data.form ? data.form.presidentUser :data.presidentUser this.form.presidentUserName = data.form ? data.form.presidentUserName : data.presidentUserName this.form.fjList = data.fjList || data.form.fjList diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/step4-2.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/step4-2.vue index dfe399d15..fea0aa562 100644 --- a/src/pages/processCenter/pages/creatProcess/bzzqyj/step4-2.vue +++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/step4-2.vue @@ -267,6 +267,7 @@ data() { return { commentText42: '', + onlyKey: '', itermsConditionsFlag: false, itermsConditionsTitle: '', drawerModal: false, @@ -400,6 +401,7 @@ json.info = this.data json.commentText = this.commentText42 json.bzFlag = '0' + json.onlyKey = this.onlyKey this.$http.post('lawss/activiti/completeTask', { json: JSON.stringify(json), taskId: this.taskIds, @@ -416,6 +418,7 @@ if (this.commentText42) { var json = this.json json.bzFlag = '1' + json.onlyKey = this.onlyKey json.commentText = this.commentText42 this.$http.post('lawss/activiti/completeTask', { json: JSON.stringify(json), @@ -440,6 +443,7 @@ }).then(res => { let data = JSON.parse(res.mesg) this.form.fjList = data.fjList || data.form.fjList + this.onlyKey = data.form ? data.form.onlyKey :data.onlyKey this.form.presidentUser = data.form ? data.form.presidentUser :data.presidentUser this.form.presidentUserName = data.form ? data.form.presidentUserName : data.presidentUserName this.commentText42 = data.commentText42 || '' diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/step4.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/step4.vue index 51c43b171..5dc012984 100644 --- a/src/pages/processCenter/pages/creatProcess/bzzqyj/step4.vue +++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/step4.vue @@ -707,11 +707,6 @@ export default { this.submitShow = true } this.commentText4 = data.commentText4 || '' - if(data.onlyKey){ - this.onlyKey = data.onlyKey - }else{ - this.onlyKey = data.form.onlyKey - } this.form.presidentUser = data.form ? data.form.presidentUser :data.presidentUser this.form.presidentUserName = data.form ? data.form.presidentUserName : data.presidentUserName this.form.fjList = data.fjList || data.form.fjList @@ -727,6 +722,11 @@ export default { this.standId = data.standId this.getItemList(data.standId,data.textType) this.data = data.info || data.form.info + if(data.onlyKey){ + this.onlyKey = data.onlyKey + }else{ + this.onlyKey = data.form.onlyKey + } }).catch(e => { }) }) diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/step6.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/step6.vue index 94c00c6a9..301facbcf 100644 --- a/src/pages/processCenter/pages/creatProcess/bzzqyj/step6.vue +++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/step6.vue @@ -300,6 +300,7 @@ data() { return { data2: [], + onlyKey: '', commentText6: '', itermsConditionsFlag: false, itermsConditionsTitle: '', @@ -482,6 +483,7 @@ this.isSubmit = true; var json = this.json; json.hqFlag = '0'; + json.onlyKey = this.onlyKey json.commentText = this.commentText6; json.user7 = this.form.user7; json.user7Name = this.form.user7Name; @@ -506,6 +508,7 @@ this.isSubmit = true; var json = this.json; json.hqFlag = '1'; + json.onlyKey = this.onlyKey json.commentText = this.commentText6; this.$http.post("lawss/activiti/completeTask", { json: JSON.stringify(json), @@ -530,6 +533,7 @@ }).then(res => { let data = JSON.parse(res.mesg); this.commentText6 = data.commentText6 || '' + this.onlyKey = data.form ? data.form.onlyKey :data.onlyKey this.form.presidentUser = data.form ? data.form.presidentUser :data.presidentUser this.form.presidentUserName = data.form ? data.form.presidentUserName : data.presidentUserName this.form.fjList = data.fjList || data.form.fjList diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/step7.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/step7.vue index dbd5afef8..0d6fb63fe 100644 --- a/src/pages/processCenter/pages/creatProcess/bzzqyj/step7.vue +++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/step7.vue @@ -286,6 +286,7 @@ export default { return { data2: [], commentText7: '', + onlyKey: '', itermsConditionsFlag: false, itermsConditionsTitle: '', drawerModal: false, @@ -449,6 +450,7 @@ export default { this.isSubmit = true var json = this.json json.bdFlag = '0' + json.onlyKey = this.onlyKey json.commentText = this.commentText7 this.$http.post('lawss/activiti/completeTask', { json: JSON.stringify(json), @@ -467,6 +469,7 @@ export default { this.isSubmit = true var json = this.json json.bdFlag = '1' + json.onlyKey = this.onlyKey json.commentText = this.commentText7 this.$http.post('lawss/activiti/completeTask', { json: JSON.stringify(json), @@ -491,6 +494,7 @@ export default { }).then(res => { let data = JSON.parse(res.mesg) this.commentText7 = data.commentText7 || '' + this.onlyKey = data.form ? data.form.onlyKey :data.onlyKey this.form.presidentUser = data.form ? data.form.presidentUser :data.presidentUser this.form.presidentUserName = data.form ? data.form.presidentUserName : data.presidentUserName this.form.fjList = data.fjList || data.form.fjList diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/step8.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/step8.vue index 36b705625..5dab77961 100644 --- a/src/pages/processCenter/pages/creatProcess/bzzqyj/step8.vue +++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/step8.vue @@ -286,6 +286,7 @@ export default { return { data2: [], commentText8: '', + onlyKey: '', itermsConditionsFlag: false, itermsConditionsTitle: '', drawerModal: false, @@ -449,6 +450,7 @@ export default { this.isSubmit = true var json = this.json json.directorFlag = '0' + json.onlyKey = this.onlyKey json.commentText = this.commentText8 this.$http.post('lawss/activiti/completeTask', { json: JSON.stringify(json), @@ -467,6 +469,7 @@ export default { this.isSubmit = true var json = this.json json.directorFlag = '1' + json.onlyKey = this.onlyKey json.commentText = this.commentText8 this.$http.post('lawss/activiti/completeTask', { json: JSON.stringify(json), @@ -491,6 +494,7 @@ export default { }).then(res => { let data = JSON.parse(res.mesg) this.commentText8 = data.commentText8 || '' + this.onlyKey = data.form ? data.form.onlyKey :data.onlyKey this.form.presidentUser = data.form ? data.form.presidentUser :data.presidentUser this.form.presidentUserName = data.form ? data.form.presidentUserName : data.presidentUserName this.form.fjList = data.fjList || data.form.fjList diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/step9.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/step9.vue index 9b62938e4..54fd7334a 100644 --- a/src/pages/processCenter/pages/creatProcess/bzzqyj/step9.vue +++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/step9.vue @@ -286,6 +286,7 @@ export default { return { data2: [], commentText9: '', + onlyKey: '', itermsConditionsFlag: false, itermsConditionsTitle: '', drawerModal: false, @@ -449,6 +450,7 @@ export default { this.isSubmit = true; var json = this.json; json.presidentFlag = '0'; + json.onlyKey = this.onlyKey json.commentText = this.commentText9; this.$http.post("lawss/activiti/completeTask", { json: JSON.stringify(json), @@ -466,6 +468,7 @@ export default { if (this.commentText9) { this.isSubmit = true; var json = this.json; + json.onlyKey = this.onlyKey json.presidentFlag = '1'; json.commentText = this.commentText9; this.$http.post("lawss/activiti/completeTask", { @@ -491,6 +494,7 @@ export default { }).then(res => { let data = JSON.parse(res.mesg) this.commentText9 = data.commentText9 || '' + this.onlyKey = data.form ? data.form.onlyKey :data.onlyKey this.form.presidentUser = data.form ? data.form.presidentUser :data.presidentUser this.form.presidentUserName = data.form ? data.form.presidentUserName : data.presidentUserName this.form.fjList = data.fjList || data.form.fjList