diff --git a/src/modules/01_exam/components/ExamCrad.vue b/src/modules/01_exam/components/ExamCrad.vue new file mode 100644 index 0000000..dde74f8 --- /dev/null +++ b/src/modules/01_exam/components/ExamCrad.vue @@ -0,0 +1,40 @@ + + + diff --git a/src/modules/01_exam/interface/index/Main.ts b/src/modules/01_exam/interface/index/Main.ts index 0c8fa42..0c17658 100644 --- a/src/modules/01_exam/interface/index/Main.ts +++ b/src/modules/01_exam/interface/index/Main.ts @@ -95,6 +95,109 @@ interface zipCodeOption { zipCode: string } +interface ExamCard { + id: string + title: string + announcementDate: Date + registerRound: Number + registerDateStart: Date + registerDateEnd: Date + yearly: Date +} + +const defaultCard: ExamCard[] = [ + { + id: '1', + title: 'การสอบภาค ข. พิเศษ สำหรับผู้สอบผ่านของส่วนราชการแล้ว', + registerRound: 2, + announcementDate: new Date('2022-11-23'), + registerDateStart: new Date('2022-11-09'), + registerDateEnd: new Date('2022-11-10'), + yearly: new Date('2022-01-01') + }, + { + id: '2', + title: 'การสอบภาค ก. พิเศษ สำหรับผู้สอบผ่านของส่วนราชการแล้ว', + registerRound: 1, + announcementDate: new Date('2022-10-14'), + registerDateStart: new Date('2022-10-09'), + registerDateEnd: new Date('2022-11-30'), + yearly: new Date('2022-01-01') + }, + { + id: '2', + title: 'การสอบภาค ก. พิเศษ สำหรับผู้สอบผ่านของส่วนราชการแล้ว', + registerRound: 1, + announcementDate: new Date('2022-10-14'), + registerDateStart: new Date('2022-10-09'), + registerDateEnd: new Date('2022-11-30'), + yearly: new Date('2022-01-01') + }, + { + id: '2', + title: 'การสอบภาค ก. พิเศษ สำหรับผู้สอบผ่านของส่วนราชการแล้ว', + registerRound: 1, + announcementDate: new Date('2022-10-14'), + registerDateStart: new Date('2022-10-09'), + registerDateEnd: new Date('2022-11-30'), + yearly: new Date('2022-01-01') + }, + { + id: '2', + title: 'การสอบภาค ก. พิเศษ สำหรับผู้สอบผ่านของส่วนราชการแล้ว', + registerRound: 1, + announcementDate: new Date('2022-10-14'), + registerDateStart: new Date('2022-10-09'), + registerDateEnd: new Date('2022-11-30'), + yearly: new Date('2022-01-01') + }, + { + id: '2', + title: 'การสอบภาค ก. พิเศษ สำหรับผู้สอบผ่านของส่วนราชการแล้ว', + registerRound: 1, + announcementDate: new Date('2022-10-14'), + registerDateStart: new Date('2022-10-09'), + registerDateEnd: new Date('2022-11-30'), + yearly: new Date('2022-01-01') + }, + { + id: '2', + title: 'การสอบภาค ก. พิเศษ สำหรับผู้สอบผ่านของส่วนราชการแล้ว', + registerRound: 1, + announcementDate: new Date('2022-10-14'), + registerDateStart: new Date('2022-10-09'), + registerDateEnd: new Date('2022-11-30'), + yearly: new Date('2022-01-01') + }, + { + id: '2', + title: 'การสอบภาค ก. พิเศษ สำหรับผู้สอบผ่านของส่วนราชการแล้ว', + registerRound: 1, + announcementDate: new Date('2022-10-14'), + registerDateStart: new Date('2022-10-09'), + registerDateEnd: new Date('2022-11-30'), + yearly: new Date('2022-01-01') + }, + { + id: '2', + title: 'การสอบภาค ก. พิเศษ สำหรับผู้สอบผ่านของส่วนราชการแล้ว', + registerRound: 1, + announcementDate: new Date('2022-10-14'), + registerDateStart: new Date('2022-10-09'), + registerDateEnd: new Date('2022-11-30'), + yearly: new Date('2022-01-01') + }, + { + id: '2', + title: 'การสอบภาค ก. พิเศษ สำหรับผู้สอบผ่านของส่วนราชการแล้ว', + registerRound: 1, + announcementDate: new Date('2022-10-14'), + registerDateStart: new Date('2022-10-09'), + registerDateEnd: new Date('2022-11-30'), + yearly: new Date('2022-01-01') + } +] + const defaultAddress: Address = { address: 'บ้านเลขที่ 1/2 ซอย 56 ถนนตัดใหม่', provinceId: 'กรุงเทพ', @@ -165,7 +268,7 @@ const defaultOccupation: Occupation = { other: null } -export { defaultInformation, defaultFamily, defaultAddress, defaultOccupation } +export { defaultInformation, defaultFamily, defaultAddress, defaultOccupation, defaultCard } export type { Pagination, DataOption, @@ -175,5 +278,6 @@ export type { Family, Address, zipCodeOption, - Occupation + Occupation, + ExamCard } diff --git a/src/modules/01_exam/views/ExamMain.vue b/src/modules/01_exam/views/ExamMain.vue index 9f4d7e7..9daf7cf 100644 --- a/src/modules/01_exam/views/ExamMain.vue +++ b/src/modules/01_exam/views/ExamMain.vue @@ -6,8 +6,9 @@ > - - + + +