diff --git a/src/views/oneMap/components/mapboxPopup.vue b/src/views/oneMap/components/mapboxPopup.vue index f165226..b4564d5 100644 --- a/src/views/oneMap/components/mapboxPopup.vue +++ b/src/views/oneMap/components/mapboxPopup.vue @@ -417,15 +417,6 @@ allData.dataList.sweagepump = JSON.parse(allData.dataList.sweagepump); } - // 建筑社区弹框 - if (params.popupInfo.type == 'HMJZYSQ') { - allData.popupShow = false; - let data = { - title: params.popupInfo.name, - comIDs: ['xxinformation'], - }; - bus.emit('publicDialog', data); - } window.window.pipePopup = new mapboxL7.Popup({ html: pipePopupDiv, lngLat: { @@ -442,6 +433,15 @@ zoom: 18, }); allData.popupShow = true; + // 建筑社区弹框 + if (params.popupInfo.type == 'HMJZYSQ') { + allData.popupShow = false; + let data = { + title: params.popupInfo.name, + comIDs: ['xxinformation'], + }; + bus.emit('publicDialog', data); + } if (allData.dataList.siteType == 'rain') changeDate(); //雨量站曲线图 if (allData.dataList.type == 'waterCourse') changeDateSW(); //河道水位计 if (allData.dataList.type == 'waterLoging') changeDateJSD(); //内涝积水点