Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 2m29s
All checks were successful
Build & Deploy on Dev / build (push) Successful in 2m29s
This commit is contained in:
commit
69deaf368d
4 changed files with 17 additions and 15 deletions
|
|
@ -33,11 +33,13 @@ export default {
|
||||||
exportDisablePassResultExam: (id: string) =>
|
exportDisablePassResultExam: (id: string) =>
|
||||||
`${disableExam}export/pass/${id}`,
|
`${disableExam}export/pass/${id}`,
|
||||||
|
|
||||||
exportDisableCandidateList: (id: string) => `${diable_report}candidate/${id}`,
|
exportDisableCandidateList: (id: string) =>
|
||||||
exportDisablePassExamList: (id: string) => `${diable_report}pass/${id}`,
|
`${diable_report}candidate-new/${id}`,
|
||||||
|
exportDisablePassExamList: (id: string) => `${diable_report}pass-new/${id}`,
|
||||||
periodDisableToPlacement: (examId: string) =>
|
periodDisableToPlacement: (examId: string) =>
|
||||||
`${disableExam}placement/${examId}`,
|
`${disableExam}placement/${examId}`,
|
||||||
|
|
||||||
repoetUploadDisableExam:(id:string)=>`${disableExam}result/${id}`,
|
repoetUploadDisableExam: (id: string) => `${disableExam}result/${id}`,
|
||||||
repoetDownloadDisableExam:(id:string,examId:string)=>`${disableExam}report/exam/${id}/${examId}`
|
repoetDownloadDisableExam: (id: string, examId: string) =>
|
||||||
|
`${disableExam}report/exam/${id}/${examId}`,
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -40,14 +40,14 @@ export default {
|
||||||
exportPassResultExam: (id: string) => `${recruit}export/pass/${id}`,
|
exportPassResultExam: (id: string) => `${recruit}export/pass/${id}`,
|
||||||
|
|
||||||
exportCandidateList: (id: string) => `${recruit_report}candidate/${id}`,
|
exportCandidateList: (id: string) => `${recruit_report}candidate/${id}`,
|
||||||
exportPassExamList: (id: string) => `${recruit_report}pass/${id}`,
|
exportPassExamList: (id: string) => `${recruit_report}pass-new/${id}`,
|
||||||
periodRecruitToPlacement: (examId: string) => `${recruit}placement/${examId}`,
|
periodRecruitToPlacement: (examId: string) => `${recruit}placement/${examId}`,
|
||||||
|
|
||||||
reportRecruit:(type:string)=>`${recruit}${type}`,
|
reportRecruit: (type: string) => `${recruit}${type}`,
|
||||||
|
|
||||||
|
|
||||||
exportCandidateListNew: (id: string) => `${recruit_report}candidate-new/${id}`,
|
|
||||||
reportCandidateListNew: (id: string) => `${recruit}report/candidate-new/${id}`,
|
|
||||||
examReport: (id: string,no:string) => `${recruit}report/exam/${id}/${no}`,
|
|
||||||
|
|
||||||
|
exportCandidateListNew: (id: string) =>
|
||||||
|
`${recruit_report}candidate-new/${id}`,
|
||||||
|
// reportCandidateListNew: (id: string) =>
|
||||||
|
// `${recruit}report/candidate-new/${id}`, ปรับไปใช้ api ด้านบนแทน
|
||||||
|
examReport: (id: string, no: string) => `${recruit}report/exam/${id}/${no}`,
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -250,7 +250,7 @@ async function clickPassExam(id: string) {
|
||||||
async function clickCandidateList(id: string) {
|
async function clickCandidateList(id: string) {
|
||||||
showLoader();
|
showLoader();
|
||||||
await http
|
await http
|
||||||
.get(config.API.reportCandidateListNew(id), {
|
.get(config.API.exportCandidateListNew(id), {
|
||||||
headers: {
|
headers: {
|
||||||
accept:
|
accept:
|
||||||
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
|
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
|
||||||
|
|
|
||||||
|
|
@ -1001,8 +1001,8 @@ onMounted(async () => {
|
||||||
outlined
|
outlined
|
||||||
:readonly="checkRoutePermisson"
|
:readonly="checkRoutePermisson"
|
||||||
:model-value="yearly + 543"
|
:model-value="yearly + 543"
|
||||||
:rules="[(val:string) => !!val || `${'กรุณาเลือกปีงบประมาณ'}`]"
|
:rules="[(val:string) => !!val || `${'กรุณาเลือกปี พ.ศ.'}`]"
|
||||||
:label="`${'ปีงบประมาณ'}`"
|
:label="`${'ปี พ.ศ.'}`"
|
||||||
>
|
>
|
||||||
</q-input>
|
</q-input>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue