|
@@ -1282,10 +1282,6 @@ export default {
|
|
|
getUserOrgStoreList() {
|
|
getUserOrgStoreList() {
|
|
|
this.storeType = localStorage.getItem('storeType');
|
|
this.storeType = localStorage.getItem('storeType');
|
|
|
this.endShow = false;
|
|
this.endShow = false;
|
|
|
- if (this.refreshing) {
|
|
|
|
|
- this.list = [];
|
|
|
|
|
- this.refreshing = false;
|
|
|
|
|
- }
|
|
|
|
|
var that = this;
|
|
var that = this;
|
|
|
this.disabled = true;
|
|
this.disabled = true;
|
|
|
this.toastLoading(0, '加载中...', true);
|
|
this.toastLoading(0, '加载中...', true);
|
|
@@ -1303,6 +1299,9 @@ export default {
|
|
|
genDate: this.genDate,
|
|
genDate: this.genDate,
|
|
|
}).then((res) => {
|
|
}).then((res) => {
|
|
|
this.disabled = false;
|
|
this.disabled = false;
|
|
|
|
|
+ if (this.refreshing) {
|
|
|
|
|
+ this.refreshing = false;
|
|
|
|
|
+ }
|
|
|
this.toastLoading().clear();
|
|
this.toastLoading().clear();
|
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|
|
|
this.loading = false;
|
|
this.loading = false;
|
|
@@ -1330,6 +1329,7 @@ export default {
|
|
|
this.showPopoverZ.push({ showPopover: false });
|
|
this.showPopoverZ.push({ showPopover: false });
|
|
|
});
|
|
});
|
|
|
} else {
|
|
} else {
|
|
|
|
|
+ this.list = [];
|
|
|
this.$toast(res.msg);
|
|
this.$toast(res.msg);
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
@@ -1366,10 +1366,6 @@ export default {
|
|
|
forbidClick: true,
|
|
forbidClick: true,
|
|
|
});
|
|
});
|
|
|
this.endShow = false;
|
|
this.endShow = false;
|
|
|
- if (this.refreshing) {
|
|
|
|
|
- this.list = [];
|
|
|
|
|
- this.refreshing = false;
|
|
|
|
|
- }
|
|
|
|
|
getUserOutPlaList({
|
|
getUserOutPlaList({
|
|
|
lat: that.lat,
|
|
lat: that.lat,
|
|
|
lon: that.lon,
|
|
lon: that.lon,
|
|
@@ -1384,6 +1380,9 @@ export default {
|
|
|
genDate: this.genDate,
|
|
genDate: this.genDate,
|
|
|
}).then((res) => {
|
|
}).then((res) => {
|
|
|
this.disabled = false;
|
|
this.disabled = false;
|
|
|
|
|
+ if (this.refreshing) {
|
|
|
|
|
+ this.refreshing = false;
|
|
|
|
|
+ }
|
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|
|
|
loading3.clear();
|
|
loading3.clear();
|
|
|
this.loading = false;
|
|
this.loading = false;
|
|
@@ -1407,6 +1406,7 @@ export default {
|
|
|
this.showPopoverZ.push({ showPopover: false });
|
|
this.showPopoverZ.push({ showPopover: false });
|
|
|
});
|
|
});
|
|
|
} else {
|
|
} else {
|
|
|
|
|
+ this.list = [];
|
|
|
this.$toast(res.msg);
|
|
this.$toast(res.msg);
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|