updated kpi
This commit is contained in:
parent
a121569433
commit
a69d9e331d
8 changed files with 97 additions and 107 deletions
|
|
@ -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;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue