|
|
@@ -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;
|