Add not hide grid when paging
This commit is contained in:
@ -211,7 +211,7 @@ export default {
|
||||
}
|
||||
},
|
||||
chkIsFind(val) {
|
||||
if (val) this.search();
|
||||
if (val) this.search(false);
|
||||
},
|
||||
fabId(val) { },
|
||||
fabNm(val) { },
|
||||
@ -371,8 +371,8 @@ export default {
|
||||
}
|
||||
await this.gridInit();
|
||||
},
|
||||
async search() {
|
||||
await this.getRowGridData();
|
||||
async search(isPaging) {
|
||||
await this.getRowGridData(isPaging);
|
||||
this.setPageData({
|
||||
isFind: false,
|
||||
});
|
||||
@ -725,9 +725,10 @@ export default {
|
||||
|
||||
this.getRowGridData();
|
||||
},
|
||||
async getRowGridData() {
|
||||
this.loadGrid = false;
|
||||
|
||||
async getRowGridData(isPaging) {
|
||||
if(!isPaging) {
|
||||
this.loadGrid = false;
|
||||
}
|
||||
var res = await this.postApiReturn({
|
||||
apiKey: 'selectEnrgEffcEqpmDetlMntr',
|
||||
resKey: 'eqpmDetlData',
|
||||
@ -806,7 +807,7 @@ export default {
|
||||
this.page = pageNum;
|
||||
this.limit = limit;
|
||||
|
||||
this.search();
|
||||
this.search(true);
|
||||
},
|
||||
},
|
||||
};
|
||||
|
Reference in New Issue
Block a user