ปรับ field รายละเอียดการลา
This commit is contained in:
parent
ea614b07c2
commit
13b2216cd9
16 changed files with 108 additions and 66 deletions
|
|
@ -132,11 +132,11 @@ export const useLeavelistDataStore = defineStore("leave", () => {
|
|||
*/
|
||||
function convertLeaveDaytype(val: string) {
|
||||
switch (val) {
|
||||
case "allday":
|
||||
case "ALL_DAY":
|
||||
return "ลาทั้งวัน";
|
||||
case "halfmorning":
|
||||
case "HAFT_MORNING":
|
||||
return "ลาครึ่งวันเช้า";
|
||||
case "halfafternoon":
|
||||
case "HAFT_AFTERNOON":
|
||||
return "ลาครึ่งวันบ่าย";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue