fix: แก้สรรหา
This commit is contained in:
parent
40e2b34617
commit
22d1fbed58
5 changed files with 17 additions and 18 deletions
|
|
@ -104,7 +104,7 @@ async function downloadScore() {
|
|||
.get(config.API.examReport(importId.value, examId.value))
|
||||
.then(async (res) => {
|
||||
const data = res.data.result;
|
||||
await genReport(data, `ผลคะแนน_${examId.value}.pdf`,'pdf');
|
||||
await genReport(data, `ผลคะแนน_${examId.value}`, "pdf");
|
||||
})
|
||||
.catch(async (e) => {
|
||||
messageError($q, JSON.parse(await e.response.data.text()));
|
||||
|
|
@ -332,10 +332,10 @@ onMounted(async () => {
|
|||
ภาคความรู้ความสามารถที่ใช้เฉพาะตำแหน่ง (ภาค ข)
|
||||
</div>
|
||||
<div class="col-xs-3 col-sm-2 q-pr-xs">
|
||||
{{ scoreAFull ? scoreAFull:'-' }}
|
||||
{{ scoreAFull ? scoreAFull : "-" }}
|
||||
</div>
|
||||
<div class="col-xs-3 col-sm-2 q-pr-xs">
|
||||
{{ scoreA ? scoreA:'-' }}
|
||||
{{ scoreA ? scoreA : "-" }}
|
||||
</div>
|
||||
<div class="col-xs-2 col-sm-2 q-pr-xs text-grey-7">คะแนน</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -231,6 +231,7 @@ async function clickPassExam(id: string) {
|
|||
.get(config.API.exportPassExamList(id))
|
||||
.then(async (res) => {
|
||||
const data = res.data.result;
|
||||
data.reportName = `CandidateList`;
|
||||
await genReport(data, "รายชื่อผู้สอบแข่งขันได้", "pdf");
|
||||
})
|
||||
.catch(async (e) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue