fix:dialogConfrim
This commit is contained in:
parent
e81b47bbe4
commit
adde8fac6f
1 changed files with 22 additions and 11 deletions
|
|
@ -395,17 +395,28 @@ async function clickCandidateList() {
|
||||||
}
|
}
|
||||||
|
|
||||||
async function onCheckShowExaminfo() {
|
async function onCheckShowExaminfo() {
|
||||||
try {
|
dialogMessage(
|
||||||
showLoader();
|
$q,
|
||||||
await http.post(config.API.checkShowExaminfo, {
|
"ยืนยันการเปิดให้ดาวน์โหลดใบสมัคร แสดงสถานที่สอบ และเลขประจำตัวสอบนี้หรือไม่?",
|
||||||
examId: examId.value,
|
"ยืนยันการเปิดให้ดาวน์โหลดใบสมัคร แสดงสถานที่สอบ และเลขประจำตัวสอบ",
|
||||||
});
|
"mdi-email-check-outline",
|
||||||
await props.fetchData();
|
"ยืนยัน",
|
||||||
} catch (error) {
|
"public",
|
||||||
messageError($q, error);
|
async () => {
|
||||||
} finally {
|
try {
|
||||||
hideLoader();
|
showLoader();
|
||||||
}
|
await http.post(config.API.checkShowExaminfo, {
|
||||||
|
examId: examId.value,
|
||||||
|
});
|
||||||
|
await props.fetchData();
|
||||||
|
} catch (error) {
|
||||||
|
messageError($q, error);
|
||||||
|
} finally {
|
||||||
|
hideLoader();
|
||||||
|
}
|
||||||
|
},
|
||||||
|
undefined
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Pagination - page & change page & get new data
|
// Pagination - page & change page & get new data
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue