From 9eaccb74e05f2bdc98fe96b4c3a275f51c572c80 Mon Sep 17 00:00:00 2001 From: Thanit Konmek Date: Wed, 5 Apr 2023 14:02:36 +0700 Subject: [PATCH] api upload --- src/api/exam/api.candidate.ts | 2 + .../01_exam/components/Form/Document.vue | 218 +++++++++++++++--- src/modules/01_exam/interface/index/Main.ts | 10 +- 3 files changed, 203 insertions(+), 27 deletions(-) diff --git a/src/api/exam/api.candidate.ts b/src/api/exam/api.candidate.ts index a1a235b..0a0175e 100644 --- a/src/api/exam/api.candidate.ts +++ b/src/api/exam/api.candidate.ts @@ -13,6 +13,8 @@ export default { candidateRegister: (examId: string) => `${candidate}register/${examId}`, candidatePayment: (examId: string) => `${candidate}payment/${examId}`, candidateStatus: (examId: string) => `${candidate}status/${examId}`, + candidateUpload: (examId: string) => `${candidate}upload/${examId}`, + candidateDownload: (examId: string) => `${candidate}download/${examId}`, periodExamId: (examId: string) => `${periodExam}${examId}`, candidateId: (examId: string) => `${candidate}${examId}`, candidate diff --git a/src/modules/01_exam/components/Form/Document.vue b/src/modules/01_exam/components/Form/Document.vue index 60184aa..49f8a72 100644 --- a/src/modules/01_exam/components/Form/Document.vue +++ b/src/modules/01_exam/components/Form/Document.vue @@ -2,7 +2,11 @@