แก้ไย บันทึกแก้ไขปฏิทินวันทำงาน
This commit is contained in:
parent
c134530d5c
commit
4960a0d960
2 changed files with 2 additions and 2 deletions
|
|
@ -55,7 +55,7 @@ async function onClickSave() {
|
||||||
dialogConfirm($q, async () => {
|
dialogConfirm($q, async () => {
|
||||||
console.log(body);
|
console.log(body);
|
||||||
|
|
||||||
success($q, "บันทึกข้อมูสำเร็จ");
|
success($q, "บันทึกข้อมูลสำเร็จ");
|
||||||
props.close?.();
|
props.close?.();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -73,7 +73,7 @@ function save() {
|
||||||
dialogConfirm($q, async () => {
|
dialogConfirm($q, async () => {
|
||||||
showLoader();
|
showLoader();
|
||||||
await http
|
await http
|
||||||
.post(config.API.leaveWorkByid(detailByid.value.profileId), {
|
.put(config.API.leaveWorkByid(detailByid.value.profileId), {
|
||||||
work: dateWork.value,
|
work: dateWork.value,
|
||||||
})
|
})
|
||||||
.then(() => {
|
.then(() => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue