From 333515f57022a0af0383034d99e1e309552b6162 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Mon, 9 Oct 2023 09:31:01 +0700 Subject: [PATCH] =?UTF-8?q?ui=20=E0=B8=81=E0=B8=B2=E0=B8=A3=E0=B8=A5?= =?UTF-8?q?=E0=B8=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/interface/request/main/main.ts | 56 +++++++++---------- .../components/1_Work/DialogDetail.vue | 3 +- .../09_leave/components/1_Work/TableList.vue | 28 ++-------- .../09_leave/components/2_Leave/TableList.vue | 5 +- src/modules/09_leave/stores/WorkStore.ts | 38 ++++++++++++- src/modules/09_leave/views/LeaveListMain.vue | 3 +- src/modules/09_leave/views/WorkingMain.vue | 2 +- 7 files changed, 79 insertions(+), 56 deletions(-) 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 @@ -