Update paging disable style + Fix bug line chart + Fix paging function hide grid
This commit is contained in:
@ -282,13 +282,13 @@ export default {
|
||||
changeGrid: async function (pageNum, limit) {
|
||||
this.page = pageNum;
|
||||
this.limit = limit;
|
||||
this.search();
|
||||
this.getGridData(true);
|
||||
},
|
||||
async init() {
|
||||
await this.getSelectValueList();
|
||||
await this.setQueryParams();
|
||||
this.gridInit();
|
||||
await this.getGridData();
|
||||
await this.getGridData(false);
|
||||
|
||||
this.initedFlag = true;
|
||||
},
|
||||
@ -588,8 +588,10 @@ export default {
|
||||
value: columnList,
|
||||
});
|
||||
},
|
||||
async getGridData() {
|
||||
this.loadGrid = false;
|
||||
async getGridData(isPaging) {
|
||||
if(!isPaging) {
|
||||
this.loadGrid = false;
|
||||
}
|
||||
this.enrgUseMainIdxDesc = [];
|
||||
var apiKey = null;
|
||||
var apiKey2 = null;
|
||||
@ -651,7 +653,7 @@ export default {
|
||||
this.makeTooltip();
|
||||
},
|
||||
async search() {
|
||||
await this.getGridData();
|
||||
await this.getGridData(false);
|
||||
},
|
||||
async makeTooltip() {
|
||||
var gdIdxList = [
|
||||
|
Reference in New Issue
Block a user