Add not hide grid when paging
This commit is contained in:
@ -198,7 +198,7 @@ export default {
|
||||
chkIsFind(val) {
|
||||
if (val) {
|
||||
this.page = 1;
|
||||
this.search();
|
||||
this.search(false);
|
||||
}
|
||||
},
|
||||
chkBlocId() {
|
||||
@ -265,12 +265,13 @@ export default {
|
||||
value: myColumns,
|
||||
});
|
||||
},
|
||||
async search() {
|
||||
await this.getRowGridData();
|
||||
async search(isPaging) {
|
||||
await this.getRowGridData(isPaging);
|
||||
},
|
||||
async getRowGridData() {
|
||||
this.loadGrid = false;
|
||||
|
||||
async getRowGridData(isPaging) {
|
||||
if(!isPaging) {
|
||||
this.loadGrid = false;
|
||||
}
|
||||
if (
|
||||
this.pageData.blocMstrList.length > 0 &&
|
||||
this.pageData.commCdList.length > 0 &&
|
||||
@ -356,7 +357,7 @@ export default {
|
||||
this.page = pageNum;
|
||||
this.limit = limit;
|
||||
|
||||
this.search();
|
||||
this.search(true);
|
||||
},
|
||||
},
|
||||
};
|
||||
|
Reference in New Issue
Block a user