From e693e024e61e8362053fa5ab270354393316ecd4 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Wed, 15 Nov 2023 14:25:45 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B8=9C=E0=B8=B9=E0=B8=81=20API=20=E0=B8=A3?= =?UTF-8?q?=E0=B8=B2=E0=B8=A2=E0=B8=A5=E0=B8=87=E0=B9=80=E0=B8=A7=E0=B8=A5?= =?UTF-8?q?=E0=B8=B2=E0=B8=9B=E0=B8=8F=E0=B8=B4=E0=B8=9A=E0=B8=B1=E0=B8=95?= =?UTF-8?q?=E0=B8=B4=E0=B8=87=E0=B8=B2=E0=B8=99=E0=B8=82=E0=B8=AD=E0=B8=87?= =?UTF-8?q?=20Admin=20(=E0=B8=A3=E0=B8=B2=E0=B8=A2=E0=B8=81=E0=B8=B2?= =?UTF-8?q?=E0=B8=A3=E0=B8=A5=E0=B8=87=E0=B9=80=E0=B8=A7=E0=B8=A5=E0=B8=B2?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/09_leave/api.leave.ts | 3 + .../09_leave/components/1_Work/Tab1.vue | 212 ++++++++++++++++++ .../09_leave/components/1_Work/Tab2.vue | 168 ++++++++++++++ .../09_leave/components/1_Work/TableList.vue | 132 +++++------ .../09_leave/components/1_Work/ToolBar.vue | 26 ++- .../components/1_Work/ToolBarDate.vue | 27 ++- .../09_leave/interface/response/work.ts | 66 +++--- src/modules/09_leave/stores/WorkStore.ts | 118 +++------- src/modules/09_leave/views/WorkingMain.vue | 100 ++------- 9 files changed, 557 insertions(+), 295 deletions(-) create mode 100644 src/modules/09_leave/components/1_Work/Tab1.vue create mode 100644 src/modules/09_leave/components/1_Work/Tab2.vue diff --git a/src/api/09_leave/api.leave.ts b/src/api/09_leave/api.leave.ts index f33bde32b..d061a9934 100644 --- a/src/api/09_leave/api.leave.ts +++ b/src/api/09_leave/api.leave.ts @@ -3,4 +3,7 @@ const leave = `${env.API_URI}/leave`; export default { roundDutytime: () => `${leave}/duty-time`, roundDutytimeByid: (id: string) => `${leave}/duty-time/${id}`, + + /**รายการลงเวลาปฏิบัติงาน */ + logRecord: () => `${leave}/log-record`, }; diff --git a/src/modules/09_leave/components/1_Work/Tab1.vue b/src/modules/09_leave/components/1_Work/Tab1.vue new file mode 100644 index 000000000..b7e9c24cf --- /dev/null +++ b/src/modules/09_leave/components/1_Work/Tab1.vue @@ -0,0 +1,212 @@ + + + + diff --git a/src/modules/09_leave/components/1_Work/Tab2.vue b/src/modules/09_leave/components/1_Work/Tab2.vue new file mode 100644 index 000000000..22dad0a5d --- /dev/null +++ b/src/modules/09_leave/components/1_Work/Tab2.vue @@ -0,0 +1,168 @@ + + + + diff --git a/src/modules/09_leave/components/1_Work/TableList.vue b/src/modules/09_leave/components/1_Work/TableList.vue index ec163523e..be14801bc 100644 --- a/src/modules/09_leave/components/1_Work/TableList.vue +++ b/src/modules/09_leave/components/1_Work/TableList.vue @@ -1,5 +1,5 @@ + diff --git a/src/modules/09_leave/components/1_Work/ToolBar.vue b/src/modules/09_leave/components/1_Work/ToolBar.vue index ccd80c8df..d8afb175c 100644 --- a/src/modules/09_leave/components/1_Work/ToolBar.vue +++ b/src/modules/09_leave/components/1_Work/ToolBar.vue @@ -1,4 +1,6 @@