Browse Source

Merge branch 'feature_20250827_地图添加搜索当前范围功能' into uat(dev)

zhujindu 2 months ago
parent
commit
8ed9d0077e
1 changed files with 12 additions and 28 deletions
  1. 12 28
      src/views/deviceOutside/rangeStore.vue

+ 12 - 28
src/views/deviceOutside/rangeStore.vue

@@ -1587,13 +1587,9 @@ export default {
               this.$toast('附近无客户信息');
               this.show = false;
             }
-            if (res.total > 50) {
-              this.msg = this.setMapRangeTitle(res.total);
-              this.msgshow = true;
-              this.show = false;
-            } else {
-              this.msgshow = false;
-            }
+            this.msg = this.setMapRangeTitle(res.total);
+            this.msgshow = true;
+            this.show = false;
             if (this.first < 2) {
               this.zoom = 18;
               this.first = 2;
@@ -1631,13 +1627,9 @@ export default {
               this.$toast('附近无客户信息');
               this.show = false;
             }
-            if (res.total > 50) {
-              this.msg = this.setMapRangeTitle(res.total);
-              this.msgshow = true;
-              this.show = false;
-            } else {
-              this.msgshow = false;
-            }
+            this.msg = this.setMapRangeTitle(res.total);
+            this.msgshow = true;
+            this.show = false;
             if (this.first < 2) {
               this.zoom = 18;
               this.first = 2;
@@ -1675,13 +1667,9 @@ export default {
               this.$toast('附近无客户信息');
               this.show = false;
             }
-            if (res.total > 50) {
-              this.msg = this.setMapRangeTitle(res.total);
-              this.msgshow = true;
-              this.show = false;
-            } else {
-              this.msgshow = false;
-            }
+            this.msg = this.setMapRangeTitle(res.total);
+            this.msgshow = true;
+            this.show = false;
             if (this.first < 2) {
               this.zoom = 18;
               this.first = 2;
@@ -1759,13 +1747,9 @@ export default {
               this.$toast('附近无客户信息');
               this.show = false;
             }
-            if (res.total > 50) {
-              this.msg = this.setMapRangeTitle(res.total);
-              this.msgshow = true;
-              this.show = false;
-            } else {
-              this.msgshow = false;
-            }
+            this.msg = this.setMapRangeTitle(res.total);
+            this.msgshow = true;
+            this.show = false;
             if (this.first < 2) {
               this.zoom = 18;
               this.first = 2;