This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-08-30 11:16:21 +07:00
parent db60969d3f
commit 2f95271b1b
5 changed files with 139 additions and 99 deletions

View file

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