|
@@ -17,8 +17,8 @@
|
|
|
<el-input v-model="name" placeholder="请输入姓名" clearable size="small" prefix-icon="el-icon-search"
|
|
|
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)" :key="index">
|
|
|
+ <div class="icon-con" :class="{on:listCurrentIndex1==item.id}"
|
|
|
+ v-for="(item,index) in visuTianzhangList2" @click="getGridList(item.gridId,item.id)" :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.id}"
|
|
|
v-for="(item,index) in visuGridLengthList" @click="selectGridLandInfo(item)">
|
|
|
<div class="icon icon-mid el-icon-user"></div>
|
|
|
<div class="icon-text personnel-name">
|
|
@@ -182,13 +182,13 @@
|
|
|
if (data.gridFarmId == undefined && data.gridLandId == undefined) {
|
|
|
this.$modal.msgError("请先绑定相关数据!");
|
|
|
}
|
|
|
- console.log(data.gridFarmId,'===================我来看看是啥========================');
|
|
|
+ // console.log(data.gridFarmId,'===================我来看看是啥========================');
|
|
|
this.listCurrentIndex2 = data.id
|
|
|
},
|
|
|
- getGridList(gridId) {
|
|
|
- console.log(gridId,'==================12313132================')
|
|
|
+ getGridList(gridId,id) {
|
|
|
+ // console.log(id,'==================12313132================')
|
|
|
let that = this
|
|
|
- this.listCurrentIndex1 = gridId
|
|
|
+ this.listCurrentIndex1 = id
|
|
|
this.gengdiList = []
|
|
|
this.yongjiutianList = []
|
|
|
this.visuGridLengthList = []
|
|
@@ -197,7 +197,7 @@
|
|
|
leadType: "6",
|
|
|
gridId: gridId
|
|
|
}).then(function(response) {
|
|
|
- console.log(JSON.stringify(response.data));
|
|
|
+ // console.log(JSON.stringify(response.data));
|
|
|
that.visuGridLengthList = response.data
|
|
|
})
|
|
|
},
|
|
@@ -207,7 +207,7 @@
|
|
|
getLandList({
|
|
|
gridLandId: gridLandId
|
|
|
}).then(function(response) {
|
|
|
- console.log(JSON.stringify(response.data));
|
|
|
+ // console.log(JSON.stringify(response.data));
|
|
|
that.gengdiList = response.data
|
|
|
})
|
|
|
},
|
|
@@ -217,7 +217,7 @@
|
|
|
getFarmList({
|
|
|
gridFarmId: gridFarmId
|
|
|
}).then(function(response) {
|
|
|
- console.log(JSON.stringify(response.data));
|
|
|
+ // console.log(JSON.stringify(response.data));
|
|
|
that.yongjiutianList = response.data
|
|
|
})
|
|
|
},
|
|
@@ -227,7 +227,7 @@
|
|
|
getFlagList({
|
|
|
id: id
|
|
|
}).then(function(response) {
|
|
|
- console.log(JSON.stringify(response.data));
|
|
|
+ // console.log(JSON.stringify(response.data));
|
|
|
let list = []
|
|
|
for (var i = 0; i < response.data.length; i++) {
|
|
|
list.push(response.data[i].lng)
|
|
@@ -252,10 +252,10 @@
|
|
|
getTianList({
|
|
|
leadType: "6"
|
|
|
}).then(function(response) {
|
|
|
- console.log(JSON.stringify(response.data));
|
|
|
+ // console.log(JSON.stringify(response.data));
|
|
|
that.visuTianzhangList = response.data
|
|
|
that.visuTianzhangList2 = response.data
|
|
|
- console.log(that.visuTianzhangList2,'========================你来看看这是啥==========================')
|
|
|
+ // console.log(that.visuTianzhangList2,'========================你来看看这是啥==========================')
|
|
|
})
|
|
|
},
|
|
|
getPointListByGd(id) {
|