diff --git a/src/modules/01_exam/components/ExamCard.vue b/src/modules/01_exam/components/ExamCard.vue index 85e7620..c21a80c 100644 --- a/src/modules/01_exam/components/ExamCard.vue +++ b/src/modules/01_exam/components/ExamCard.vue @@ -65,6 +65,10 @@ examResultinscore }} +
ตำแหน่ง
+
+ {{ position }} +
ลำดับที่สอบได้
{{ number }} @@ -115,6 +119,7 @@ const examId = ref(route.params.id.toString()) const positionId = ref(route.params.positionId.toString()) const fullName = ref('') const examNumber = ref('') +const position = ref('') const citizenId = ref('') const examSeat = ref('') const scoreBFull = ref(null) @@ -144,6 +149,7 @@ const fetchStatus = async () => { examSeat.value = data.seatNumber scoreBFull.value = data.pointTotalB scoreB.value = data.pointB + position.value = data.posiiton == null ? '' : '' + data.posiiton.positionName scoreCFull.value = data.pointTotalC scoreC.value = data.pointC if (data.pointB != null && data.pointC != null) { @@ -169,6 +175,7 @@ const fetchStatus = async () => { avatar.value = data.avatar score_expired.value = new Date(data.announcementDate) number.value = data.number + position.value = data.position }) .catch((e) => { messageError($q, e) diff --git a/src/modules/01_exam/components/Form/Information.vue b/src/modules/01_exam/components/Form/Information.vue index a725ccb..58f85cc 100644 --- a/src/modules/01_exam/components/Form/Information.vue +++ b/src/modules/01_exam/components/Form/Information.vue @@ -156,7 +156,7 @@ dense type="tel" mask="#############" - counter + :counter="status == 'register' || status == 'rejectRegister' ? true : false" lazy-rules :readonly="!(status == 'register' || status == 'rejectRegister')" :borderless="!(status == 'register' || status == 'rejectRegister')" @@ -260,7 +260,7 @@