hide bottom space rule

This commit is contained in:
Kittapath 2023-03-28 13:22:07 +07:00
parent 3c12d849f6
commit a95c2fcbb4
10 changed files with 469 additions and 494 deletions

View file

@ -63,6 +63,11 @@
</q-stepper>
</div>
</q-card>
<q-dialog :model-value="modalConsend" persistent>
<q-card style="min-width: 800px">
<Conference :ok="consendOk" :close="consenClose" />
</q-card>
</q-dialog>
</template>
<script setup lang="ts">
@ -75,6 +80,7 @@ import config from '@/app.config'
import ExamForm from '@/modules/01_exam/components/ExamForm.vue'
import ExamPayment from '@/modules/01_exam/components/ExamPayment.vue'
import ExamFinished from '@/modules/01_exam/components/ExamFinished.vue'
import Conference from '@/modules/01_exam/components/Conference.vue'
const $q = useQuasar()
const store = useExamDataStore()
@ -84,6 +90,7 @@ const tittle = ref<string>('การสอบภาค ข. พิเศษ ส
const candidateId = ref<string>('2223ba53-2fb2-470b-8dc1-27e5471b0331')
const loader = ref<boolean>(false)
const status = ref<string>('register')
const modalConsend = ref<boolean>(false)
onMounted(async () => {
await candidateCheck()
@ -99,6 +106,7 @@ const candidateCheck = async () => {
if (store.consend == true) {
await fetchStep()
} else {
modalConsend.value = true
stepRaw.value = 2
step.value = 2
}
@ -148,6 +156,16 @@ const fetchStep = async () => {
})
}
const consenClose = () => {
modalConsend.value = false
}
const consendOk = () => {
modalConsend.value = false
// store.consend = true
// saveData()
}
/**
* logout keycloak
* confirm อนออกจากระบบ