แก้แสดงข้อความกรณียื่นลาซ้ำ
This commit is contained in:
parent
19e8059cd8
commit
141c3a92f8
2 changed files with 14 additions and 3 deletions
|
|
@ -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);
|
||||
});
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue