clear search
This commit is contained in:
parent
4d47694ea5
commit
2967faf441
5 changed files with 8 additions and 21 deletions
|
|
@ -208,7 +208,6 @@ function upLoadFileDoc() {
|
|||
* @param data ข้อมูลรายชื่อผู้ถูกสอบสวนเป็น array
|
||||
*/
|
||||
async function addPerson(data: any, type?: string) {
|
||||
toggleModal();
|
||||
changeFormData();
|
||||
await mainStore.fetchData(data, type);
|
||||
}
|
||||
|
|
@ -1109,9 +1108,8 @@ onMounted(async () => {
|
|||
<!-- Popup ผู้ถูกร้องเรียน -->
|
||||
<DialogAddPersonal
|
||||
title="ผู้ถูกร้องเรียน"
|
||||
:modal="modal"
|
||||
v-model:modal="modal"
|
||||
btn-title="เพิ่มรายชื่อผู้ถูกร้องเรียน"
|
||||
:close="toggleModal"
|
||||
:save="addPerson"
|
||||
:selected-data="mainStore.rowsAdd"
|
||||
/>
|
||||
|
|
|
|||
|
|
@ -310,7 +310,6 @@ function confirmDelete(id: string) {
|
|||
async function addPerson(data: any, type: string) {
|
||||
await mainStore.fetchData(data, type);
|
||||
changeFormData();
|
||||
toggleModal();
|
||||
}
|
||||
|
||||
/** ดึงข้อมูล active */
|
||||
|
|
@ -1760,9 +1759,8 @@ onMounted(async () => {
|
|||
|
||||
<DialogAddPersonal
|
||||
title="ผู้ถูกร้องเรียน"
|
||||
:modal="modalPerson"
|
||||
v-model:modal="modalPerson"
|
||||
btn-title="เพิ่มรายชื่อผู้ถูกร้องเรียน"
|
||||
:close="toggleModal"
|
||||
:selected-data="mainStore.rowsAdd"
|
||||
:save="addPerson"
|
||||
/>
|
||||
|
|
|
|||
|
|
@ -435,7 +435,6 @@ function returnCount(num: number) {
|
|||
async function addPerson(data: any, type?: string) {
|
||||
await mainStore.fetchData(data, type);
|
||||
changeFormData();
|
||||
toggleModal();
|
||||
}
|
||||
|
||||
/** function เรียกรายชื่อหน่วยงาน*/
|
||||
|
|
@ -1986,9 +1985,8 @@ onMounted(async () => {
|
|||
<!-- Popup ผู้ถูกร้องเรียน -->
|
||||
<DialogAddPersonal
|
||||
title="ผู้ถูกร้องเรียน"
|
||||
:modal="modalPerson"
|
||||
v-model:modal="modalPerson"
|
||||
btn-title="เพิ่มรายชื่อผู้ถูกสอบสวน"
|
||||
:close="toggleModal"
|
||||
:save="addPerson"
|
||||
:selected-data="mainStore.rowsAdd"
|
||||
/>
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue