fix(checkout-check):API isSeminar
This commit is contained in:
parent
5dbbb0c7b5
commit
98d5a9ad43
1 changed files with 4 additions and 1 deletions
|
|
@ -383,9 +383,12 @@ async function getCheck() {
|
||||||
mapRef.value?.requestLocationPermission()
|
mapRef.value?.requestLocationPermission()
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
showLoader()
|
showLoader()
|
||||||
|
const isSeminar = endTimeAfternoon.value === '14:30' ? 'Y' : 'N'
|
||||||
|
|
||||||
await http
|
await http
|
||||||
.get(config.API.checkoutCheck)
|
.get(config.API.checkoutCheck + `/${isSeminar}`)
|
||||||
.then(async (res) => {
|
.then(async (res) => {
|
||||||
checkStatus.value = await res.data.result.status.toLocaleUpperCase()
|
checkStatus.value = await res.data.result.status.toLocaleUpperCase()
|
||||||
if (checkStatus.value == 'ABSENT') {
|
if (checkStatus.value == 'ABSENT') {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue