From 5e1e3dbd3b718d7881b8594885261e724979c205 Mon Sep 17 00:00:00 2001 From: "zyx.net" Date: Mon, 21 Nov 2022 13:54:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B5=81=E7=A8=8B=20esId1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/creatProcess/qbrk/step1-2.vue | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) 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 => {