diff --git a/src/pages/processCenter/pages/creatProcess/bzdy/step5.vue b/src/pages/processCenter/pages/creatProcess/bzdy/step5.vue index dbb9177ea..2664f236c 100644 --- a/src/pages/processCenter/pages/creatProcess/bzdy/step5.vue +++ b/src/pages/processCenter/pages/creatProcess/bzdy/step5.vue @@ -275,6 +275,7 @@ ] }, json: {}, + jsonData: {}, fileUrl: 'api/att/attFile/upload', fileMadel: false, } @@ -401,11 +402,12 @@ this.$refs['qbkwForm'].validate((valid) => { if (valid) { this.isSubmit = true - var json = this.json + let json = this.jsonData json.commentText = this.commentText5 json.hzfileId = this.form.hzfileId json.hzfileName = this.form.hzfileName json.docUser = this.newDocUser + json.responUserList = this.tableData this.$http.post('lawss/activiti/completeTask', { json: JSON.stringify(json), taskId: this.taskIds, @@ -427,6 +429,8 @@ pId: this.pId }).then(res => { let data = JSON.parse(res.mesg) + let jsonData = JSON.parse(res.mesg) + this.jsonData = jsonData.form ? jsonData.form : jsonData this.commentText5 = data.commentText5 || '' this.form.title = data.title || data.form.title this.form.processName = data.processName || data.form.processName