From 63731e9fde67510a69020b4078b5c2aae6001548 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E4=BC=9F=E4=BD=B3?= <2797716443@qq.com> Date: Wed, 22 Dec 2021 10:35:10 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=AE=A1=E6=89=B9=E5=8E=86=E5=8F=B2?= =?UTF-8?q?=E9=AB=98=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/creatProcess/jrbzhxh/step2.vue | 2 +- .../pages/creatProcess/jrbzhxh/step3.vue | 50 ++++++++++--------- .../pages/creatProcess/jrbzhxh/step4.vue | 50 ++++++++++--------- .../pages/creatProcess/wbsm/step1-5.vue | 2 +- .../pages/creatProcess/wbsm/step2.vue | 2 +- .../pages/creatProcess/wbsm/step3.vue | 2 +- .../pages/creatProcess/wbsm/step4.vue | 2 +- .../pages/creatProcess/wbsm/step5.vue | 2 +- 8 files changed, 60 insertions(+), 52 deletions(-) diff --git a/src/pages/processCenter/pages/creatProcess/jrbzhxh/step2.vue b/src/pages/processCenter/pages/creatProcess/jrbzhxh/step2.vue index edfd581ec..3d030eea3 100644 --- a/src/pages/processCenter/pages/creatProcess/jrbzhxh/step2.vue +++ b/src/pages/processCenter/pages/creatProcess/jrbzhxh/step2.vue @@ -245,7 +245,7 @@
-
+
- +
-
+
{ - if (res.success) { - this.$message.success(res.message); - this.$router.push("/processCenter"); - } - this.isSubmit = false - }, e => { + if(!this.commentText){ + this.$message.warning('请填写审批意见') + }else{ + this.isSubmit = true + this.wbbzform.signFlag = '0', + this.wbbzform.passUser = this.$store.getters.userInfo.userId, + this.wbbzform.commentText = this.commentText; + this.wbbzform.participantsData = this.participantsData + this.wbbzform.associationData = this.associationData + var json = JSON.stringify( this.wbbzform) + this.$http.post("lawss/activiti/completeTask", { + taskIds: this.taskIds, + userId: this.userId, + json: json + }, { + _this: this + }, res => { + if (res.success) { + this.$message.success(res.message); + this.$router.push("/processCenter"); + } + this.isSubmit = false + }, e => { - }); + }); + } }, }, mounted() { diff --git a/src/pages/processCenter/pages/creatProcess/jrbzhxh/step4.vue b/src/pages/processCenter/pages/creatProcess/jrbzhxh/step4.vue index 0f9969045..d999dc6d1 100644 --- a/src/pages/processCenter/pages/creatProcess/jrbzhxh/step4.vue +++ b/src/pages/processCenter/pages/creatProcess/jrbzhxh/step4.vue @@ -198,7 +198,7 @@
- +
-
+
{ - if (res.success) { - this.$message.success(res.message); - this.$router.push("/processCenter"); - } - this.isSubmit = false - }, e => { + if(!this.commentText){ + this.$message.warning('请填写审批意见') + }else{ + this.isSubmit = true + this.wbbzform.bzFlag = '2', + this.wbbzform.passUser = this.$store.getters.userInfo.userId, + this.wbbzform.commentText = this.commentText; + this.wbbzform.participantsData = this.participantsData + this.wbbzform.associationData = this.associationData + var json = JSON.stringify( this.wbbzform) + this.$http.post("lawss/activiti/completeTask", { + taskIds: this.taskIds, + userId: this.userId, + json: json + }, { + _this: this + }, res => { + if (res.success) { + this.$message.success(res.message); + this.$router.push("/processCenter"); + } + this.isSubmit = false + }, e => { - }); + }); + } }, }, mounted() { diff --git a/src/pages/processCenter/pages/creatProcess/wbsm/step1-5.vue b/src/pages/processCenter/pages/creatProcess/wbsm/step1-5.vue index 0a73bf5d8..9cce7ecc6 100644 --- a/src/pages/processCenter/pages/creatProcess/wbsm/step1-5.vue +++ b/src/pages/processCenter/pages/creatProcess/wbsm/step1-5.vue @@ -74,7 +74,7 @@
-
+
-
+
-
+
-
+
-
+
Date: Wed, 22 Dec 2021 10:59:49 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=B5=81=E7=A8=8B=E6=9D=83=E9=99=90?= =?UTF-8?q?=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../processCenter/pages/newProcess/index.vue | 34 +++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/src/pages/processCenter/pages/newProcess/index.vue b/src/pages/processCenter/pages/newProcess/index.vue index 2a698bdbd..d5429058e 100644 --- a/src/pages/processCenter/pages/newProcess/index.vue +++ b/src/pages/processCenter/pages/newProcess/index.vue @@ -80,7 +80,7 @@
- +
@@ -125,7 +125,7 @@
- +
@@ -140,7 +140,7 @@
- +
@@ -155,7 +155,7 @@
- +
@@ -190,7 +190,7 @@

企业标准相关流程

- +
@@ -205,7 +205,7 @@
- +
@@ -220,7 +220,7 @@
- +
@@ -235,7 +235,7 @@
- +
@@ -256,7 +256,7 @@

标准化活动相关流程

- +
@@ -271,7 +271,7 @@
- +
@@ -286,7 +286,7 @@
- +
@@ -301,7 +301,7 @@
- +
@@ -316,7 +316,7 @@
- +
@@ -331,14 +331,14 @@
- -
+ +
-
加入标准化协会信息提报流程
+
参与外部标准制修订信息提报流程
@@ -346,7 +346,7 @@
- +