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

@ -373,19 +373,7 @@ watch(
</td>
</q-tr>
</template>
<template v-slot:bottom>
<span class="text-body2 text-weight-bold"
>รวมผลการประเม (อยละ)</span
>
<div class="text-primary q-pl-md">{{ evaluationTotal }}</div>
</template>
</q-table>
<!-- <div class="row text-body2 text-weight-bold q-pa-md">
<div class="col-12 text-center row justify-center">
<span>รวมผลการประเม (อยละ)</span>
<div class="text-primary q-pl-md">{{ evaluationTotal }}</div>
</div>
</div> -->
</q-card-section>
</q-card>

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;
}
});
}