filter keyword
This commit is contained in:
parent
c7aa139d74
commit
039d4081d6
2 changed files with 20 additions and 18 deletions
|
|
@ -120,6 +120,12 @@ async function fetchDataTable(id: string, level: number, action: boolean) {
|
|||
});
|
||||
}
|
||||
|
||||
async function filterKeyword() {
|
||||
reqMaster.page = 1;
|
||||
action1.value === false &&
|
||||
fetchDataTable(reqMaster.id, reqMaster.type, false);
|
||||
}
|
||||
|
||||
/**lifecycle Hook*/
|
||||
onMounted(async () => {
|
||||
const id =
|
||||
|
|
@ -197,6 +203,7 @@ watch(
|
|||
v-model:reqMaster="reqMaster"
|
||||
v-model:totalPage="totalPage"
|
||||
v-model:posMaster="posMaster"
|
||||
:filterKeyword="filterKeyword"
|
||||
/>
|
||||
|
||||
<q-banner v-else class="q-pa-lg col-12 text-center">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue