Add not hide grid when paging

This commit is contained in:
Michael
2025-08-21 15:49:38 +09:00
parent af3a7c78f2
commit ee1bd87817
5 changed files with 41 additions and 35 deletions

View File

@ -143,7 +143,7 @@ export default {
chkIsFind(val) {
if (val) {
this.page = 1;
this.search();
this.search(false);
}
},
chkExecRsltCd() {
@ -249,14 +249,16 @@ export default {
this.loadGrid = true;
},
async search() {
await this.getRowGridData();
async search(isPaging) {
await this.getRowGridData(isPaging);
await this.setPageData({
isFind: false,
});
},
async getRowGridData() {
this.loadGrid = false;
async getRowGridData(isPaging) {
if(!isPaging) {
this.loadGrid = false;
}
// this.setGridData({
// gridKey: this.gridName,
// value: [],
@ -369,7 +371,7 @@ export default {
this.page = pageNum;
this.limit = limit;
this.search();
this.search(true);
},
},
};