|
@@ -135,14 +135,21 @@ export default {
|
|
|
this.getDataList();
|
|
|
},
|
|
|
getDataList(isTurnPage) {
|
|
|
- const param = this.getFilterItems(isTurnPage);
|
|
|
+ const param = this.getFilterItems(isTurnPage);
|
|
|
this.searched = true;
|
|
|
- api.getLisMappingPage(param).then((res) => {
|
|
|
- if(res.data.code == '0') {
|
|
|
- this.list = res.data.data.records
|
|
|
- }
|
|
|
- this.total = res.data.data.total;
|
|
|
- })
|
|
|
+ const loading = this.$loading({
|
|
|
+ lock: true,
|
|
|
+ text: 'Loading',
|
|
|
+ spinner: 'el-icon-loading',
|
|
|
+ background: 'rgba(0, 0, 0, 0.7)'
|
|
|
+ });
|
|
|
+ api.getLisMappingPage(param).then((res) => {
|
|
|
+ loading.close()
|
|
|
+ if(res.data.code == '0') {
|
|
|
+ this.list = res.data.data.records
|
|
|
+ }
|
|
|
+ this.total = res.data.data.total;
|
|
|
+ })
|
|
|
},
|
|
|
filterDatas() {
|
|
|
this.currentPage = 1;
|