แก้ วินัย เพิ่ม api

This commit is contained in:
setthawutttty 2024-01-03 13:50:17 +07:00
parent fc55ffc928
commit 142fc30d8b
13 changed files with 134 additions and 145 deletions

View file

@ -43,7 +43,8 @@ async function getList() {
config.API.complaintList(
page.value,
rowsPerPage.value,
filterKeyword.value
filterKeyword.value,
statusFilter.value
)
)
//
@ -69,9 +70,6 @@ function filterFn() {
getList();
}
function dataUpdate() {
console.log(statusFilter.value);
}
function resetFilter() {
filterKeyword.value = "";
@ -104,7 +102,7 @@ onMounted(async () => {
option-label="name"
option-value="id"
:options="complainstStore.statusOptions"
@update:model-value="dataUpdate"
@update:model-value="getList()"
/>
</div>
<div>