ปรับ code รายการลงเวลาปฏิบัติงาน

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2023-11-24 09:48:30 +07:00
parent 0ddac48605
commit c1fce2e3c5
7 changed files with 96 additions and 61 deletions

View file

@ -33,11 +33,11 @@ export const useWorklistDataStore = defineStore("work", () => {
*/
function convertSatatus(val: string) {
switch (val) {
case "normal":
case "NORMAL ":
return "ปกติ";
case "late":
case "LATE":
return "สาย";
case "absent":
case "ABSENT":
return "ขาดราชการ";
}
}