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 @@