แก้ api ตำแหน่ง
ปรับไม่ให้แสดง counter
This commit is contained in:
parent
3fd7a8b964
commit
6374613c90
3 changed files with 11 additions and 4 deletions
|
|
@ -65,6 +65,10 @@
|
|||
examResultinscore
|
||||
}}</span>
|
||||
</div>
|
||||
<div class="col-xs-6 col-sm-5 text-grey-7">ตำแหน่ง</div>
|
||||
<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">
|
||||
{{ number }}
|
||||
|
|
@ -115,6 +119,7 @@ const examId = ref<string>(route.params.id.toString())
|
|||
const positionId = ref<string>(route.params.positionId.toString())
|
||||
const fullName = ref<string>('')
|
||||
const examNumber = ref<string>('')
|
||||
const position = ref<string>('')
|
||||
const citizenId = ref<string>('')
|
||||
const examSeat = ref<string>('')
|
||||
const scoreBFull = ref<number | null>(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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue