fix kpi
This commit is contained in:
parent
6fc102a10f
commit
3573bff5f3
1 changed files with 5 additions and 6 deletions
|
|
@ -67,10 +67,11 @@ async function fetchEvaluation() {
|
|||
.get(config.API.kpiEvaluation + `/${id.value}`)
|
||||
.then(async (res) => {
|
||||
const data = await res.data.result;
|
||||
store.dataEvaluation = res.data.result;
|
||||
formProfile.status = await store.convertStatus(data.evaluationStatus);
|
||||
formProfile.result = await store.convertResults(data.evaluationResults);
|
||||
store.dataEvaluation = await res.data.result;
|
||||
formProfile.status = store.convertStatus(data.evaluationStatus);
|
||||
formProfile.result = store.convertResults(data.evaluationResults);
|
||||
store.checkCompetencyDefaultCompetencyLevel();
|
||||
await store.checkStep();
|
||||
})
|
||||
.catch((e) => {
|
||||
messageError($q, e);
|
||||
|
|
@ -88,8 +89,6 @@ async function getProfile() {
|
|||
if (data.avatarName) {
|
||||
await fetchProfile(data.profileId, data.avatarName);
|
||||
}
|
||||
|
||||
await store.checkStep();
|
||||
})
|
||||
.catch((e) => {
|
||||
messageError($q, e);
|
||||
|
|
@ -464,7 +463,7 @@ async function fetchProfileEvaluator(id: string) {
|
|||
|
||||
onMounted(async () => {
|
||||
showLoader();
|
||||
store.isUpdate = await false;
|
||||
store.isUpdate = false;
|
||||
await getAll();
|
||||
});
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue