From 4d9be4347906e9258c377bc9936ac4766a4df934 Mon Sep 17 00:00:00 2001 From: AnandaTon Date: Mon, 25 Dec 2023 18:13:36 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=80=E0=B8=9E=E0=B8=B4=E0=B9=88=E0=B8=A1?= =?UTF-8?q?=20api=20download=20=E0=B9=81=E0=B8=81=E0=B9=89=E0=B8=9A?= =?UTF-8?q?=E0=B8=B1=E0=B8=84=E0=B8=95=E0=B9=88=E0=B8=B2=E0=B8=87=E0=B9=86?= =?UTF-8?q?=20=E0=B8=9F=E0=B8=AD=E0=B8=A3=E0=B9=8C=E0=B8=A1=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/api/leave/api.leave.ts | 1 + .../05_leave/components/Forms/01_SickForm.vue | 6 +++--- .../Forms/11_WorkInternationalForm.vue | 21 ++++++++++++++++++- .../Forms/13_RehabilitationForm.vue | 21 ++++++++++++++++++- 4 files changed, 44 insertions(+), 5 deletions(-) diff --git a/src/api/leave/api.leave.ts b/src/api/leave/api.leave.ts index 945614c..d1713bb 100644 --- a/src/api/leave/api.leave.ts +++ b/src/api/leave/api.leave.ts @@ -22,4 +22,5 @@ export default { leaveUserId: (id: string) => `${leave}/user/${id}`, leaveProfile: () => `${leave}/user/profile`, leaveCheck: () => `${leave}/user/check`, + leaveReport: (id: string) => `${leave}/report/${id}`, } diff --git a/src/modules/05_leave/components/Forms/01_SickForm.vue b/src/modules/05_leave/components/Forms/01_SickForm.vue index a8b0f4f..8bef1bf 100644 --- a/src/modules/05_leave/components/Forms/01_SickForm.vue +++ b/src/modules/05_leave/components/Forms/01_SickForm.vue @@ -301,8 +301,8 @@ function resetEndDate(type: string) { borderless :enableTimePicker="false" week-start="0" - :readonly="isReadOnly" - @update:model-value="FetchCheck()" + :readonly="!formDataSick.leaveStartDate" + @update:model-value="FetchCheck(), isReadOnly" :min-date="formDataSick.leaveStartDate" >