From 3958fba01459c31a590b9922580593d62984c181 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 13:42:14 +0800 Subject: [PATCH 1/2] commit --- src/pages/localTool/standAutoSplit/index.vue | 2 +- .../pages/creatProcess/jrbzhxh/step2.vue | 18 ++++++++++-------- .../pages/creatProcess/jrbzhxh/step3.vue | 4 ++-- .../pages/creatProcess/jrbzhxh/step4.vue | 4 ++-- 4 files changed, 15 insertions(+), 13 deletions(-) diff --git a/src/pages/localTool/standAutoSplit/index.vue b/src/pages/localTool/standAutoSplit/index.vue index 86d86d981..c8beafe7d 100644 --- a/src/pages/localTool/standAutoSplit/index.vue +++ b/src/pages/localTool/standAutoSplit/index.vue @@ -963,7 +963,7 @@ export default { _this: this }, res => { this.addSpiltStandList = res.data.list - this.addFileStandtotal = res.data.list.length + this.addFileStandtotal = res.data.count this.loadData = false }, e => { this.loadData = false diff --git a/src/pages/processCenter/pages/creatProcess/jrbzhxh/step2.vue b/src/pages/processCenter/pages/creatProcess/jrbzhxh/step2.vue index 3d030eea3..b8ee77f6d 100644 --- a/src/pages/processCenter/pages/creatProcess/jrbzhxh/step2.vue +++ b/src/pages/processCenter/pages/creatProcess/jrbzhxh/step2.vue @@ -155,21 +155,21 @@ align="center"> @@ -382,8 +382,8 @@ export default { institutionName: '', //所在部门 email: '', //联系方式 tenure:'', //任期 - account:'', //账户 - password:'', //密码 + accounts:'', //账户 + passwords:'', //密码 }], associationData: [{ contactPerson: '', //协议联络人 @@ -567,13 +567,15 @@ export default { //流程提交 handleSubmit() { this.isSubmit = true - this.wbbzform.dlFlag = '1', + this.wbbzform.dlFlag = '1' this.wbbzform.fileName = this.fileInfoList - this.wbbzform.passUser = this.$store.getters.userInfo.userId, + 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) + console.log(json); + return this.$http.post("lawss/activiti/completeTask", { taskIds: this.taskIds, userId: this.userId, diff --git a/src/pages/processCenter/pages/creatProcess/jrbzhxh/step3.vue b/src/pages/processCenter/pages/creatProcess/jrbzhxh/step3.vue index d80b7cf57..6ae0622af 100644 --- a/src/pages/processCenter/pages/creatProcess/jrbzhxh/step3.vue +++ b/src/pages/processCenter/pages/creatProcess/jrbzhxh/step3.vue @@ -150,13 +150,13 @@ align="center"> diff --git a/src/pages/processCenter/pages/creatProcess/jrbzhxh/step4.vue b/src/pages/processCenter/pages/creatProcess/jrbzhxh/step4.vue index d999dc6d1..e9cae7ad3 100644 --- a/src/pages/processCenter/pages/creatProcess/jrbzhxh/step4.vue +++ b/src/pages/processCenter/pages/creatProcess/jrbzhxh/step4.vue @@ -150,13 +150,13 @@ align="center"> From ba26d943cf226af1caf2dcdc5587daa1e10033a5 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 14:12:24 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E7=BB=84=E5=9B=9E?= =?UTF-8?q?=E6=98=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/creatProcess/jrbzhxh/step2.vue | 6 ++++-- .../pages/creatProcess/jrbzhxh/step3.vue | 20 +++++++++++++++++-- .../pages/creatProcess/jrbzhxh/step4.vue | 2 ++ 3 files changed, 24 insertions(+), 4 deletions(-) diff --git a/src/pages/processCenter/pages/creatProcess/jrbzhxh/step2.vue b/src/pages/processCenter/pages/creatProcess/jrbzhxh/step2.vue index b8ee77f6d..0836ca2e6 100644 --- a/src/pages/processCenter/pages/creatProcess/jrbzhxh/step2.vue +++ b/src/pages/processCenter/pages/creatProcess/jrbzhxh/step2.vue @@ -568,14 +568,16 @@ export default { handleSubmit() { this.isSubmit = true this.wbbzform.dlFlag = '1' + this.wbbzform.comityOptionsOne = this.comityOptionsOne + this.wbbzform.comityOptionsTwo = this.comityOptionsTwo + this.wbbzform.comityOptionsOneThree = this.comityOptionsOneThree this.wbbzform.fileName = this.fileInfoList 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) + let json = JSON.stringify( this.wbbzform) console.log(json); - return this.$http.post("lawss/activiti/completeTask", { taskIds: this.taskIds, userId: this.userId, diff --git a/src/pages/processCenter/pages/creatProcess/jrbzhxh/step3.vue b/src/pages/processCenter/pages/creatProcess/jrbzhxh/step3.vue index 6ae0622af..3bece617f 100644 --- a/src/pages/processCenter/pages/creatProcess/jrbzhxh/step3.vue +++ b/src/pages/processCenter/pages/creatProcess/jrbzhxh/step3.vue @@ -130,6 +130,7 @@ @@ -479,9 +481,23 @@ export default { * @description: 动态表单读取 */ getFormFieldList(item) { - console.log(item); this.$nextTick(() => { this.wbbzform = JSON.parse(JSON.stringify(item)); + this.wbbzform.comityOptionsOne.forEach(item =>{ + if(this.wbbzform.associationName === item.id){ + this.wbbzform.associationName = item.name + } + }) + this.wbbzform.comityOptionsTwo.forEach(item =>{ + if(this.wbbzform.committee === item.id){ + this.wbbzform.committee = item.name + } + }) + this.wbbzform.comityOptionsOneThree.forEach(item =>{ + if(this.wbbzform.workingGroup === item.id){ + this.wbbzform.workingGroup = item.name + } + }) this.associationData = item.associationData this.participantsData = item.participantsData item.fileName.forEach(itemId => { @@ -547,7 +563,7 @@ export default { this.wbbzform.commentText = this.commentText; this.wbbzform.participantsData = this.participantsData this.wbbzform.associationData = this.associationData - var json = JSON.stringify( this.wbbzform) + let json = JSON.stringify( this.wbbzform) this.$http.post("lawss/activiti/completeTask", { taskIds: this.taskIds, userId: this.userId, diff --git a/src/pages/processCenter/pages/creatProcess/jrbzhxh/step4.vue b/src/pages/processCenter/pages/creatProcess/jrbzhxh/step4.vue index e9cae7ad3..84d984608 100644 --- a/src/pages/processCenter/pages/creatProcess/jrbzhxh/step4.vue +++ b/src/pages/processCenter/pages/creatProcess/jrbzhxh/step4.vue @@ -130,6 +130,7 @@