KPI => ปรับ load
This commit is contained in:
parent
a04cc7a2e8
commit
1b060856c1
8 changed files with 773 additions and 117 deletions
|
|
@ -59,14 +59,13 @@ async function fetchEvaluation() {
|
|||
.get(config.API.kpiUserEvaluation + `/${id.value}`)
|
||||
.then(async (res) => {
|
||||
const data = await res.data.result;
|
||||
|
||||
store.dataEvaluation = await data;
|
||||
formProfile.status = store.convertStatus(data.evaluationStatus);
|
||||
formProfile.result = store.convertResults(data.evaluationResults);
|
||||
await store.checkCompetency();
|
||||
await store.checkCompetencyDefaultCompetencyLevel();
|
||||
|
||||
fetchProfile(data.profileId);
|
||||
await fetchProfile(data.profileId);
|
||||
|
||||
plannedPoint.value = data.plannedPoint == null ? "" : data.plannedPoint;
|
||||
rolePoint.value = data.rolePoint == null ? "" : data.rolePoint;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue