ปรับรายการลาออก และ dialog confrim
This commit is contained in:
parent
c1db58e570
commit
19da1d284a
5 changed files with 558 additions and 519 deletions
|
|
@ -51,36 +51,6 @@ const saveData = async () => {
|
|||
"ยืนยันการยื่นข้อมูลการโอน",
|
||||
"ต้องการยื่นข้อมูลการโอนนี้ใช่หรือไม่"
|
||||
);
|
||||
|
||||
// if (myform.value != null) {
|
||||
// await myform.value.validate().then(async (saveDataTest: Boolean) => {
|
||||
// if (saveDataTest) {
|
||||
// saveTransfer();
|
||||
// }
|
||||
// });
|
||||
// }
|
||||
};
|
||||
|
||||
//บันทึกข้อมูลการโอน
|
||||
const saveTransfer = () => {
|
||||
$q.dialog({
|
||||
title: "ยืนยันการยื่นข้อมูลการโอน",
|
||||
message: "ต้องการยื่นข้อมูลการโอนนี้ใช่หรือไม่?",
|
||||
cancel: {
|
||||
flat: true,
|
||||
color: "negative",
|
||||
},
|
||||
persistent: true,
|
||||
})
|
||||
.onOk(async () => {
|
||||
if (files.value == undefined) {
|
||||
fails($q, "กรุณากรอกอัพโหลดเอกสารเพิ่มเติม");
|
||||
} else {
|
||||
createTransfer();
|
||||
}
|
||||
})
|
||||
.onCancel(() => {})
|
||||
.onDismiss(() => {});
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue