อัตรากำลังลูกจ้างประจำ ฯ => fix bug

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-08-16 11:12:06 +07:00
parent df481043b1
commit 722794a27e
5 changed files with 49 additions and 29 deletions

View file

@ -123,10 +123,10 @@ function onClickMovePos() {
showLoader();
await http
.post(config.API.orgPosMoveEmp, body)
.then(() => {
props.fetchDataTree?.(store.activeId);
.then(async () => {
await props.fetchDataTree?.(store.activeId);
await success($q, "ย้ายตำแหน่งสำเร็จ");
modal.value = false;
success($q, "ย้ายตำแหน่งสำเร็จ");
})
.catch((err) => {
messageError($q, err);