ปรับ Load รายละเอียดทะเบียนประวัติ
This commit is contained in:
parent
9b4b5010c7
commit
77d8dee255
22 changed files with 468 additions and 190 deletions
|
|
@ -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++
|
||||
});
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue