Merge branch 'develop' of https://github.com/Frappet/bma-ehr-frontend into develop

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-07-08 16:33:03 +07:00
commit 8a0395da63
2 changed files with 7 additions and 7 deletions

View file

@ -207,15 +207,13 @@ watch(
onMounted(async () => {
showLoader();
await Promise.all([
Promise.all([
getCriteria(),
fetchListPlanned(),
fetchListRole(),
fetchAssigned(),
await fetchListPlanned(),
await fetchListRole(),
await fetchAssigned(),
]).finally(() => {
setTimeout(() => {
hideLoader();
}, 1000);
hideLoader();
});
});
</script>

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);