ปรับ ประเมินบุคคล

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-01-10 18:00:30 +07:00
parent 55fe5e8651
commit 6de6df947c
4 changed files with 1236 additions and 1106 deletions

View file

@ -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" />