เพิ่มวันประการศผลสอบ

This commit is contained in:
Kittapath 2023-04-28 11:40:41 +07:00
parent 352a4ac7d3
commit e8b1523895
5 changed files with 18 additions and 0 deletions

View file

@ -3,6 +3,7 @@
<q-toolbar class="q-pa-sm text-center">
<q-toolbar-title class="text-dark">
{{ tittle }}
{{ `ครั้งที่${round}/${yearly + 543}` }}
<div class="text-light text-body2">{{ position }}</div>
</q-toolbar-title>
</q-toolbar>
@ -94,6 +95,8 @@ const status = ref<string>('register')
const modalConsend = ref<boolean>(false)
const stepPayment = ref<boolean>(true)
const rejectMessage = ref<string>('')
const round = ref<number | null>(null)
const yearly = ref<number | null>(null)
onMounted(async () => {
// stepRaw.value = 3
@ -205,6 +208,8 @@ const fetchPeriodExam = async () => {
.then((res) => {
const data = res.data.result
tittle.value = data.name
round.value = data.round
yearly.value = data.year
position.value = data.posiiton == null ? '' : 'ตำแหน่ง: ' + data.posiiton.positionName
})
.catch(() => {})