รักษาการในตำแหน่ง

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-12-03 14:06:09 +07:00
parent 93fd5012eb
commit 35422c6963
3 changed files with 47 additions and 22 deletions

View file

@ -41,7 +41,7 @@ const {
messageError,
dialogMessageNotify,
success,
filterTableQuasar,
onSearchDataTable,
} = useCounterMixin();
/**
@ -149,11 +149,11 @@ const pagination = ref({
rowsPerPage: reqMaster.value.pageSize,
});
function onSerachDataTable() {
rows.value = filterTableQuasar(
function onSearchTable() {
rows.value = onSearchDataTable(
filterTable.value,
dataMain.value,
columns.value ?? []
columns.value ? columns.value : []
);
}
@ -209,7 +209,7 @@ watch(
dense
v-model="filterTable"
label="ค้นหา"
@keydown.enter="onSerachDataTable"
@keydown.enter="onSearchTable"
>
<template v-slot:append>
<q-icon name="search" />