fix load eva

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-04-08 11:41:25 +07:00
parent 7897369ffe
commit 31619f3746

View file

@ -193,7 +193,7 @@ async function confirmApprove() {
data
)
.then(async () => {
updateEvaluationResult();
await updateEvaluationResult();
await nextStep();
modalConfirm.value = false;
})
@ -328,18 +328,18 @@ async function fetchDataSigner() {
});
}
function updateEvaluationResult() {
async function updateEvaluationResult() {
http
.put(config.API.updateEvaluationResult(id.value), {
result: checkBox.value,
})
.then((res) => {
hideLoader();
})
.then(() => {})
.catch((e) => {
messageError($q, e);
})
.finally(() => {});
.finally(() => {
hideLoader();
});
}
onMounted(async () => {