|
@@ -18,7 +18,7 @@
|
|
|
style="margin-bottom: 20px" />
|
|
|
<div class="d-l-con-icon">
|
|
|
<div class="icon-con" :class="{on:listCurrentIndex1==item.gridId}"
|
|
|
- v-for="(item,index) in visuTianzhangList2" @click="getGridList(item.gridId)">
|
|
|
+ v-for="(item,index) in visuTianzhangList2" @click="getGridList(item.gridId)" :key="index">
|
|
|
<div class="icon icon-mid el-icon-user"></div>
|
|
|
<div class="icon-text personnel-name">
|
|
|
<h6>姓名:{{ item.name }} </h6>
|
|
@@ -38,7 +38,7 @@
|
|
|
</div>
|
|
|
<div class="i-list-con h-27">
|
|
|
<div class="d-l-con-icon">
|
|
|
- <div class="icon-con" :class="{on:listCurrentIndex2==item. gridId}"
|
|
|
+ <div class="icon-con" :class="{on:listCurrentIndex2==item.gridId}"
|
|
|
v-for="(item,index) in visuGridLengthList" @click="selectGridLandInfo(item)">
|
|
|
<div class="icon icon-mid el-icon-user"></div>
|
|
|
<div class="icon-text personnel-name">
|
|
@@ -86,7 +86,7 @@
|
|
|
</div>
|
|
|
<div class="i-list-con h-27">
|
|
|
<div class="h-19 overflow-y">
|
|
|
- <div class="d-l-con" :class="{on:listCurrentIndex4==item.id}" v-for="(item,index) in yongjiutianList"
|
|
|
+ <div class="d-l-con" :class="{on:listCurrentIndex3==item.id}" v-for="(item,index) in yongjiutianList"
|
|
|
@click="getFlagList(item.id,2)">
|
|
|
<div class="d-l-l-text">
|
|
|
<i class="i-small"></i>
|
|
@@ -182,10 +182,13 @@
|
|
|
if (data.gridFarmId == undefined && data.gridLandId == undefined) {
|
|
|
this.$modal.msgError("请先绑定相关数据!");
|
|
|
}
|
|
|
+ console.log(data.gridFarmId,'===================我来看看是啥========================');
|
|
|
+ this.listCurrentIndex2 = data.id
|
|
|
},
|
|
|
getGridList(gridId) {
|
|
|
+ console.log(gridId,'==================12313132================')
|
|
|
let that = this
|
|
|
-
|
|
|
+ this.listCurrentIndex1 = gridId
|
|
|
this.gengdiList = []
|
|
|
this.yongjiutianList = []
|
|
|
this.visuGridLengthList = []
|
|
@@ -239,6 +242,7 @@
|
|
|
|
|
|
that.$refs.supermap.setGraphicsList(list, "red", 0.8)
|
|
|
}
|
|
|
+ that.listCurrentIndex3 = id
|
|
|
|
|
|
})
|
|
|
},
|
|
@@ -251,6 +255,7 @@
|
|
|
console.log(JSON.stringify(response.data));
|
|
|
that.visuTianzhangList = response.data
|
|
|
that.visuTianzhangList2 = response.data
|
|
|
+ console.log(that.visuTianzhangList2,'========================你来看看这是啥==========================')
|
|
|
})
|
|
|
},
|
|
|
getPointListByGd(id) {
|