Merge branch 'nice' into develop

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-01-28 14:25:59 +07:00
commit bb1048830f
2 changed files with 13 additions and 5 deletions

View file

@ -75,7 +75,7 @@ const optionsResult = ref<any>([
},
{
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"));
}
}
});
}

View file

@ -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(() => {
</div>
<q-separator class="q-my-xs" />
<div class="row q-gutter-md align-center q-pl-md">
<div class="col-8">4. การอบรมอ ตามทหนวยงานกำหนด (าม)</div>
<div class="col-8">
4. การอบรมอ ตามทหนวยงานกำหนด (าม)
</div>
<div class="col">
<q-input
outlined