ค้นหา keyword
This commit is contained in:
parent
e7b0bbc284
commit
4bcc414a4f
6 changed files with 81 additions and 33 deletions
|
|
@ -52,21 +52,21 @@ export const useChekIn = defineStore('checkin', () => {
|
|||
// return 'อนุมัติ'
|
||||
// }
|
||||
// }
|
||||
// function classColorStatus(val: string) {
|
||||
// switch (val) {
|
||||
// case 'wait':
|
||||
// return 'orange'
|
||||
// case 'approve':
|
||||
// return 'green'
|
||||
// case 'reject':
|
||||
// return 'red'
|
||||
// }
|
||||
// }
|
||||
function classColorStatus(val: string) {
|
||||
switch (val) {
|
||||
case 'wait':
|
||||
return 'orange'
|
||||
case 'approve':
|
||||
return 'green'
|
||||
case 'reject':
|
||||
return 'red'
|
||||
}
|
||||
}
|
||||
|
||||
return {
|
||||
rows,
|
||||
fetchHistoryList,
|
||||
// classColorStatus,
|
||||
classColorStatus,
|
||||
// fetchlistHistory,
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue