clear search

This commit is contained in:
setthawutttty 2025-03-26 10:57:55 +07:00
parent 4d47694ea5
commit 2967faf441
5 changed files with 8 additions and 21 deletions

View file

@ -194,7 +194,6 @@ function toggleModal() {
}
async function addPerson(data: any, type?: string) {
modalPerson.value = false;
dataStore.rowsAdd = data.map((item: any) => ({
profileId: item.personId,
fullname: item.name,
@ -763,9 +762,8 @@ onMounted(() => {
<DialogAddPersonal
title="ผู้ยื่นอุทธรณ์/ร้องทุกข์"
:modal="modalPerson"
v-model:modal="modalPerson"
btn-title="เพิ่มรายชื่อผู้ยื่นอุทธรณ์/ร้องทุกข์"
:close="toggleModal"
:save="addPerson"
:selected-data="mainStore.rowsAdd"
selecetSwitch="single"