From 6374613c9043be609d48fdf9004527bf65d705fd Mon Sep 17 00:00:00 2001 From: AnandaTon <125332905+anandaAiemvong@users.noreply.github.com> Date: Wed, 31 May 2023 13:53:57 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=20api=20=E0=B8=95?= =?UTF-8?q?=E0=B8=B3=E0=B9=81=E0=B8=AB=E0=B8=99=E0=B9=88=E0=B8=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ปรับไม่ให้แสดง counter --- src/modules/01_exam/components/ExamCard.vue | 7 +++++++ src/modules/01_exam/components/Form/Information.vue | 6 +++--- src/modules/01_exam/components/Form/Occupation.vue | 2 +- 3 files changed, 11 insertions(+), 4 deletions(-) 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 @@