diff --git a/src/pages/processCenter/pages/creatProcess/qbrk/step1-2.vue b/src/pages/processCenter/pages/creatProcess/qbrk/step1-2.vue index 657758b46..90525c5f5 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk/step1-2.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk/step1-2.vue @@ -1337,6 +1337,8 @@ export default { glwjFileList: [], filterText:'', todoId:'', + esId1:'', + esId2:'', textStatusMap: {}, // 文本状态id与name对应 standardDrawer: false, loadSarStandard: false, @@ -3094,11 +3096,17 @@ export default { this.isSubmit = true this.saveLoading = true this.form.country=this.countryArr; + console.log(this.form); + return var json = Object.assign(this.form, this.roleForm) json.zrUserId = this.form.zrUserId json.jlUserId = this.form.jlUserId json.commentText = this.commentText json.type = this.taskType + if(this.taskType == '1'){ + json.esId1 = this.esId1 + json.esId2 = this.esId2 + } json.applyUpdUserId = this.form.applyUpdUserId json.prcCreateUser = this.form.prcCreateUser json.prcCreateUserName = this.form.prcCreateUserName @@ -3215,7 +3223,16 @@ export default { if (res) { const processForm = JSON.parse(res.mesg) this.todoId = res.id + if(processForm.reviseStatus == '制定'){ + processForm.reviseStatus = '1' + } else if(processForm.reviseStatus == '修订'){ + processForm.reviseStatus = '2' + } this.form.reviseStatus = processForm.reviseStatus + if(processForm.type == '1'){ + this.esId1 = processForm.esId1 + this.esId2 = processForm.esId2 + } this.taskType = processForm.type } }).catch(e => {