|
|
@@ -1565,13 +1565,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;
|
|
|
@@ -1609,13 +1605,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;
|
|
|
@@ -1653,13 +1645,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;
|
|
|
@@ -1737,13 +1725,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;
|