From 606de7167d26957fd0cf1cc0ffefd9fdad7c1abe Mon Sep 17 00:00:00 2001 From: zhutianqi Date: Mon, 17 Jan 2022 15:39:59 +0800 Subject: [PATCH] commit --- .../pages/phone/bzzqyj/step2.vue | 1 - .../pages/phone/bzzqyj/step6.vue | 72 +++++++++++++++---- 2 files changed, 58 insertions(+), 15 deletions(-) diff --git a/src/pages/processCenter/pages/phone/bzzqyj/step2.vue b/src/pages/processCenter/pages/phone/bzzqyj/step2.vue index 704685e2a..f39181290 100644 --- a/src/pages/processCenter/pages/phone/bzzqyj/step2.vue +++ b/src/pages/processCenter/pages/phone/bzzqyj/step2.vue @@ -279,7 +279,6 @@ } this.form.responUserList = idList; this.form.responUserListName = nameList; - }, choiceZRR() { this.nodeList = []; diff --git a/src/pages/processCenter/pages/phone/bzzqyj/step6.vue b/src/pages/processCenter/pages/phone/bzzqyj/step6.vue index c4ac44874..e21a6823b 100644 --- a/src/pages/processCenter/pages/phone/bzzqyj/step6.vue +++ b/src/pages/processCenter/pages/phone/bzzqyj/step6.vue @@ -50,6 +50,16 @@ - - + + + + + + @@ -179,6 +189,13 @@
+ @@ -230,6 +247,8 @@ textType: '', modelList: [], modelNameList: '', + user7: '', + user7Name: '', }, formRules: { responUserList: [ @@ -246,6 +265,29 @@ ProcessTitle }, methods: { + checkedRole2(data) { + var idList = ""; + var nameList = ""; + if (data.length) { + data.forEach(item => { + if (nameList.length > 0) { + nameList += ","; + idList += ","; + } + idList += item.id; + nameList += item.name; + }); + } + this.form.user7 = idList; + this.form.user7Name = nameList; + }, + choiceZRR() { + this.nodeList = []; + if (this.form.user7.length > 0) { + this.nodeList = this.form.user7.split(","); + } + this.modalshowflag = true; + }, dialogOk () { this.itermsConditionsFlag = false }, @@ -362,20 +404,22 @@ }, handleSubmit() { this.isSubmit = true; - var json = this.json; - json.hqFlag = '0'; - json.commentText = this.commentText; - this.$http.post("lawss/activiti/completeTask", { - json: JSON.stringify(json), - taskId: this.taskIds, - userId: this.$store.getters.userInfo.userId - }, {}, res => { - if (res.success) { - this.$message.success("提交成功"); - this.$router.push("/processCenter"); - } - this.isSubmit = false; - }); + var json = this.json; + json.hqFlag = '0'; + json.user7 = this.form.user7; + json.user7Name = this.form.user7Name; + json.commentText = this.commentText; + this.$http.post("lawss/activiti/completeTask", { + json: JSON.stringify(json), + taskId: this.taskIds, + userId: this.$store.getters.userInfo.userId + }, {}, res => { + if (res.success) { + this.$message.success("提交成功"); + this.$router.push("/processCenter"); + } + this.isSubmit = false; + }); }, handleSubmitNo() { if (this.commentText) {