From 624f9cbd47f7cfa817458621d5f3e7e8a688549d Mon Sep 17 00:00:00 2001 From: AnandaTon Date: Wed, 20 Dec 2023 15:48:07 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=E0=B9=84=E0=B8=82?= =?UTF-8?q?=20ui=20=E0=B9=80=E0=B8=9E=E0=B8=B4=E0=B9=88=E0=B8=A1=20funcito?= =?UTF-8?q?n//=20=E0=B8=A3=E0=B8=AD=E0=B8=9A=E0=B8=81=E0=B8=B2=E0=B8=A3?= =?UTF-8?q?=E0=B8=9B=E0=B8=8F=E0=B8=B4=E0=B8=9A=E0=B8=B1=E0=B8=95=E0=B8=B4?= =?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/components/PopupCheckFeatures.vue | 138 ++++++++++++++++++ .../components/3_WorkTime/DialogForm.vue | 13 +- .../09_leave/views/ChangeRoundMain.vue | 62 ++++++++ 3 files changed, 212 insertions(+), 1 deletion(-) diff --git a/src/components/PopupCheckFeatures.vue b/src/components/PopupCheckFeatures.vue index e69de29bb..8ed0d1684 100644 --- a/src/components/PopupCheckFeatures.vue +++ b/src/components/PopupCheckFeatures.vue @@ -0,0 +1,138 @@ + + + diff --git a/src/modules/09_leave/components/3_WorkTime/DialogForm.vue b/src/modules/09_leave/components/3_WorkTime/DialogForm.vue index 967471626..0ba9095d2 100644 --- a/src/modules/09_leave/components/3_WorkTime/DialogForm.vue +++ b/src/modules/09_leave/components/3_WorkTime/DialogForm.vue @@ -68,6 +68,13 @@ const formData = reactive({ isActive: false, }); +/**FunctionCheckbox แก้ไขสถานะ */ +function checkDefault() { + if (formData.isDefault === true) { + formData.isActive = true; + } +} + /** Function validateForm*/ function validateForm() { const hasError = []; @@ -356,7 +363,11 @@ watch(

เวลา Default

diff --git a/src/modules/09_leave/views/ChangeRoundMain.vue b/src/modules/09_leave/views/ChangeRoundMain.vue index 1863febd4..1c7fd2c71 100644 --- a/src/modules/09_leave/views/ChangeRoundMain.vue +++ b/src/modules/09_leave/views/ChangeRoundMain.vue @@ -21,6 +21,8 @@ const dataStore = useChangeRoundDataStore(); const $q = useQuasar(); const modal = ref(false); +const dateWork = ref(); +const modalFix = ref(false); const editCheck = ref(""); const DataRow = ref(); const formData = reactive({ @@ -45,9 +47,14 @@ function Openmodal(check: string, detail: any) { } } +function OpenmodalFix(detail: any) { + modalFix.value = true; +} + /** Function closePopup */ function closeDialog() { modal.value = false; + modalFix.value = false; } /** Function ค้นหาข้อมูล */ @@ -180,6 +187,15 @@ function searchData() { ประวัติการเปลี่ยนรอบ + + + แก้ไขปฏิทินวันทำงาน + + @@ -198,6 +214,52 @@ function searchData() { :personId="DataRow == null ? '' : DataRow.profileId" @update:change-page="dataStore.changePage" /> + + + + {{ "แก้ไขปฏิทินวันทำงาน" }} + + + + + +
+ + +
+ +
+
+ +
+
+