แก้โหลด kpi

This commit is contained in:
setthawutttty 2025-07-08 16:31:55 +07:00
parent 42bfe327c4
commit eb12094af7
2 changed files with 7 additions and 7 deletions

View file

@ -178,6 +178,7 @@ function onSubmit() {
}
async function getOrgOp() {
showLoader()
await http
.get(config.API.Kpiorg + `/${store.dataProfile.profileId}`)
.then((res) => {
@ -213,6 +214,7 @@ async function getOrgOp() {
name: `${i.prefix}${i.firstName} ${i.lastName}`,
}))
.find((i: any) => i.id == store.dataEvaluation.commanderHighId);
hideLoader()
})
.catch((e) => {
messageError($q, e);