แก้แสดงข้อความกรณียื่นลาซ้ำ

This commit is contained in:
Warunee Tamkoo 2024-01-19 13:40:51 +07:00
parent 19e8059cd8
commit 141c3a92f8
2 changed files with 14 additions and 3 deletions

View file

@ -268,6 +268,7 @@ function onConfirm(id: string) {
await http
.put(config.API.leaveUserSendId(personalId.value), { reason: "" })
.then(() => {
router.push("/leave");
success($q, "ยื่นใบลาสำเร็จ");
})
.catch((e: any) => {
@ -275,7 +276,6 @@ function onConfirm(id: string) {
})
.finally(() => {
hideLoader();
router.push("/leave");
// fetchDataDetail(personalId.value);
});
},