ปรับฟอร์ม kpi
This commit is contained in:
parent
d642f663f3
commit
6c10587139
6 changed files with 43 additions and 38 deletions
|
|
@ -115,7 +115,7 @@ function onAdd(type: string) {
|
|||
|
||||
const rows = ref<any>([]);
|
||||
const lists = ref<any>([]);
|
||||
const resultEvaluation = ref<string | 0>(0);
|
||||
// const resultEvaluation = ref<string | 0>(0);
|
||||
|
||||
function getData(type: string) {
|
||||
http
|
||||
|
|
@ -161,7 +161,7 @@ function getData(type: string) {
|
|||
weightAvg != 0
|
||||
? (resultAvg / weightAvg) * store.dataEvaluation.capacityPoint
|
||||
: 0;
|
||||
resultEvaluation.value = sum.toFixed(2);
|
||||
// resultEvaluation.value = sum.toFixed(2);
|
||||
competencyScore.value = sum;
|
||||
}
|
||||
});
|
||||
|
|
@ -239,7 +239,7 @@ onMounted(() => {
|
|||
</div>
|
||||
|
||||
<q-space />
|
||||
<q-btn
|
||||
<!-- <q-btn
|
||||
v-if="!isReadonly"
|
||||
flat
|
||||
round
|
||||
|
|
@ -250,7 +250,7 @@ onMounted(() => {
|
|||
@click="onEvaluate(item.id)"
|
||||
>
|
||||
<q-tooltip>ประเมิน</q-tooltip>
|
||||
</q-btn>
|
||||
</q-btn> -->
|
||||
</div>
|
||||
</q-card-section>
|
||||
<q-card-section class="q-pa-sm">
|
||||
|
|
@ -359,14 +359,6 @@ onMounted(() => {
|
|||
v-model:dataListCriteria="dataListCriteria"
|
||||
:get-data="getData"
|
||||
/>
|
||||
|
||||
<div class="row text-body2 text-weight-bold justify-center">
|
||||
<span
|
||||
>สรุปผลการประเมินสมรรถนะ (คะแนนเต็ม
|
||||
{{ store.dataEvaluation.capacityPoint }} คะแนน)</span
|
||||
>
|
||||
<div class="text-primary q-pl-md">{{ resultEvaluation }}</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue