ปรับ ui สรรหาสอบคัดเลือก

This commit is contained in:
Kittapath 2023-10-02 00:22:43 +07:00
parent e3aa1d8221
commit 5fbf1bd8bd
11 changed files with 836 additions and 1200 deletions

View file

@ -110,6 +110,10 @@
<div class="col-xs-6 col-sm-7 q-pr-xs">
{{ position }}
</div>
<div class="col-xs-6 col-sm-5 text-grey-7">ระด</div>
<div class="col-xs-6 col-sm-7 q-pr-xs">
{{ positionLevel }}
</div>
<div class="col-xs-6 col-sm-5 text-grey-7">ลำดบทสอบได</div>
<div class="col-xs-6 col-sm-7 q-pr-xs">
{{ number }}
@ -138,9 +142,7 @@
readonly
/>
</div>
<div class="col-xs-4 col-sm-5 q-pr-sm text-grey-7">
ความคดเห/อแนะนำ
</div>
<div class="col-xs-4 col-sm-5 q-pr-sm text-grey-7">ความคดเห/อแนะนำ</div>
<div class="col-xs-8 col-sm-6 q-pr-xs">
{{ review }}
</div>
@ -169,6 +171,7 @@ const positionId = ref<string>(route.params.positionId.toString())
const fullName = ref<string>('')
const examNumber = ref<string>('')
const position = ref<string>('')
const positionLevel = ref<string>('')
const citizenId = ref<string>('')
const examSeat = ref<string>('')
const scoreAFull = ref<number | null>(null)
@ -183,8 +186,8 @@ const examResultinscore = ref<string>('')
const avatar = ref<string>('')
const score_expired = ref<Date>(new Date())
const number = ref<string>('')
const reviewPoint = ref<number>(0);
const review = ref<string>("-");
const reviewPoint = ref<number>(0)
const review = ref<string>('-')
onMounted(async () => {
await fetchStatus()
@ -204,7 +207,6 @@ const fetchStatus = async () => {
scoreA.value = data.pointA
scoreBFull.value = data.pointTotalB
scoreB.value = data.pointB
position.value = data.posiiton == null ? '' : '' + data.posiiton.positionName
scoreCFull.value = data.pointTotalC
scoreC.value = data.pointC
scoreSum.value =
@ -220,8 +222,9 @@ const fetchStatus = async () => {
score_expired.value = new Date(data.announcementDate)
number.value = data.number
position.value = data.position
reviewPoint.value = data.reviewPoint;
review.value = data.review == null ? "-" : data.review;
positionLevel.value = data.positionLevel
reviewPoint.value = data.reviewPoint
review.value = data.review == null ? '-' : data.review
})
.catch((e) => {
messageError($q, e)