fix:Display_notify
This commit is contained in:
parent
98d5a9ad43
commit
159f0803f2
1 changed files with 5 additions and 2 deletions
|
|
@ -385,7 +385,7 @@ async function getCheck() {
|
|||
}
|
||||
|
||||
showLoader()
|
||||
const isSeminar = endTimeAfternoon.value === '14:30' ? 'Y' : 'N'
|
||||
const isSeminar = model.value === 'ไปประชุม / อบรม / สัมมนา' ? 'Y' : 'N'
|
||||
|
||||
await http
|
||||
.get(config.API.checkoutCheck + `/${isSeminar}`)
|
||||
|
|
@ -401,7 +401,10 @@ async function getCheck() {
|
|||
new Intl.DateTimeFormat('en-US', options).format(
|
||||
new Date(res.data.result.serverTime)
|
||||
) ?? ''
|
||||
const endTimeAfternoonVal = endTimeAfternoon.value ?? ''
|
||||
const endTimeAfternoonVal =
|
||||
new Intl.DateTimeFormat('en-US', options).format(
|
||||
new Date(res.data.result.endTime)
|
||||
) ?? ''
|
||||
|
||||
// dialog ยืนยันการลงเวลาออกงาน
|
||||
dialogConfirm(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue