แก้ popup ไม่เป็น false

This commit is contained in:
setthawutttty 2024-12-19 16:31:59 +07:00
parent d3d09809d6
commit 26917fc7dc
4 changed files with 4 additions and 5 deletions

View file

@ -345,6 +345,7 @@ function emitPerson(data: PersonsArray[]) {
persons: dataMapId,
})
.then(async(res) => {
modalPopup.value = false
success($q, "ส่งไปพักราชการสำเร็จ");
// router.push(`/discipline/investigatefacts`);
await fetchDetailDisciplinary();
@ -354,7 +355,6 @@ function emitPerson(data: PersonsArray[]) {
})
.finally(() => {
hideLoader();
fetchDetailDisciplinary();
});
}

View file

@ -86,7 +86,6 @@ function onclickSend() {
$q,
async () => {
emit("returnPerson", selected.value);
modal.value = false;
},
`ยืนยันการ${props.title}`,
`ต้องการยืนยันการ${props.title}หรือไม่`