Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 2m39s

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2026-05-20 15:59:29 +07:00
commit 15fde564ed
2 changed files with 7 additions and 6 deletions

View file

@ -232,7 +232,8 @@ function close() {
async function getDataTable(id: string, level: number = 0) {
showLoader();
positionNo.value = [];
rowsData.value = [];
const body = {
node: level,
nodeId: id,
@ -265,6 +266,7 @@ async function getDataTable(id: string, level: number = 0) {
posMasterNo:
e.orgShortname +
(e.posMasterNoPrefix != null ? e.posMasterNoPrefix : "") +
" " +
e.posMasterNo +
(e.posMasterNoSuffix != null ? e.posMasterNoSuffix : ""),
positionName: e.positionName,
@ -302,9 +304,7 @@ async function getDataTable(id: string, level: number = 0) {
messageError($q, err);
})
.finally(() => {
setTimeout(() => {
hideLoader();
}, 1000);
hideLoader();
});
}

View file

@ -14,9 +14,10 @@ export const useSelectOrgStore = defineStore("selectorg", () => {
isPosition: e.isPosition,
posMasterNo:
e.orgShortname +
(e.posMasterNoPrefix != null ? e.posMasterNoPrefix : " ") +
(e.posMasterNoPrefix != null ? e.posMasterNoPrefix : "") +
" " +
e.posMasterNo +
(e.posMasterNoSuffix != null ? e.posMasterNoSuffix : " "),
(e.posMasterNoSuffix != null ? e.posMasterNoSuffix : ""),
positionName: e.positionName,
posTypeName: e.posTypeName,
posLevelName: e.posLevelName,