|
@@ -75,6 +75,10 @@ export default {
|
|
|
}
|
|
|
let params = Object.assign(this.params, { pageNo: this.pageNo, pageSize: this.pageSize });
|
|
|
this.status = 'loading';
|
|
|
+ uni.showLoading({
|
|
|
+ title:'加载中',
|
|
|
+ mask:true
|
|
|
+ })
|
|
|
queryCustomerPage(params).then(res => {
|
|
|
if (res.status == 200) {
|
|
|
if (this.pageNo > 1) {
|
|
@@ -94,6 +98,7 @@ export default {
|
|
|
this.totalNum = 0
|
|
|
this.noDataText = res.message ? res.message : '网络似乎出错了,请稍后再试'
|
|
|
}
|
|
|
+ uni.hideLoading();
|
|
|
this.noDataText = '暂无客户'
|
|
|
this.scrollTop = 0;
|
|
|
});
|