fix
This commit is contained in:
parent
c2188b81cd
commit
69d39eb9dd
2 changed files with 13 additions and 5 deletions
|
|
@ -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"));
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue