fixing bug

This commit is contained in:
Warunee Tamkoo 2024-06-28 09:25:21 +07:00
parent 080ef0b4e8
commit 700dcaee4a
6 changed files with 143 additions and 160 deletions

View file

@ -185,22 +185,6 @@ watch(
store.indicatorScoreVal =
store.indicatorPercentVal * (store.indicatorScore / 100);
if (store.isUpdate && store.tabMain === "3") {
http
.put(config.API.updatePoint(evaluationId.value), {
totalPoint1: (
store.indicatorPercentVal *
(store.indicatorScore / 100)
).toFixed(2),
summaryPoint: (
store.indicatorScoreVal +
store.competencyScoreVal +
store.devScoreVal
).toFixed(2),
})
.then((res) => {});
}
}
}
);