Pārlūkot izejas kodu

上一页下一页

王通 2 gadi atpakaļ
vecāks
revīzija
10e957dfa9
1 mainītis faili ar 12 papildinājumiem un 4 dzēšanām
  1. 12 4
      src/views/eventdetailsdialog.vue

+ 12 - 4
src/views/eventdetailsdialog.vue

@@ -22,10 +22,10 @@
                         <!-- <el-tooltip class="item" effect="dark" :content="visuForestCloudYuAnBo.reserveName" placement="top-start">
                           <a :href="visuForestCloudYuAnBo.fileUrl" ><span><div style=" width: 50px;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;word-break: keep-all;">{{ visuForestCloudYuAnBo.reserveName }}</div></span></a>
                         </el-tooltip> -->
-                        <el-tooltip 
-                        placement="top" 
-                        popper-class="js-tps" 
-                        :visible-arrow="visuForestCloudYuAnBo.reserveName.length>6" 
+                        <el-tooltip
+                        placement="top"
+                        popper-class="js-tps"
+                        :visible-arrow="visuForestCloudYuAnBo.reserveName.length>6"
                   >
                   <div slot="content" class="leader-info-container">
                     <div class="leader-info-list-con" v-show="visuForestCloudYuAnBo.reserveName.length>6">
@@ -2206,6 +2206,7 @@ export default {
         setTimeout(() => {
           that.$refs.supermapDialog.dynamicPlotting()//弹出动态绘制窗口,防止截图位置改变
           that.$refs.supermapDialog.clearM(false)
+          that.$refs.supermapDialog.clearM(true)
           that.$refs.supermapDialog.setMarkersRadius([markersMap])
           that.$refs.supermapDialog.dropLocation10(res.data.catalogue.latitude, res.data.catalogue.longitude)
         }, 2000)
@@ -2235,6 +2236,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.supermapDialog.setMarkers([markersMap])
           }, 2000)
         }
@@ -2291,9 +2294,12 @@ export default {
         }
         setTimeout(() => {
           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.supermapDialog.setMarkersRadius([markersMap])
           } else {
+            that.$refs.supermapDialog.clearM(false)
+            that.$refs.supermapDialog.clearM(true)
             that.$refs.supermapDialog.setMarkers([markersMap])
           }
           that.$refs.supermapDialog.dropLocation10(res.data.catalogue.latitude, res.data.catalogue.longitude)
@@ -2323,6 +2329,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.supermapDialog.setMarkers([markersMap])
           }, 2000)
         }