From 69d39eb9ddd7dbeb006f370b24f6c801c41069ad Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Tue, 28 Jan 2025 14:25:45 +0700 Subject: [PATCH] fix --- .../components/probation/FormEvaluation/FormReport.vue | 10 ++++++---- .../05_placement/components/probation/SummaryScore.vue | 8 +++++++- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/src/modules/05_placement/components/probation/FormEvaluation/FormReport.vue b/src/modules/05_placement/components/probation/FormEvaluation/FormReport.vue index 685acddf5..90d617118 100644 --- a/src/modules/05_placement/components/probation/FormEvaluation/FormReport.vue +++ b/src/modules/05_placement/components/probation/FormEvaluation/FormReport.vue @@ -75,7 +75,7 @@ const optionsResult = ref([ }, { value: 2, - label: "ต่ำกว่ามาตรฐานที่กำหนด เห็นควรให้ออกจากราชการ", + label: "ต่ำกว่ามาตรฐานที่กำหนดเห็นควรให้ออกจากราชการ", type: "save2", }, { @@ -195,9 +195,11 @@ const fecthResult = async (id: string) => { async function savaForm() { await myForm.value.validate().then((result: boolean) => { if (result) { - dialogConfirm($q, async () => await postData("post")); - } else { - dialogMessageNotify($q, "กรุณากรอกข้อมูลให้ครบ"); + if (authority_name.value === "") { + dialogMessageNotify($q, "กรุณาเลือกผู้มีอำนาจ"); + } else { + dialogConfirm($q, async () => await postData("post")); + } } }); } diff --git a/src/modules/05_placement/components/probation/SummaryScore.vue b/src/modules/05_placement/components/probation/SummaryScore.vue index bbbbbf97f..e31447e43 100644 --- a/src/modules/05_placement/components/probation/SummaryScore.vue +++ b/src/modules/05_placement/components/probation/SummaryScore.vue @@ -45,6 +45,10 @@ const result_option = reactive([ { name: "ไม่ต่ำกว่ามาตรฐานที่กำหนด เห็นควรให้รับราชการต่อ", value: 1 }, { name: "ต่ำกว่ามาตรฐานที่กำหนด เห็นควรให้ออกจากราชการ", value: 2 }, { name: "เห็นควรให้ขยายระยะเวลาทดลองปฏิบัติหน้าที่ราชการต่อไปอีก", value: 3 }, + { + name: "ไม่ต่ำกว่ามาตรฐานที่กำหนดเห็นควรให้ทดลองปฏิบัติหน้าที่ราชการต่อไป", + value: 4, + }, ]); /** get คะแนน */ @@ -301,7 +305,9 @@ onMounted(() => {
-
4. การอบรมอื่น ๆ ตามที่หน่วยงานกำหนด (ถ้ามี)
+
+ 4. การอบรมอื่น ๆ ตามที่หน่วยงานกำหนด (ถ้ามี) +