ค้นหา keyword

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2023-11-24 18:12:56 +07:00
parent e7b0bbc284
commit 4bcc414a4f
6 changed files with 81 additions and 33 deletions

View file

@ -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,
}
})