แก้สรรหา ฟิลเตอร์
This commit is contained in:
parent
711d104516
commit
6f05aa81ee
3 changed files with 24 additions and 15 deletions
|
|
@ -365,8 +365,10 @@ async function clickPassExam() {
|
|||
showLoader();
|
||||
await http
|
||||
.get(config.API.exportExamPassExamList(examId.value))
|
||||
.then(() => {
|
||||
window.open(config.API.exportExamPassExamList(examId.value));
|
||||
.then(async(res) => {
|
||||
const data = res.data.result;
|
||||
data.reportName = `Candidate_Dashboard_${dateToISO(new Date())}`;
|
||||
await genReport(data, data.reportName,'pdf');
|
||||
})
|
||||
.catch((e) => {
|
||||
messageError($q, e);
|
||||
|
|
@ -380,8 +382,10 @@ async function clickCandidateList() {
|
|||
showLoader();
|
||||
await http
|
||||
.get(config.API.exportExamCandidateList(examId.value))
|
||||
.then(() => {
|
||||
window.open(config.API.exportExamCandidateList(examId.value));
|
||||
.then(async(res) => {
|
||||
const data = res.data.result;
|
||||
data.reportName = `Candidate_Dashboard_${dateToISO(new Date())}`;
|
||||
await genReport(data, data.reportName,'pdf');
|
||||
})
|
||||
.catch((e) => {
|
||||
messageError($q, e);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue