|
@@ -668,6 +668,7 @@ export default {
|
|
});
|
|
});
|
|
},
|
|
},
|
|
expandRestItems(item, index) {
|
|
expandRestItems(item, index) {
|
|
|
|
+ alert(132)
|
|
this.systemList.forEach((eq) => {
|
|
this.systemList.forEach((eq) => {
|
|
if (eq.smsxt !== item.smsxt) {
|
|
if (eq.smsxt !== item.smsxt) {
|
|
eq.expand = false;
|
|
eq.expand = false;
|
|
@@ -1168,7 +1169,7 @@ export default {
|
|
};
|
|
};
|
|
},
|
|
},
|
|
}).addTo(myMaps);
|
|
}).addTo(myMaps);
|
|
-
|
|
|
|
|
|
+
|
|
if (this.currentLevel === 1) {
|
|
if (this.currentLevel === 1) {
|
|
//1集团
|
|
//1集团
|
|
this.pantGroupMap(this.currentZoneData, this.currentSysId);
|
|
this.pantGroupMap(this.currentZoneData, this.currentSysId);
|
|
@@ -1211,6 +1212,7 @@ export default {
|
|
*/
|
|
*/
|
|
openMaskPanel(system) {
|
|
openMaskPanel(system) {
|
|
let target = this.getDataByCityCcode(this.selectedZone)
|
|
let target = this.getDataByCityCcode(this.selectedZone)
|
|
|
|
+ console.log('target',target)
|
|
if (target) {
|
|
if (target) {
|
|
this.currentDialogLevel = target.level
|
|
this.currentDialogLevel = target.level
|
|
this.currentLevel = target.level
|
|
this.currentLevel = target.level
|
|
@@ -1234,7 +1236,7 @@ export default {
|
|
});
|
|
});
|
|
}
|
|
}
|
|
});
|
|
});
|
|
-
|
|
|
|
|
|
+
|
|
if (this.tabData.length) {
|
|
if (this.tabData.length) {
|
|
this.activeName = this.tabData[0].id;
|
|
this.activeName = this.tabData[0].id;
|
|
this.currentDialogTab = this.activeName;
|
|
this.currentDialogTab = this.activeName;
|
|
@@ -1562,7 +1564,7 @@ export default {
|
|
let marker = L.marker(center, { icon: textIcon }).addTo(groupLayer);
|
|
let marker = L.marker(center, { icon: textIcon }).addTo(groupLayer);
|
|
let marker2 = L.marker(center, { icon: circleIcon }).addTo(groupLayer);
|
|
let marker2 = L.marker(center, { icon: circleIcon }).addTo(groupLayer);
|
|
let feaureGroup = L.featureGroup([marker, marker2]);
|
|
let feaureGroup = L.featureGroup([marker, marker2]);
|
|
-
|
|
|
|
|
|
+
|
|
popup.on('add' , (ev) => {
|
|
popup.on('add' , (ev) => {
|
|
let popupDom = document.querySelectorAll('.leaflet-mypopup-content')[0]
|
|
let popupDom = document.querySelectorAll('.leaflet-mypopup-content')[0]
|
|
let tipDom = document.querySelectorAll('.leaflet-popup-tip')[0]
|
|
let tipDom = document.querySelectorAll('.leaflet-popup-tip')[0]
|
|
@@ -1574,7 +1576,7 @@ export default {
|
|
tipDom.style.background="#09173E"
|
|
tipDom.style.background="#09173E"
|
|
}
|
|
}
|
|
})
|
|
})
|
|
-
|
|
|
|
|
|
+
|
|
marker2.on("mouseover", (ev) => {
|
|
marker2.on("mouseover", (ev) => {
|
|
popup.openOn(myMaps);
|
|
popup.openOn(myMaps);
|
|
});
|
|
});
|
|
@@ -1628,7 +1630,7 @@ export default {
|
|
let item = data[i];
|
|
let item = data[i];
|
|
if (item.is_exception_num) {
|
|
if (item.is_exception_num) {
|
|
html += `<div class="line">
|
|
html += `<div class="line">
|
|
- <span>${item.category_name}</span>
|
|
|
|
|
|
+ <span>${item.category_name}</span>
|
|
<span>${item.asset_num || "--"}${
|
|
<span>${item.asset_num || "--"}${
|
|
item.category_name === "屋面logo"
|
|
item.category_name === "屋面logo"
|
|
? "个"
|
|
? "个"
|
|
@@ -1642,7 +1644,7 @@ export default {
|
|
</div>`;
|
|
</div>`;
|
|
} else {
|
|
} else {
|
|
html += `<div class="line">
|
|
html += `<div class="line">
|
|
- <span>${item.category_name}</span>
|
|
|
|
|
|
+ <span>${item.category_name}</span>
|
|
<span>${item.asset_num || "--"}${
|
|
<span>${item.asset_num || "--"}${
|
|
item.category_name === "屋面logo"
|
|
item.category_name === "屋面logo"
|
|
? "个"
|
|
? "个"
|
|
@@ -1665,7 +1667,7 @@ export default {
|
|
};
|
|
};
|
|
</script>
|
|
</script>
|
|
|
|
|
|
-<style scoped lang="less">
|
|
|
|
|
|
+<style scoped lang="less">
|
|
@import "../../assets/css/dark.less";
|
|
@import "../../assets/css/dark.less";
|
|
@import "../../assets/css/light.less";
|
|
@import "../../assets/css/light.less";
|
|
.dark-my-leaflet-div-icon{
|
|
.dark-my-leaflet-div-icon{
|
|
@@ -1697,5 +1699,4 @@ export default {
|
|
padding-top: 0;
|
|
padding-top: 0;
|
|
}
|
|
}
|
|
|
|
|
|
-</style>
|
|
|
|
-
|
|
|
|
|
|
+</style>
|