fix loading add person of retire, fix bug display point of IDP

This commit is contained in:
Warunee Tamkoo 2025-06-20 10:10:18 +07:00
parent a6c90edfd3
commit 88f91dd74e
3 changed files with 14 additions and 0 deletions

View file

@ -26,6 +26,7 @@ const development = ref<any[]>([]);
const reasonDevelopment70 = ref<string>("");
const reasonDevelopment20 = ref<string>("");
const reasonDevelopment10 = ref<string>("");
const point = ref<number>(0);
const checkOtherBox11 = computed<boolean>(() => {
return development.value.includes("other1");
@ -118,6 +119,8 @@ function fetchDetailIndividual() {
? data.reasonDevelopment10
: "";
point.value = data.point;
const achievements = ["10", "5", "0"];
rows.value = achievements.map((i) => ({
achievement: i,
@ -320,6 +323,13 @@ watch(
</q-table>
</div>
</div>
<div class="row q-pa-sm justify-center">
<span class="text-body2 text-weight-bold">ผลการพฒนา </span>
<div class="text-primary q-pl-md">
{{ point }}
</div>
</div>
</q-card-section>
</q-card>
</q-dialog>