เพิ่มวันประการศผลสอบ
This commit is contained in:
parent
352a4ac7d3
commit
e8b1523895
5 changed files with 18 additions and 0 deletions
|
|
@ -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(() => {})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue