fix
This commit is contained in:
parent
8ec6b3b290
commit
f3b9c21733
1 changed files with 21 additions and 21 deletions
|
|
@ -227,27 +227,27 @@ async function fileDownload(no: number, type: string, fileName: string) {
|
|||
}
|
||||
|
||||
/** ฟังก์ชันยืนยันการส่งคำร้องไปยัง สกจ.*/
|
||||
function onUpdateStatus() {
|
||||
dialogConfirm(
|
||||
$q,
|
||||
async () => {
|
||||
showLoader();
|
||||
await http
|
||||
.get(config.API.transferConfirmId(transferId.value))
|
||||
.then(async () => {
|
||||
await getData();
|
||||
// success($q, "ส่งคำร้องข้อมูลสำเร็จ");
|
||||
})
|
||||
.catch((e) => {
|
||||
messageError($q, e);
|
||||
})
|
||||
.finally(async () => {
|
||||
hideLoader();
|
||||
});
|
||||
},
|
||||
"ต้องการยืนยันส่งคำร้องไปยัง สกจ หรือไม่?",
|
||||
"ข้อมูลจะถูกนำส่งคำร้องไปยัง สกจ ทันที"
|
||||
);
|
||||
async function onUpdateStatus() {
|
||||
// dialogConfirm(
|
||||
// $q,
|
||||
// async () => {
|
||||
showLoader();
|
||||
await http
|
||||
.get(config.API.transferConfirmId(transferId.value))
|
||||
.then(async () => {
|
||||
await getData();
|
||||
// success($q, "ส่งคำร้องข้อมูลสำเร็จ");
|
||||
})
|
||||
.catch((e) => {
|
||||
messageError($q, e);
|
||||
})
|
||||
.finally(async () => {
|
||||
hideLoader();
|
||||
});
|
||||
// },
|
||||
// "ต้องการยืนยันส่งคำร้องไปยัง สกจ หรือไม่?",
|
||||
// "ข้อมูลจะถูกนำส่งคำร้องไปยัง สกจ ทันที"
|
||||
// );
|
||||
}
|
||||
|
||||
/** ฟังก์ชันยืนยันการบันทึกการแก้ไขข้อมูล*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue