修改table Loading 所绑定的值

This commit is contained in:
zhangyu
2020-08-04 09:30:32 +08:00
parent 0bf81a7797
commit 3777093126

View File

@@ -62,7 +62,7 @@
</div> </div>
<alertMessageTable <alertMessageTable
:tableData="storedScreanTableData" :tableData="storedScreanTableData"
:loading="loading" :loading="loadingTable"
:tableHeight="'95%'" :tableHeight="'95%'"
:tableId="''" :tableId="''"
:projectAlertId="'tableContainer'+chartIndex" :projectAlertId="'tableContainer'+chartIndex"
@@ -165,7 +165,7 @@ export default {
pageSize: 50, pageSize: 50,
total: 0 total: 0
}, },
loading:false,// 表格数据加载loading loadingTable:false,// 表格数据加载loading
screenPageObj:{ screenPageObj:{
pageNo: 1, pageNo: 1,
pageSize: 50, pageSize: 50,
@@ -508,7 +508,7 @@ export default {
}, },
getAlertList: function (filterType,isPreview=false,chartInfo) { getAlertList: function (filterType,isPreview=false,chartInfo) {
this.resize(); this.resize();
this.loading=true; this.loadingTable=true;
this.isPreview = isPreview; this.isPreview = isPreview;
let queryParam={ let queryParam={
pageSize:this.pageObj.pageSize, pageSize:this.pageObj.pageSize,
@@ -582,7 +582,7 @@ export default {
this.divFirstShow = true; this.divFirstShow = true;
this.firstShow = true; // 展示操作按键 this.firstShow = true; // 展示操作按键
this.loading=false; this.loadingTable=false;
this.endLoading(filterType); this.endLoading(filterType);
}else{ }else{
this.isError = true; this.isError = true;