diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/step3.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/step3.vue index e0d16c839..1d19fe428 100644 --- a/src/pages/processCenter/pages/creatProcess/bzzqyj/step3.vue +++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/step3.vue @@ -357,7 +357,6 @@ json.commentText = this.commentText json.info = this.data json.department = this.$store.getters.userInfo.orgName - json.introduce = true this.$http.post('lawss/activiti/completeTask', { json: JSON.stringify(json), taskId: this.taskIds, @@ -383,17 +382,7 @@ this.form.endTime = data.endTime this.form.cname = data.cname this.json = data - if (data.introduce) { - this.data = data.info || [] - } else { - this.$http.get('slrs/sar-public-idea-all/getPublicIdea', { - unique: data.uniques - }, {}, res => { - res.data.forEach(item => { - this.data.push(item) - }) - }) - } + this.data = data.info || [] }).catch(e => { }) }) diff --git a/src/pages/processCenter/pages/creatProcess/bzzqyj/step5.vue b/src/pages/processCenter/pages/creatProcess/bzzqyj/step5.vue index 0d73dd9a0..1320b9156 100644 --- a/src/pages/processCenter/pages/creatProcess/bzzqyj/step5.vue +++ b/src/pages/processCenter/pages/creatProcess/bzzqyj/step5.vue @@ -330,6 +330,7 @@ var json = this.json json.oldinfo = this.oldData json.commentText = this.commentText + json.introduce = true this.$http.post('lawss/activiti/completeTask', { json: JSON.stringify(json), taskId: this.taskIds, @@ -364,6 +365,18 @@ }) this.json = data this.data = data.summaryList + if (data.introduce) { + } else { + this.$http.get('slrs/sar-public-idea-all/getPublicIdea', { + unique: data.uniques + }, {}, res => { + res.data.forEach(item => { + item.chapterNumber = item.partCode + item.responUserName= item.userName + this.data.push(item) + }) + }) + } }).catch(e => { }) })