Browse Source

计划内地图查看门店问题优化

zhujindu 5 months ago
parent
commit
170c5adc30
1 changed files with 10 additions and 2 deletions
  1. 10 2
      src/views/deviceOutside/rangeStore.vue

+ 10 - 2
src/views/deviceOutside/rangeStore.vue

@@ -125,6 +125,7 @@
         @zoomend="zoomend"
         :min-zoom="12"
         @ready="handler"
+        @reload="reload"
         ref="myMap">
         <!--        :minClusterSize="minClusterSize"-->
         <bml-marker-clusterer :averageCenter="false" :styles="styless">
@@ -877,7 +878,7 @@ export default {
     this.getStoreLabels();
     this.$nextTick(() => {
       // this.onClickLeft1();
-      this.getposition();
+      // this.getposition();
     });
   },
   methods: {
@@ -1079,6 +1080,9 @@ export default {
         this.listData = this.list;
       }
     },
+    reload() {
+      debugger;
+    },
     handler({ BMap, map }) {
       this.mapk = map;
       this.mapks = BMap;
@@ -1109,6 +1113,7 @@ export default {
       this.getMapposition(e, '1', this.$route.query.tabVal);
     },
     getMapposition(e, type, listType) {
+      debugger;
       var that = this;
       var typeList = -1;
       var input = [e.target.re.lat, e.target.re.lng];
@@ -1307,7 +1312,8 @@ export default {
                   that.latmy = location.lat;
                   that.lonmy = location.lon;
                   that.mapk.centerAndZoom(new BMap.Point(location.lon, location.lat), 18);
-                  that.getUserOutPlaList('2');
+                  this.onSearch();
+                  // that.getUserOutPlaList('2');
                   // setTimeout(()=>{
                   //   that.getUserOutPlaList()
                   // },2000)
@@ -1354,6 +1360,7 @@ export default {
       this.getpointList(row);
     },
     getpointList(val) {
+      debugger;
       var that = this;
       let loading3 = this.$toast.loading({
         duration: 0,
@@ -1658,6 +1665,7 @@ export default {
           }
         });
       } else {
+        debugger;
         getUserOrgStoreList({
           type: 2,
           lon: this.lon,