From 0628017fc70b1d64bbe4218cb709b136e748bb28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E7=BE=A4?= Date: Thu, 7 Sep 2023 17:58:21 +0800 Subject: [PATCH] =?UTF-8?q?=E9=99=86=E5=B2=9B=E6=9D=83=E9=99=90=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E9=AA=8C=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/water/waterWay/form.vue | 7 ++++--- pages/water/waterWay/list.vue | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/pages/water/waterWay/form.vue b/pages/water/waterWay/form.vue index ccf7d4d..134c4aa 100644 --- a/pages/water/waterWay/form.vue +++ b/pages/water/waterWay/form.vue @@ -182,7 +182,7 @@ let now = new Date(); this.form.reportDate = getDateStr(now, -1); //默认前一天 this.queryTime(); //统计时段 - // this.queryLandList();//陆岛权限列表 + this.queryLandList();//陆岛权限列表 } else if (options.item) { this.form = JSON.parse(options.item); this.form.bizWaterwayIslandDataSaveOrUpdateDTOList = this.form.bizWaterwayIslandDataVOList; @@ -204,7 +204,7 @@ this.$request(getApp().globalData.baseUrl + '/api/biz/bizWaterwayIslandAuthority/list', {}, 'GET').then(res => { let arr = []; res.data.map(item => { - arr.push(item) + arr.push(item.stationId); }) this.landList = arr; this.form.bizWaterwayIslandDataSaveOrUpdateDTOList.map(item => { @@ -259,7 +259,8 @@ queryDetailInfo(id) { this.$request(getApp().globalData.baseUrl + '/api/biz/waterwayIslandData/getById/' + id, {}, 'GET').then(res => { - this.form = res.data; + this.form = res.data; + this.form.bizWaterwayIslandDataSaveOrUpdateDTOList = this.form.bizWaterwayIslandDataVOList; this.queryTime(); //统计时段 this.queryLandList(); }) diff --git a/pages/water/waterWay/list.vue b/pages/water/waterWay/list.vue index 8e13f08..b8816e8 100644 --- a/pages/water/waterWay/list.vue +++ b/pages/water/waterWay/list.vue @@ -1,6 +1,6 @@