彭宇 před 3 roky
rodič
revize
4328ecd528
2 změnil soubory, kde provedl 6 přidání a 6 odebrání
  1. 4 3
      src/views/event.vue
  2. 2 3
      src/views/forest.vue

+ 4 - 3
src/views/event.vue

@@ -769,7 +769,6 @@
             information.isAggregation = false;
             information.icon = "marker";
             that.markersMapList.push(information)
-            that.$refs.supermapNotProcessed.dropLocation(that.information[4].content,that.information[3].content)
             // 查询火点附近摄像头
             selectFjsxt(that.information[3].content,that.information[4].content).then(response => {
               console.log("vv",response.data)
@@ -790,6 +789,8 @@
                 }
               }
               that.$refs.supermapNotProcessed.clearM(false)
+              that.$refs.supermapNotProcessed.controlLevel(10)
+              that.$refs.supermapNotProcessed.dropLocation(information.lng ,information.lat)
               that.$refs.supermapNotProcessed.setMarkers(that.markersMapList)
             })
           }, 1000);
@@ -869,8 +870,8 @@
                   that.markersMapList.push(marke)
                 }
               }
-              that.$refs.supermapNotProcessed.controlLevel(10)
-              that.$refs.supermapNotProcessed.dropLocation(information.lng,information.lat)
+              that.$refs.supermapProcessed.controlLevel(10)
+              that.$refs.supermapProcessed.dropLocation(information.lng,information.lat)
               that.$refs.supermapProcessed.clearM(false)
               that.$refs.supermapProcessed.setMarkers(that.markersMapList)
             })

+ 2 - 3
src/views/forest.vue

@@ -1052,7 +1052,6 @@
                   that.markersMapList.push(marke)
                 }
               }
-            debugger
               that.$refs.supermapNotProcessed.controlLevel(10)
               that.$refs.supermapNotProcessed.dropLocation(information.lng ,information.lat)
               that.$refs.supermapNotProcessed.clearM(false)
@@ -1127,8 +1126,6 @@
             information.isAggregation = false;
             information.icon = "marker";
             that.markersMapList.push(information)
-            that.$refs.supermapNotProcessed.controlLevel(12)
-            that.$refs.supermapNotProcessed.dropLocation(that.information[4].content,that.information[3].content)
             // 查询火点附近摄像头
             selectFjsxt(that.information[3].content,that.information[4].content).then(response => {
               console.log("vv",response.data)
@@ -1149,6 +1146,8 @@
                   that.markersMapList.push(marke)
                 }
               }
+              that.$refs.supermapProcessed.controlLevel(12)
+              that.$refs.supermapProcessed.dropLocation(that.information[4].content,that.information[3].content)
               that.$refs.supermapProcessed.clearM(false)
               that.$refs.supermapProcessed.setMarkers(that.markersMapList)
             })