แก้ชื่อเมนูสรรหา
This commit is contained in:
parent
057e5d4848
commit
e7128c9367
2 changed files with 28 additions and 6 deletions
|
|
@ -73,7 +73,7 @@
|
||||||
@click.stop.prevent="clickPassExam(props.row.id)"
|
@click.stop.prevent="clickPassExam(props.row.id)"
|
||||||
icon="mdi-clipboard-arrow-down"
|
icon="mdi-clipboard-arrow-down"
|
||||||
>
|
>
|
||||||
<q-tooltip>ดาวน์โหลดรายชื่อผู้สอบแข่งขันได้</q-tooltip>
|
<q-tooltip>ดาวน์โหลดรายชื่อผู้สอบคัดเลือกคนพิการได้</q-tooltip>
|
||||||
</q-btn>
|
</q-btn>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -108,7 +108,7 @@
|
||||||
@click.stop.prevent="clickPassExam()"
|
@click.stop.prevent="clickPassExam()"
|
||||||
icon="mdi-clipboard-arrow-down"
|
icon="mdi-clipboard-arrow-down"
|
||||||
>
|
>
|
||||||
<q-tooltip>ดาวน์โหลดรายชื่อผู้สอบแข่งขันได้</q-tooltip>
|
<q-tooltip>ดาวน์โหลดรายชื่อผู้สอบคัดเลือกได้</q-tooltip>
|
||||||
</q-btn>
|
</q-btn>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-12">
|
<div class="col-12">
|
||||||
|
|
@ -496,12 +496,34 @@ onMounted(async () => {
|
||||||
await fetchDataCom();
|
await fetchDataCom();
|
||||||
});
|
});
|
||||||
|
|
||||||
const clickPassExam = () => {
|
const clickPassExam = async () => {
|
||||||
window.open(config.API.exportExamPassExamList(examId.value));
|
showLoader();
|
||||||
|
await http
|
||||||
|
.get(config.API.exportExamPassExamList(examId.value))
|
||||||
|
.then((res) => {
|
||||||
|
window.open(config.API.exportExamPassExamList(examId.value));
|
||||||
|
})
|
||||||
|
.catch((e) => {
|
||||||
|
messageError($q, e);
|
||||||
|
})
|
||||||
|
.finally(() => {
|
||||||
|
hideLoader();
|
||||||
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
const clickCandidateList = () => {
|
const clickCandidateList = async () => {
|
||||||
window.open(config.API.exportExamCandidateList(examId.value));
|
showLoader();
|
||||||
|
await http
|
||||||
|
.get(config.API.exportExamCandidateList(examId.value))
|
||||||
|
.then((res) => {
|
||||||
|
window.open(config.API.exportExamCandidateList(examId.value));
|
||||||
|
})
|
||||||
|
.catch((e) => {
|
||||||
|
messageError($q, e);
|
||||||
|
})
|
||||||
|
.finally(() => {
|
||||||
|
hideLoader();
|
||||||
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
const fetchDataCom = async () => {
|
const fetchDataCom = async () => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue