From 7cf665e7c877b90f6b3f49dc22b267340184435c Mon Sep 17 00:00:00 2001 From: gaojiabao Date: Fri, 12 May 2023 16:50:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=9F=E6=AD=A2=E6=B5=81=E7=A8=8B=20?= =?UTF-8?q?=E6=89=B9=E5=87=86=E5=88=99=E5=BA=9F=E9=99=A4=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/creatProcess/qbfz/step7.vue | 40 ++++++++++++------- 1 file changed, 26 insertions(+), 14 deletions(-) diff --git a/src/pages/processCenter/pages/creatProcess/qbfz/step7.vue b/src/pages/processCenter/pages/creatProcess/qbfz/step7.vue index e45012b6b..3754d4649 100644 --- a/src/pages/processCenter/pages/creatProcess/qbfz/step7.vue +++ b/src/pages/processCenter/pages/creatProcess/qbfz/step7.vue @@ -397,26 +397,38 @@ export default { this.qbfsForm.bafzFlag = '0' this.qbfsForm.dataList = this.dataList; let json = JSON.stringify(this.qbfsForm); - this.$http.post("lawss/activiti/completeTask", { - taskIds: this.$route.query.taskIds, - userId: this.$store.getters.userInfo.userId, - json: json - }, { - _this: this - }, res => { - if (res.success) { - this.$message.success(res.message); - this.$router.push("/processCenter"); + let params = { + type: this.qbfsForm.nextStatus, + id: this.qbfsForm.standId, + } + this.$http._getData('lawss/sarBussionessStand/repeal',params,{}).then(res => { + if(res && res.result){ + this.completeTask() } - this.isSubmit = false; - }, e => { - }); + }).catch(e=>{ + console.log(e) + }) }else{ this.$message.warning('请完善基础信息') } }) }, - + completeTask(){ + this.$http.post("lawss/activiti/completeTask", { + taskIds: this.$route.query.taskIds, + userId: this.$store.getters.userInfo.userId, + json: json + }, { + _this: this + }, res => { + if (res.success) { + this.$message.success(res.message); + this.$router.push("/processCenter"); + } + this.isSubmit = false; + }, e => { + }); + }, handleTabs(name) { this.active = name; },