diff --git a/src/interface/request/main/main.ts b/src/interface/request/main/main.ts index 17cdc587a..10cb37f18 100644 --- a/src/interface/request/main/main.ts +++ b/src/interface/request/main/main.ts @@ -374,34 +374,34 @@ const menuList = readonly([ }, ], }, - // { - // key: 9, - // icon: "mdi-calendar", - // activeIcon: "mdi-calendar", - // label: "การลา", - // path: "leave", - // role: "coin", - // children: [ - // { - // key: 9.1, - // label: "รายการลงเวลาปฏิบัติงาน", - // path: "/work-list", - // role: "coin", - // }, - // { - // key: 9.2, - // label: "รายการลา", - // path: "/leave-list", - // role: "coin", - // }, - // { - // key: 9.3, - // label: "รายงานสถิติ", - // path: "/statistics-report", - // role: "coin", - // }, - // ], - // }, + { + key: 9, + icon: "mdi-calendar", + activeIcon: "mdi-calendar", + label: "การลา", + path: "leave", + role: "coin", + children: [ + { + key: 9.1, + label: "รายการลงเวลาปฏิบัติงาน", + path: "/work-list", + role: "coin", + }, + { + key: 9.2, + label: "รายการลา", + path: "/leave-list", + role: "coin", + }, + { + key: 9.3, + label: "รายงานสถิติ", + path: "/statistics-report", + role: "coin", + }, + ], + }, ]); const tabList = readonly([ diff --git a/src/modules/09_leave/components/1_Work/DialogDetail.vue b/src/modules/09_leave/components/1_Work/DialogDetail.vue index 28ca10a94..f7b561a0b 100644 --- a/src/modules/09_leave/components/1_Work/DialogDetail.vue +++ b/src/modules/09_leave/components/1_Work/DialogDetail.vue @@ -11,7 +11,7 @@ const props = defineProps({ type: Function, }, }); -// +// รายละเอียดข้อมูง const titlename = ref(""); const timeIn = ref(""); const timeOut = ref(""); @@ -32,6 +32,7 @@ watch(props, () => { } } }); +// ปิด popup function colsePopup() { props.colse ? props.colse() : false; } diff --git a/src/modules/09_leave/components/1_Work/TableList.vue b/src/modules/09_leave/components/1_Work/TableList.vue index 7a23e9d18..78028f5de 100644 --- a/src/modules/09_leave/components/1_Work/TableList.vue +++ b/src/modules/09_leave/components/1_Work/TableList.vue @@ -1,4 +1,3 @@ -