แก้ไขเมื่อกดยื่นในลาให้กลับไปหน้าหลัก
This commit is contained in:
parent
b14413eb98
commit
95381288c7
1 changed files with 3 additions and 1 deletions
|
|
@ -254,13 +254,15 @@ function onConfirm(id: string) {
|
|||
await http
|
||||
.put(config.API.leaveUserSendId(personalId.value), { reason: "" })
|
||||
.then(() => {
|
||||
router.push("/leave");
|
||||
success($q, "ยื่นใบลาสำเร็จ");
|
||||
// router.push("/leave");
|
||||
})
|
||||
.catch((e: any) => {
|
||||
messageError($q, e);
|
||||
})
|
||||
.finally(() => {
|
||||
router.push("/leave");
|
||||
fetchDataDetail(personalId.value);
|
||||
hideLoader();
|
||||
});
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue