From 182fb7097d656484a9cda858ed5c0457b30bbb0f Mon Sep 17 00:00:00 2001 From: shenyanpei Date: Fri, 24 Dec 2021 16:44:07 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E5=90=88=E8=A7=84?= =?UTF-8?q?=E8=AF=84=E4=BC=B0=E6=B5=81=E7=A8=8B-=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E6=89=8B=E6=9C=BA=E7=AB=AF=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../processCenter/pages/phone/xmpg2/step3.vue | 463 ++++++++++++++++++ src/router/index.js | 12 +- 2 files changed, 474 insertions(+), 1 deletion(-) create mode 100644 src/pages/processCenter/pages/phone/xmpg2/step3.vue diff --git a/src/pages/processCenter/pages/phone/xmpg2/step3.vue b/src/pages/processCenter/pages/phone/xmpg2/step3.vue new file mode 100644 index 000000000..06c812fd1 --- /dev/null +++ b/src/pages/processCenter/pages/phone/xmpg2/step3.vue @@ -0,0 +1,463 @@ + + + + + diff --git a/src/router/index.js b/src/router/index.js index fc41c12da..674d19bd8 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -2211,7 +2211,7 @@ const routes = [ }, { path: '/phoneXmpg2Step2', - name: 'phoneXmpg2Step22', + name: 'phoneXmpg2Step2', component: () => import('@/pages/processCenter/pages/phone/xmpg2/step2.vue'), meta: { isBoolean: true, @@ -2219,6 +2219,16 @@ const routes = [ title: '项目合规评估流程' } }, + { + path: '/phoneXmpg2Step3', + name: 'phoneXmpg2Step3', + component: () => import('@/pages/processCenter/pages/phone/xmpg2/step3.vue'), + meta: { + isBoolean: true, + requireAuth: true, + title: '项目合规评估流程' + } + }, { path: '/phoneXmpg2Step7', name: 'phoneXmpg2Step7', From bcbdf947799ae05d40f7f69db62d26e52adb6e6e Mon Sep 17 00:00:00 2001 From: shenyanpei Date: Fri, 24 Dec 2021 16:52:49 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E5=90=88=E8=A7=84?= =?UTF-8?q?=E8=AF=84=E4=BC=B0=E6=B5=81=E7=A8=8B-=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E6=89=8B=E6=9C=BA=E7=AB=AF=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../processCenter/pages/phone/xmpg2/step3.vue | 33 ++++++++++--------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/src/pages/processCenter/pages/phone/xmpg2/step3.vue b/src/pages/processCenter/pages/phone/xmpg2/step3.vue index 06c812fd1..f0242772e 100644 --- a/src/pages/processCenter/pages/phone/xmpg2/step3.vue +++ b/src/pages/processCenter/pages/phone/xmpg2/step3.vue @@ -375,27 +375,28 @@ export default { this.listForm.jgUser = data[0].name } } else { - changeAssigneeNew({ - taskId: this.$route.query.taskIds, // 任务id - assignee: data[0].id, // 被委托人 - userId: this.$store.getters.userInfo.userId, // 委托人 - pId: this.$route.query.prcId // 流程实例 - }).then(res => { - this.isTransfer = false - if (res.success) { - this.$message.success('调整成功') - this.$router.push("/processCenter"); - this.processNum() - } else { - this.$message.warning(res.message) - } - }) + if (data.length > 0) { + changeAssigneeNew({ + taskId: this.$route.query.taskIds, // 任务id + assignee: data[0].id, // 被委托人 + userId: this.$store.getters.userInfo.userId, // 委托人 + pId: this.$route.query.prcId // 流程实例 + }).then(res => { + this.isTransfer = false + if (res.success) { + this.$message.success('调整成功') + this.$router.push("/processCenter"); + this.processNum() + } else { + this.$message.warning(res.message) + } + }) + } } }, }, mounted() { this.getData(); - this.getTree(); } };