fixing response error 404 ส่งออกรายงานสรรหาสอบแข่งขัน

This commit is contained in:
Warunee Tamkoo 2024-06-13 16:29:22 +07:00
parent c49e34982d
commit 71b5de5683
2 changed files with 42 additions and 15 deletions

View file

@ -408,7 +408,13 @@ const downloadPassExam = async () => {
a.click();
})
.catch((e) => {
messageError($q, e);
messageError(
$q,
e,
rows.value.length == 0
? "ไม่พบข้อมูลผลการสอบ กรุณาตรวจสอบความถูกต้องอีกครั้ง!"
: ""
);
})
.finally(() => {
hideLoader();
@ -429,7 +435,13 @@ const downloadPassResultExam = async () => {
a.click();
})
.catch((e) => {
messageError($q, e);
messageError(
$q,
e,
rows.value.length == 0
? "ไม่พบข้อมูลผลการสอบ กรุณาตรวจสอบความถูกต้องอีกครั้ง!"
: ""
);
})
.finally(() => {
hideLoader();