|
@@ -85,13 +85,13 @@
|
|
<div class="d-l-l-count">({{ item.recordCount }}-{{ item.planCount }})</div>
|
|
<div class="d-l-l-count">({{ item.recordCount }}-{{ item.planCount }})</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
- <div class="d-l-con this-child sj-collapse" @click="getWaterPoint(child.id, child.reiverLengthId)" v-for="(child,index) in recordList" >
|
|
|
|
|
|
+ <div class="d-l-con this-child sj-collapse" @click="getWaterPoint(child.id)" v-for="(child,index) in recordList" >
|
|
<div class="d-l-l-text" >
|
|
<div class="d-l-l-text" >
|
|
<h4>{{child.beginTime}} - {{child.endTime}}</h4>
|
|
<h4>{{child.beginTime}} - {{child.endTime}}</h4>
|
|
</div>
|
|
</div>
|
|
<!--<div class="d-l-l-count">{{index}}</div>-->
|
|
<!--<div class="d-l-l-count">{{index}}</div>-->
|
|
</div>
|
|
</div>
|
|
- <div class="d-l-con this-child sj-collapse" v-if="recordList == null || recordList == '' || recordList == []">
|
|
|
|
|
|
+ <div class="d-l-con this-child sj-collapse" v-if="showNothing && (recordList == null || recordList == '' || recordList == [])">
|
|
<div class="d-l-l-text" >
|
|
<div class="d-l-l-text" >
|
|
<h4 class="text-gray">暂无信息</h4>
|
|
<h4 class="text-gray">暂无信息</h4>
|
|
</div>
|
|
</div>
|
|
@@ -166,6 +166,7 @@ export default {
|
|
connectList: [], //画线
|
|
connectList: [], //画线
|
|
xunLinListOne: [], //巡林计划
|
|
xunLinListOne: [], //巡林计划
|
|
recordList: [], //巡林记录
|
|
recordList: [], //巡林记录
|
|
|
|
+ showNothing: false, //暂无信息
|
|
zrs: 0, //总人数
|
|
zrs: 0, //总人数
|
|
zxrs: 0 //在线人数
|
|
zxrs: 0 //在线人数
|
|
}
|
|
}
|
|
@@ -277,25 +278,29 @@ export default {
|
|
},
|
|
},
|
|
//点击左侧人员列表获取 巡查监测点计划
|
|
//点击左侧人员列表获取 巡查监测点计划
|
|
getWaterPlan(reiverLengthId) {
|
|
getWaterPlan(reiverLengthId) {
|
|
|
|
+ this.showNothing = false;
|
|
this.recordList = [];
|
|
this.recordList = [];
|
|
getWaterPlan(reiverLengthId).then(res => {
|
|
getWaterPlan(reiverLengthId).then(res => {
|
|
console.log("计划",res.data);
|
|
console.log("计划",res.data);
|
|
this.xunLinListOne = res.data;
|
|
this.xunLinListOne = res.data;
|
|
})
|
|
})
|
|
|
|
+ this.$refs.supermap.clearC()
|
|
},
|
|
},
|
|
//点击左侧巡查监测点计划获取 巡查记录
|
|
//点击左侧巡查监测点计划获取 巡查记录
|
|
getWaterRecord(id, reiverLengthId) {
|
|
getWaterRecord(id, reiverLengthId) {
|
|
|
|
+ this.showNothing = true;
|
|
getWaterRecord(id, reiverLengthId).then(res => {
|
|
getWaterRecord(id, reiverLengthId).then(res => {
|
|
console.log(id+"=id, 记录 reiverLengthId="+reiverLengthId);
|
|
console.log(id+"=id, 记录 reiverLengthId="+reiverLengthId);
|
|
console.log("记录",res.data);
|
|
console.log("记录",res.data);
|
|
this.recordList = res.data;
|
|
this.recordList = res.data;
|
|
})
|
|
})
|
|
|
|
+ this.$refs.supermap.clearC()
|
|
},
|
|
},
|
|
- //点击左侧巡查监测点计划获取 巡查记录
|
|
|
|
- getWaterPoint(id, reiverLengthId) {
|
|
|
|
- console.log(id+"=id, 落点 reiverLengthId="+reiverLengthId);
|
|
|
|
- getWaterPoint(id, reiverLengthId).then(res => {
|
|
|
|
- console.log("落点",res.data);
|
|
|
|
|
|
+ //点击左侧巡查监测点计划获取 轨迹落点
|
|
|
|
+ getWaterPoint(id) {
|
|
|
|
+ // console.log(id+"=id, 落点");
|
|
|
|
+ getWaterPoint(id).then(res => {
|
|
|
|
+ // console.log("落点",res.data);
|
|
this.getPointList(res);
|
|
this.getPointList(res);
|
|
// this.pointList = res.data;
|
|
// this.pointList = res.data;
|
|
})
|
|
})
|