Przeglądaj źródła

上一页下一页

王通 2 lat temu
rodzic
commit
62de4da2dd
1 zmienionych plików z 8 dodań i 2 usunięć
  1. 8 2
      src/views/firespread.vue

+ 8 - 2
src/views/firespread.vue

@@ -2068,7 +2068,8 @@ export default {
         }
         setTimeout(() => {
           that.$refs.supermapDialog1.dynamicPlotting()//弹出动态绘制窗口,防止截图位置改变
-          that.$refs.supermapDialog1.clearM(false)
+          that.$refs.supermapDialog.clearM(false)
+          that.$refs.supermapDialog.clearM(true)
           that.$refs.supermapDialog1.setMarkersRadius([markersMap])
           that.$refs.supermapDialog1.dropLocation10(res.data.catalogue.latitude, res.data.catalogue.longitude)
         }, 2000)
@@ -2098,6 +2099,8 @@ export default {
           markersMap.lng = res.data.centermonitorTCamera.longitude
           markersMap.lat = res.data.centermonitorTCamera.latitude
           setTimeout(() => {
+            that.$refs.supermapDialog.clearM(false)
+            that.$refs.supermapDialog.clearM(true)
             that.$refs.supermapDialog1.setMarkers([markersMap])
 
           }, 2000)
@@ -2160,7 +2163,8 @@ export default {
           markersMap.radius = res.data.eventdetail[0].fireRadius
         }
         setTimeout(() => {
-          that.$refs.supermapDialog1.clearM(false)
+          that.$refs.supermapDialog.clearM(false)
+          that.$refs.supermapDialog.clearM(true)
           if (res.data.eventdetail != null && res.data.eventdetail.length > 0 && res.data.eventdetail[0].fireRadius != null && res.data.eventdetail[0].fireRadius != '' && res.data.eventdetail[0].fireRadius > 0) {
             that.$refs.supermapDialog1.setMarkersRadius([markersMap])
           } else {
@@ -2193,6 +2197,8 @@ export default {
           markersMap.lng = res.data.centermonitorTCamera.longitude
           markersMap.lat = res.data.centermonitorTCamera.latitude
           setTimeout(() => {
+            that.$refs.supermapDialog.clearM(false)
+            that.$refs.supermapDialog.clearM(true)
             that.$refs.supermapDialog1.setMarkers([markersMap])
           }, 2000)
         }