ปรับ ประเมินบุคคล
This commit is contained in:
parent
55fe5e8651
commit
6de6df947c
4 changed files with 1236 additions and 1106 deletions
|
|
@ -84,15 +84,11 @@ async function updatePaging(newPagination: any, currentPage: number) {
|
|||
await fetchEvaluteList();
|
||||
}
|
||||
|
||||
watch(
|
||||
() => store.filterKeyword,
|
||||
async () => {
|
||||
page.value = 1;
|
||||
pageSize.value = pageSize.value;
|
||||
|
||||
await fetchEvaluteList();
|
||||
}
|
||||
);
|
||||
async function filterFn() {
|
||||
page.value = 1;
|
||||
pageSize.value = pageSize.value;
|
||||
await fetchEvaluteList();
|
||||
}
|
||||
|
||||
/** hook lifecycle*/
|
||||
onMounted(async () => {
|
||||
|
|
@ -147,7 +143,8 @@ onMounted(async () => {
|
|||
outlined
|
||||
v-model="store.filterKeyword"
|
||||
label="ค้นหา"
|
||||
debounce="500"
|
||||
debounce="300"
|
||||
@keydown.enter.prevent="filterFn"
|
||||
>
|
||||
<template v-slot:append>
|
||||
<q-icon name="search" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue