From 1c74095abe02a92206ab835e17640d91b0cbca53 Mon Sep 17 00:00:00 2001 From: AnandaTon Date: Fri, 24 Nov 2023 17:28:37 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B8=9C=E0=B8=B9=E0=B8=81=20API=20=E0=B9=80?= =?UTF-8?q?=E0=B8=9B=E0=B8=A5=E0=B8=B5=E0=B9=88=E0=B8=A2=E0=B8=99=E0=B9=81?= =?UTF-8?q?=E0=B8=9B=E0=B8=A5=E0=B8=87=E0=B8=A3=E0=B8=AD=E0=B8=9A=E0=B8=81?= =?UTF-8?q?=E0=B8=B2=E0=B8=A3=E0=B8=9B=E0=B8=8F=E0=B8=B4=E0=B8=9A=E0=B8=B1?= =?UTF-8?q?=E0=B8=95=E0=B8=B4=E0=B8=87=E0=B8=B2=E0=B8=99=E0=B8=82=E0=B8=AD?= =?UTF-8?q?=E0=B8=87=E0=B8=9C=E0=B8=B9=E0=B9=89=E0=B9=83=E0=B8=8A=E0=B9=89?= =?UTF-8?q?=E0=B8=87=E0=B8=B2=E0=B8=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/09_leave/api.leave.ts | 3 + .../components/4_ChangeRound/DialogForm.vue | 103 +++-- .../09_leave/interface/request/changeRound.ts | 44 +- .../09_leave/stores/ChangeRoundStore.ts | 380 +++++++++++------- .../09_leave/views/ChangeRoundMain.vue | 48 +-- 5 files changed, 342 insertions(+), 236 deletions(-) diff --git a/src/api/09_leave/api.leave.ts b/src/api/09_leave/api.leave.ts index 7276d605d..2951e57ac 100644 --- a/src/api/09_leave/api.leave.ts +++ b/src/api/09_leave/api.leave.ts @@ -8,4 +8,7 @@ export default { logRecord: () => `${leave}/log-record`, timeRecord: () => `${leave}/time-record`, timeRecordById: (id: string) => `${leave}/time-record/${id}`, + leaveSearch: () => `${leave}/search`, + leaveRound: () => `${leave}/round`, + leaveRoundById: (id: string) => `${leave}/round/${id}`, }; diff --git a/src/modules/09_leave/components/4_ChangeRound/DialogForm.vue b/src/modules/09_leave/components/4_ChangeRound/DialogForm.vue index 1ca7c917b..7afec33c1 100644 --- a/src/modules/09_leave/components/4_ChangeRound/DialogForm.vue +++ b/src/modules/09_leave/components/4_ChangeRound/DialogForm.vue @@ -1,11 +1,15 @@