แก้ไย บันทึกแก้ไขปฏิทินวันทำงาน

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-01-09 15:49:50 +07:00
parent c134530d5c
commit 4960a0d960
2 changed files with 2 additions and 2 deletions

View file

@ -55,7 +55,7 @@ async function onClickSave() {
dialogConfirm($q, async () => {
console.log(body);
success($q, "บันทึกข้อมูสำเร็จ");
success($q, "บันทึกข้อมูสำเร็จ");
props.close?.();
});
}

View file

@ -73,7 +73,7 @@ function save() {
dialogConfirm($q, async () => {
showLoader();
await http
.post(config.API.leaveWorkByid(detailByid.value.profileId), {
.put(config.API.leaveWorkByid(detailByid.value.profileId), {
work: dateWork.value,
})
.then(() => {