|
@@ -33,6 +33,7 @@
|
|
|
return {
|
|
|
bindPopupHtml: null,
|
|
|
mapshow: false,
|
|
|
+ openZt: false,
|
|
|
superMapRootUrl: null,
|
|
|
viewer: null,
|
|
|
scene: null,
|
|
@@ -753,6 +754,7 @@
|
|
|
that.queryParams.mapData = entity.pickResult[entity.layerID][0].feature.properties.SmUserID;
|
|
|
that.queryParams.mapName = entity.pickResult[entity.layerID][0].feature.properties.layer;
|
|
|
getDeviceList(that.queryParams).then(res => {
|
|
|
+ that.openZt = true;
|
|
|
const treeLabels = [{
|
|
|
"id": null,
|
|
|
"labelCode": "999",
|
|
@@ -825,8 +827,10 @@
|
|
|
});
|
|
|
},
|
|
|
openTvwall() {
|
|
|
- this.mapshow=false
|
|
|
- this.$emit('fatherMethod', this.dianshiqiang, this.longitude, this.latitude, this.userList);
|
|
|
+ if(this.openZt){
|
|
|
+ this.mapshow=false;
|
|
|
+ this.$emit('fatherMethod', this.dianshiqiang, this.longitude, this.latitude, this.userList);
|
|
|
+ }
|
|
|
},
|
|
|
/**
|
|
|
* 地图落点
|
|
@@ -873,6 +877,7 @@
|
|
|
if (html != undefined && html._value != null && html._value != '') {
|
|
|
that.bindPopupHtml = html
|
|
|
that.mapshow = true
|
|
|
+ that.openZt = false
|
|
|
} else {
|
|
|
that.mapshow = false
|
|
|
}
|