From 8f43a1a67130dc10561ff2bface239749deb1601 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E9=87=91=E9=B9=8F?= Date: Fri, 20 Sep 2019 19:06:37 +0800 Subject: [PATCH 1/2] no message --- src/views/modules/events/item-deal-detail.vue | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/views/modules/events/item-deal-detail.vue b/src/views/modules/events/item-deal-detail.vue index 86cb9260..d60ac929 100644 --- a/src/views/modules/events/item-deal-detail.vue +++ b/src/views/modules/events/item-deal-detail.vue @@ -111,6 +111,13 @@ export default { if (val === 1) { this.deptResultDTOSVisible = true this.evaluateDeptDTOSVisible = false + console.log(this.dataForm.deptResultDTOS) + for (let index = 0; index < this.dataForm.deptResultDTOS.length; index++) { + const deptResultDTO = this.dataForm.deptResultDTOS[index] + if (deptResultDTO.selected === true) { + this.postDataForm.deptResultDTOS.push(deptResultDTO) + } + } } else if (val === 10) { if (this.dataForm.evaluateDeptDTOS.length === 0) { return From 6ae9e27c0f8c1fe3effe3a14b22c91f6d6b02619 Mon Sep 17 00:00:00 2001 From: yujintao Date: Fri, 20 Sep 2019 19:54:28 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=96=B0=E9=97=BB=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E9=A1=B5=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/news/news-add-or-update.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/modules/news/news-add-or-update.vue b/src/views/modules/news/news-add-or-update.vue index 89a6bb3a..06ff4b4e 100644 --- a/src/views/modules/news/news-add-or-update.vue +++ b/src/views/modules/news/news-add-or-update.vue @@ -267,14 +267,14 @@ export default { changeStreet (event) { let choosenItem = this.streetList.filter(item => item.id === this.dataForm.streetId)[0] this.dataForm.street = choosenItem.name - this.dataForm.communityId = this.dataForm.gridId = null + this.dataForm.communityId = this.dataForm.gridId = this.dataForm.community = this.dataForm.grid = null this.communityList = this.gridList = [] this.getDeptInfoList('community', event) }, changeCommunity (event) { let choosenItem = this.communityList.filter(item => item.id === this.dataForm.communityId)[0] this.dataForm.community = choosenItem.name - this.dataForm.gridId = null + this.dataForm.gridId = this.dataForm.grid = null this.gridList = [] this.getDeptInfoList('grid', event) },