From a25118109de9c8883dae42c99c3e0c8767da207c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E4=BC=9F=E4=BD=B3?= <2797716443@qq.com> Date: Tue, 14 Sep 2021 13:37:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B5=81=E7=A8=8Bbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/processCenter/pages/creatProcess/xmpg2/step5.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/pages/processCenter/pages/creatProcess/xmpg2/step5.vue b/src/pages/processCenter/pages/creatProcess/xmpg2/step5.vue index 7b8d1c6b8..47973d3bd 100644 --- a/src/pages/processCenter/pages/creatProcess/xmpg2/step5.vue +++ b/src/pages/processCenter/pages/creatProcess/xmpg2/step5.vue @@ -473,6 +473,8 @@ export default { handleSubmit() { this.isSubmit = true; this.listForm.commentText = this.commentText; + this.listForm.children = this.dataList[0].children + this.listForm.dataList = this.dataList const json = JSON.stringify(this.listForm); this.$http.post("lawss/activiti/completeTask", { taskIds: this.taskIds, @@ -567,14 +569,14 @@ export default { } else if (this.type === 2) { this.selectList.forEach(item => { this.dataList.map(items => { - if (item.id == items.id) { + if (item.id === items.id) { items.workPeople = ""; items.workPeopleId = ""; this.$message.warning('您只能针对条款进行分发') } if (items.children.length) { items.children.map(childrenItem => { - if (childrenItem.id == item.id) { + if (childrenItem.id === item.id) { childrenItem.workPeople = data[0].name; childrenItem.workPeopleId = data[0].id; }