แสดงรูปหลักฐานชำระ
This commit is contained in:
parent
cce5f7adfd
commit
08b2802c61
4 changed files with 146 additions and 54 deletions
|
|
@ -29,6 +29,7 @@
|
|||
:name="3"
|
||||
title="ชำระค่าธรรมเนียม"
|
||||
:icon="stepRaw >= 3 ? (stepRaw == 3 ? 'mdi-pencil' : 'mdi-check-bold') : 'mdi-receipt'"
|
||||
v-if="stepPayment"
|
||||
>
|
||||
<q-card bordered class="q-pa-lg">
|
||||
<ExamPayment :fetchStep="fetchStep" :status="status" />
|
||||
|
|
@ -80,6 +81,7 @@ const positionId = ref<string>(route.params.positionId.toString())
|
|||
const loader = ref<boolean>(false)
|
||||
const status = ref<string>('register')
|
||||
const modalConsend = ref<boolean>(false)
|
||||
const stepPayment = ref<boolean>(true)
|
||||
|
||||
onMounted(async () => {
|
||||
// stepRaw.value = 3
|
||||
|
|
@ -96,6 +98,14 @@ const candidateCheck = async () => {
|
|||
const data = res.data.result
|
||||
store.consend = data.consend
|
||||
const positionExam = data.positionExam
|
||||
stepPayment.value = data.bank
|
||||
// console.log('qwe')
|
||||
// console.log(positionId.value != '00000000-0000-0000-0000-000000000000')
|
||||
// console.log(positionId.value)
|
||||
// console.log(positionExam)
|
||||
// console.log(positionExam.id)
|
||||
// console.log(data.status != 'register')
|
||||
// console.log(data.status != 'rejectRegister')
|
||||
if (
|
||||
positionId.value != '00000000-0000-0000-0000-000000000000' &&
|
||||
positionExam.id != positionId.value &&
|
||||
|
|
@ -134,8 +144,8 @@ const fetchStep = async () => {
|
|||
stepRaw.value = 2
|
||||
step.value = 2
|
||||
} else if (data == 'checkRegister') {
|
||||
stepRaw.value = 3
|
||||
step.value = 3
|
||||
stepRaw.value = 2
|
||||
step.value = 2
|
||||
} else if (data == 'payment') {
|
||||
stepRaw.value = 3
|
||||
step.value = 3
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue