updated คะแนนประเมินระบบ kpi
This commit is contained in:
parent
1cbaecce8e
commit
1ae9e85af9
3 changed files with 29 additions and 4 deletions
|
|
@ -18,6 +18,10 @@ import type {
|
|||
const dataListCriteria = defineModel<ListCriteria[]>("dataListCriteria", {
|
||||
required: true,
|
||||
});
|
||||
const totalCompetency = defineModel("totalCompetency", {
|
||||
type: Number,
|
||||
default: 0,
|
||||
});
|
||||
|
||||
const sortedDataListCriteria = computed(() => {
|
||||
return dataListCriteria.value.sort((a, b) => a.level - b.level);
|
||||
|
|
@ -159,6 +163,7 @@ function getData(type: string) {
|
|||
? (resultAvg / weightAvg) * store.dataEvaluation.capacityPoint
|
||||
: 0;
|
||||
resultEvaluation.value = sum.toFixed(2);
|
||||
totalCompetency.value = sum;
|
||||
}
|
||||
// end cal summary
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue