From 906c0ba3ce92aea88ad59831e6561d5378fd1ab4 Mon Sep 17 00:00:00 2001 From: AnandaTon Date: Wed, 8 Nov 2023 17:36:46 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=80=E0=B8=9E=E0=B8=B4=E0=B9=88=E0=B8=A1?= =?UTF-8?q?=20=E0=B8=9B=E0=B8=A3=E0=B8=B0=E0=B8=A7=E0=B8=B1=E0=B8=95?= =?UTF-8?q?=E0=B8=B4=E0=B8=81=E0=B8=B2=E0=B8=A3=E0=B8=A5=E0=B8=B2=E0=B8=95?= =?UTF-8?q?=E0=B8=B4=E0=B8=94=E0=B8=95=E0=B8=B2=E0=B8=A1=E0=B8=84=E0=B8=B9?= =?UTF-8?q?=E0=B9=88=E0=B8=AA=E0=B8=A1=E0=B8=A3=E0=B8=AA=E0=B8=A2=E0=B9=88?= =?UTF-8?q?=E0=B8=AD=E0=B8=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../componenst/Forms/12_FollowSpouseForm.vue | 102 +++++++++++++++--- .../interface/request/FollowSpouseForm.ts | 10 +- 2 files changed, 97 insertions(+), 15 deletions(-) diff --git a/src/modules/05_leave/componenst/Forms/12_FollowSpouseForm.vue b/src/modules/05_leave/componenst/Forms/12_FollowSpouseForm.vue index ab92d65..aca653f 100644 --- a/src/modules/05_leave/componenst/Forms/12_FollowSpouseForm.vue +++ b/src/modules/05_leave/componenst/Forms/12_FollowSpouseForm.vue @@ -27,7 +27,10 @@ const formData = reactive({ spousePosition: "", //ตำแหน่งคู่สมรส spouseLevel: "", //ระดับคู่สมรส dutyCountry: "", //ไปปฏิบัติราชการ ณ ประเทศ - followHistory: "", //ประวัติการลาติดตามคู่สมรส + followHistoryCountry: "", //ประวัติการลาติดตามคู่สมรส + followHistoryTime: "", + followHistoryStart: null, + followHistoryEnd: null, leaveDetail: "", //รายละเอียดการลา file: [], //เอกสารปะกอบ }) @@ -43,7 +46,10 @@ const leaveDetailRef = ref(null) const spousePositionRef = ref(null) const spouseLevelRef = ref(null) const dutyCountryRef = ref(null) -const followHistoryRef = ref(null) +const followHistoryCountryRef = ref(null) +const followHistoryTimeRef = ref(null) +const followHistoryStartRef = ref(null) +const followHistoryEndRef = ref(null) const fileRef = ref(null) const FormRef: FormRef = { @@ -56,7 +62,10 @@ const FormRef: FormRef = { spousePosition: spousePositionRef, //ตำแหน่งคู่สมรส spouseLevel: spouseLevelRef, //ระดับคู่สมรส dutyCountry: dutyCountryRef, //ไปปฏิบัติราชการ ณ ประเทศ - followHistory: followHistoryRef, //ประวัติการลาติดตามคู่สมรส + followHistoryCountry: followHistoryCountryRef, //ประวัติการลาติดตามคู่สมรส + followHistoryEnd: followHistoryEndRef, //ประวัติการลาติดตามคู่สมรส + followHistoryTime: followHistoryTimeRef, //ประวัติการลาติดตามคู่สมรส + followHistoryStart: followHistoryStartRef, //ประวัติการลาติดตามคู่สมรส leaveDetail: leaveDetailRef, //รายละเอียดการลา leaveContactLocation: leaveContactLocationRef, //สถานที่ติดต่อขณะลา file: fileRef, @@ -277,17 +286,84 @@ function onValidate() { :rules="[val => !!val || `${'ปฏิบัติราชการ ณ ประเทศ'}`]" /> +
+
ประวัติการลาติดตามคู่สมรสครั้งสุดท้าย
- + + + + + + + + + + + + +