update KPI

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-11-28 13:44:28 +07:00
parent 48cdac3326
commit 7084c9e839
38 changed files with 473 additions and 416 deletions

View file

@ -113,7 +113,7 @@ const question9Desc = ref<string>(
const question9Score = ref<number>(0);
const question9Answer = ref<any>(["อยาก", "ไม่อยาก (ระบุ)"]);
// set 10
const question10Desc = ref<string>("ความคิดเห็นและข้อเสนอแนะอื่น ๆ");
const question10Desc = ref<string>("ความคิดเห็นและข้อเสนอแนะอื่นๆ");
const question10Answer = ref<any>([]);
const question10Score = ref<number>(0);

View file

@ -166,7 +166,7 @@ async function fecthquestion() {
}));
question1Answer.value = Answer1;
question1Answer.value.push({
label: "อื่น ๆ (ระบุ)",
label: "อื่นๆ (ระบุ)",
value: Answer1.length,
});
question2Answer.value = data.question2Answer.map(
@ -181,7 +181,7 @@ async function fecthquestion() {
}));
question3Answer.value = Answer3;
question3Answer.value.push({
label: "อื่น ๆ (ระบุ)",
label: "อื่นๆ (ระบุ)",
value: Answer3.length,
});
const Answer4 = data.question4Answer.map((e: any, index: number) => ({
@ -190,7 +190,7 @@ async function fecthquestion() {
}));
question4Answer.value = Answer4;
question4Answer.value.push({
label: "อื่น ๆ (ระบุ)",
label: "อื่นๆ (ระบุ)",
value: Answer4.length,
});
question7Answer.value = data.question7Answer.map(

View file

@ -307,7 +307,7 @@ async function clickCancelConditions() {
conditions.value = false;
}
/** Function บันทึก รายการตรวจสอบเงื่อนไขต่าง ๆ*/
/** Function บันทึก รายการตรวจสอบเงื่อนไขต่างๆ*/
function onSubmitConditions() {
dialogConfirm($q, () => {
showLoader();
@ -319,7 +319,7 @@ function onSubmitConditions() {
})
.then(async () => {
await fetchData(id.value);
success($q, "บันทึกเงื่อนไขต่าง ๆ สำเร็จ");
success($q, "บันทึกเงื่อนไขต่างๆ สำเร็จ");
conditions.value = false;
})
.catch((err) => {
@ -739,11 +739,11 @@ onMounted(async () => {
</div>
</q-card>
<!-- รายการตรวจสอบเงอนไขตาง -->
<!-- รายการตรวจสอบเงอนไขตาง-->
<q-card bordered class="row col-12 text-dark q-mt-sm">
<div class="bg-grey-1 q-pa-sm col-12 row items-center text-primary">
<div class="q-pl-sm text-weight-bold text-dark">
รายการตรวจสอบเงอนไขตาง
รายการตรวจสอบเงอนไขตาง
</div>
</div>
@ -753,7 +753,7 @@ onMounted(async () => {
<q-card bordered class="row col-12 text-dark q-mt-sm">
<div class="bg-grey-1 q-pa-sm col-12 row items-center text-primary">
<div class="q-pl-sm text-weight-bold text-dark">
เงอนไขตาง
เงอนไขตาง
</div>
<q-space />
@ -829,7 +829,7 @@ onMounted(async () => {
<q-card bordered class="row col-12 text-dark q-mt-sm">
<div class="bg-grey-1 q-pa-sm col-12 row items-center text-primary">
<div class="q-pl-sm text-weight-bold text-dark">
เอกสารหลกฐานตาง
เอกสารหลกฐานตาง
</div>
</div>
<div class="col-12"><q-separator /></div>
@ -846,7 +846,7 @@ onMounted(async () => {
outlined
dense
v-model="file"
label="อัปโหลดเอกสารหลักฐานต่าง ๆ"
label="อัปโหลดเอกสารหลักฐานต่างๆ"
hide-bottom-space
>
<template v-slot:prepend>

View file

@ -307,7 +307,7 @@ async function clickCancelConditions() {
conditions.value = false;
}
/** Function บันทึก รายการตรวจสอบเงื่อนไขต่าง ๆ*/
/** Function บันทึก รายการตรวจสอบเงื่อนไขต่างๆ*/
function onSubmitConditions() {
dialogConfirm($q, () => {
showLoader();
@ -319,7 +319,7 @@ function onSubmitConditions() {
})
.then(async () => {
await fetchData(id.value);
success($q, "บันทึกเงื่อนไขต่าง ๆ สำเร็จ");
success($q, "บันทึกเงื่อนไขต่างๆ สำเร็จ");
conditions.value = false;
})
.catch((err) => {
@ -758,11 +758,11 @@ onMounted(async () => {
</div>
</q-card>
<!-- รายการตรวจสอบเงอนไขตาง -->
<!-- รายการตรวจสอบเงอนไขตาง-->
<q-card bordered class="row col-12 text-dark q-mt-sm">
<div class="bg-grey-1 q-pa-sm col-12 row items-center text-primary">
<div class="q-pl-sm text-weight-bold text-dark">
รายการตรวจสอบเงอนไขตาง
รายการตรวจสอบเงอนไขตาง
</div>
</div>
@ -772,7 +772,7 @@ onMounted(async () => {
<q-card bordered class="row col-12 text-dark q-mt-sm">
<div class="bg-grey-1 q-pa-sm col-12 row items-center text-primary">
<div class="q-pl-sm text-weight-bold text-dark">
เงอนไขตาง
เงอนไขตาง
</div>
<q-space />
@ -848,7 +848,7 @@ onMounted(async () => {
<q-card bordered class="row col-12 text-dark q-mt-sm">
<div class="bg-grey-1 q-pa-sm col-12 row items-center text-primary">
<div class="q-pl-sm text-weight-bold text-dark">
เอกสารหลกฐานตาง
เอกสารหลกฐานตาง
</div>
</div>
<div class="col-12"><q-separator /></div>
@ -865,7 +865,7 @@ onMounted(async () => {
outlined
dense
v-model="file"
label="อัปโหลดเอกสารหลักฐานต่าง ๆ"
label="อัปโหลดเอกสารหลักฐานต่างๆ"
hide-bottom-space
>
<template v-slot:prepend>