陆岛权限接口验证

main
张群 3 years ago
parent 68058beb95
commit 0628017fc7
  1. 7
      pages/water/waterWay/form.vue
  2. 2
      pages/water/waterWay/list.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();
})

@ -1,6 +1,6 @@
<template>
<view class="page">
<view class="list_box" v-for="(item,index) in data" :key="index" @click="goPage('/pages/water/waterWay/form', item)">
<view class="list_box" v-for="(item,index) in data" :key="index" @click="goPage('/pages/water/waterWay/form?id='+item.id)">
<view class="list_top">
<view class="unit_tags">报送时间</view>
<view>{{item.reportDate || ''}}<text

Loading…
Cancel
Save