fix(checkin): API checkoutCheck
All checks were successful
Build & Deploy on Dev / build (push) Successful in 2m22s
All checks were successful
Build & Deploy on Dev / build (push) Successful in 2m22s
This commit is contained in:
parent
5ed1b27789
commit
7ae3f0a557
1 changed files with 10 additions and 2 deletions
|
|
@ -192,7 +192,10 @@ const options = ref<OptionReason[]>([
|
|||
// value: 'ประสบภัย เช่น น้ำท่วม มีพายุ ประสบอุบัติเหตุ',
|
||||
// text: 'ประสบภัย เช่น น้ำท่วม มีพายุ ประสบอุบัติเหตุ',
|
||||
// },
|
||||
{ value: 'ปฏิบัติงานในจุดบริการด่วนมหานคร', text: 'ปฏิบัติงานในจุดบริการด่วนมหานคร' },
|
||||
{
|
||||
value: 'ปฏิบัติงานในจุดบริการด่วนมหานคร',
|
||||
text: 'ปฏิบัติงานในจุดบริการด่วนมหานคร',
|
||||
},
|
||||
|
||||
{ value: 'อื่นๆ', text: 'อื่นๆ' },
|
||||
])
|
||||
|
|
@ -569,7 +572,12 @@ async function getCheck() {
|
|||
}
|
||||
|
||||
showLoader()
|
||||
const isSeminar = model.value === 'ไปประชุม / อบรม / สัมมนา' || model.value === 'ปฏิบัติงานในจุดบริการด่วนมหานคร' ? 'Y' : 'N'
|
||||
const isSeminar =
|
||||
model.value === 'ไปประชุม / อบรม / สัมมนา'
|
||||
? 'S'
|
||||
: model.value === 'ปฏิบัติงานในจุดบริการด่วนมหานคร'
|
||||
? 'O'
|
||||
: 'N'
|
||||
|
||||
await http
|
||||
.get(config.API.checkoutCheck + `/${isSeminar}`)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue