Merge branch 'develop' of https://github.com/Frappet/bma-ehr-frontend into develop
This commit is contained in:
commit
8a0395da63
2 changed files with 7 additions and 7 deletions
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue