From d6c25cced64a0d3f74dbb1e48c050c91a31b8a8a Mon Sep 17 00:00:00 2001 From: "zyx.net" Date: Sun, 20 Nov 2022 11:33:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=81=E6=A0=87=E8=AE=A1=E5=88=92=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E6=8E=A5=E5=8F=A3=E5=8F=91=E8=B5=B7=E5=BE=85=E5=8A=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/creatProcess/qbrk/step1-2.vue | 17 +++++++++++++++++ .../enterpriseStandardPlan/index.vue | 5 ++++- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/src/pages/processCenter/pages/creatProcess/qbrk/step1-2.vue b/src/pages/processCenter/pages/creatProcess/qbrk/step1-2.vue index b935476ea..e1d3b128a 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk/step1-2.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk/step1-2.vue @@ -3183,11 +3183,28 @@ export default { this.modelOptions = res.data }) }, + getData() { + if(this.$route.query.taskIds && this.$route.query.prcId){ + return new Promise((resolve, reject) => { + inboundLiaisonDetail({ + taskIds: this.$route.query.taskIds, + pId: this.$route.query.prcId + }).then(res => { + if (res) { + const processForm = JSON.parse(res.mesg) + this.form.reviseStatus = processForm.reviseStatus + } + }).catch(e => { + }) + }) + } + }, }, mounted () { this.getTaskId() this.getTree() + this.getData() if(this.$route.query){ this.form.reviseStatus = this.$route.query.reviseStatus } diff --git a/src/pages/regulatoryRepository/enterpriseStandardPlan/index.vue b/src/pages/regulatoryRepository/enterpriseStandardPlan/index.vue index 969a4e66f..76b9bca00 100644 --- a/src/pages/regulatoryRepository/enterpriseStandardPlan/index.vue +++ b/src/pages/regulatoryRepository/enterpriseStandardPlan/index.vue @@ -1231,13 +1231,16 @@ this.$message.success(tips + '成功') this.getData() this.addForm.addFlag = '1' + this.addForm.prcCreateUser = this.$store.getters.userInfo.userId + this.addForm.prcCreateUserName = this.$store.getters.userInfo.userName + this.addForm.type = '5' var json = Object.assign(this.addForm) this.$http.post('lawss/activiti/startProcessRollBack', { createUser: this.$store.getters.userInfo.userId, createUserName: this.$store.getters.userInfo.userName, type: '25', json: JSON.stringify({ - addForm: this.addForm + qbfsForm: this.addForm }) }, {}, res => { if (res.ok) {