updated kpi
This commit is contained in:
parent
a121569433
commit
a69d9e331d
8 changed files with 97 additions and 107 deletions
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
|
|
@ -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