添加加载中。

feature_0521
kevin jiang 5 years ago
parent 0906db435f
commit ee145885f2

@ -14,6 +14,7 @@
</Row> </Row>
<Table <Table
:loading="loading"
:columns="columns1" :columns="columns1"
:data="data1" :data="data1"
style="margin-top: 20px;" style="margin-top: 20px;"
@ -206,7 +207,7 @@ import staff from "../../services/staff/staff";
showStoreName: '', showStoreName: '',
showStoreCode: '', showStoreCode: '',
qrCodeImage: '', qrCodeImage: '',
loading: true, loading: false,
spuLoading: false, spuLoading: false,
// //
total: 0, total: 0,
@ -308,6 +309,7 @@ import staff from "../../services/staff/staff";
}, },
listOfLogistics() { listOfLogistics() {
this.loading = true;
let that = this; let that = this;
let request = { let request = {
shopId: that.selectedStore, shopId: that.selectedStore,
@ -315,6 +317,7 @@ import staff from "../../services/staff/staff";
pageSize: that.pageSize, pageSize: that.pageSize,
}; };
staff.getStaffList(request, function (data) { staff.getStaffList(request, function (data) {
that.loading = false;
data = data.data; data = data.data;
if (data.code == "0000") { if (data.code == "0000") {
@ -331,7 +334,9 @@ import staff from "../../services/staff/staff";
} }
that.data1 = datas.records; that.data1 = datas.records;
} }
}) }, function () {
that.loading = false;
});
}, },
// //
downRegionData: function () { downRegionData: function () {

Loading…
Cancel
Save