fix bug
This commit is contained in:
parent
db60969d3f
commit
2f95271b1b
5 changed files with 139 additions and 99 deletions
|
|
@ -89,9 +89,9 @@ const router = useRouter();
|
|||
async function fetchEvaluation() {
|
||||
showLoader();
|
||||
await http
|
||||
.get(config.API.kpiEvaluationUser + `/${id.value}`)
|
||||
.get(config.API.kpiEvaluationUser + `/admin/${id.value}`)
|
||||
.then(async (res) => {
|
||||
const data = res.data.result;
|
||||
const data = await res.data.result;
|
||||
store.dataEvaluation = await data;
|
||||
formProfile.status = await store.convertStatus(data.evaluationStatus);
|
||||
formProfile.result = await store.convertResults(data.evaluationResults);
|
||||
|
|
@ -240,7 +240,7 @@ async function getProfile() {
|
|||
.then(async (res) => {
|
||||
const data = await res.data.result;
|
||||
store.dataProfile = await data;
|
||||
await setTimeout(() => {
|
||||
setTimeout(() => {
|
||||
store.checkStep();
|
||||
}, 1000);
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue