updated kpi

This commit is contained in:
Warunee Tamkoo 2024-05-09 17:14:21 +07:00
parent a121569433
commit a69d9e331d
8 changed files with 97 additions and 107 deletions

View file

@ -18,10 +18,6 @@ import type {
const dataListCriteria = defineModel<ListCriteria[]>("dataListCriteria", {
required: true,
});
const competencyScore = defineModel("competencyScore", {
type: Number,
default: 0,
});
const sortedDataListCriteria = computed(() => {
return dataListCriteria.value.sort((a, b) => a.level - b.level);
@ -168,7 +164,6 @@ function getData(type: string) {
? (resultAvg / weightAvg) * store.dataEvaluation.capacityPoint
: 0;
// resultEvaluation.value = sum.toFixed(2);
competencyScore.value = sum;
}
});
}