diff --git a/src/pages/processCenter/pages/creatProcess/qbrk-product/step1.vue b/src/pages/processCenter/pages/creatProcess/qbrk-product/step1.vue index d3a60d589..a3119788b 100644 --- a/src/pages/processCenter/pages/creatProcess/qbrk-product/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/qbrk-product/step1.vue @@ -2980,18 +2980,20 @@ _this: this }, res => { if (res.success) { - this.$message.success(res.message) + this.submitLoading = false this.isSubmit = false - // if (this.$route.query.bpnId !== '') { - // let taskId = { - // id: this.$route.query.bpnId - // } - // taskDel(taskId).then(res=>{ - // return res - // }) - // } + if (this.$route.query.bpnId !== '') { + let taskId = { + id: this.$route.query.bpnId + } + taskDel(taskId).then(res=>{ + return res + }) + } // 流程提交之后,应该流转至待办任务页面 this.$router.push({path:'/processCenter?tabsName=ProcessCenter'}) + } else { + this.$message.warning(res.data) } }) }