ปรับ Load รายละเอียดทะเบียนประวัติ

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-01-12 11:10:42 +07:00
parent 9b4b5010c7
commit 77d8dee255
22 changed files with 468 additions and 190 deletions

View file

@ -1329,14 +1329,14 @@ onMounted(async () => {
});
const fetchDataSelector = async () => {
showLoader();
// showLoader();
await fetchEmployeePosition();
await fetchEmployeePositionSide();
await fetchEmployeeLevel();
await fetchEmployeeGroup();
await fetchAgency();
await nodeTree();
hideLoader();
// hideLoader();
};
//
const fetchEmployeePosition = async () => {
@ -1445,7 +1445,7 @@ const nodeTree = async () => {
messageError($q, e);
})
.finally(() => {
hideLoader();
store.isLoad++
});
};
@ -1575,7 +1575,7 @@ const fetchData = async () => {
messageError($q, e);
})
.finally(() => {
hideLoader();
store.isLoad++
});
}
};