From d2f6c42144087fab72efb20823b6ba0fee8ad18b Mon Sep 17 00:00:00 2001 From: "STW_TTTY\\stwtt" Date: Wed, 10 Jul 2024 16:05:52 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B8=94=E0=B8=B2=E0=B8=A7=E0=B8=99=E0=B9=8C?= =?UTF-8?q?=E0=B9=82=E0=B8=AB=E0=B8=A5=E0=B8=94=E0=B9=80=E0=B8=AD=E0=B8=81?= =?UTF-8?q?=E0=B8=AA=E0=B8=B2=E0=B8=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../formLeaveToWorkInternational.vue | 42 ++++++++++++------- .../components/ProjectDetail.vue | 4 +- 2 files changed, 28 insertions(+), 18 deletions(-) diff --git a/src/modules/09_leave/components/2_Leave/formDetail/formLeaveToWorkInternational.vue b/src/modules/09_leave/components/2_Leave/formDetail/formLeaveToWorkInternational.vue index 68e66a89a..23b33dfab 100644 --- a/src/modules/09_leave/components/2_Leave/formDetail/formLeaveToWorkInternational.vue +++ b/src/modules/09_leave/components/2_Leave/formDetail/formLeaveToWorkInternational.vue @@ -25,22 +25,7 @@ const props = defineProps({
รายละเอียด
{{ props.data.leaveDetail }}
-
-
เอกสารประกอบ
-
- - ดาวน์โหลดไฟล์ -
-
-
-
+
เอกสารแบบฟอร์ม
@@ -57,6 +42,31 @@ const props = defineProps({
-
+ +
+
เอกสารประกอบ
+
+
+
+ + ดาวน์โหลดเอกสารแนบที่ {{ index + 1 }} + +
+
+
+
-
+
diff --git a/src/modules/15_development/components/ProjectDetail.vue b/src/modules/15_development/components/ProjectDetail.vue index 97d253ce1..7738bbbc1 100644 --- a/src/modules/15_development/components/ProjectDetail.vue +++ b/src/modules/15_development/components/ProjectDetail.vue @@ -137,8 +137,8 @@ function fetchData() { expanded.value = arrayExpanded.filter((e) => e !== null).slice(0, -1); expanded2.value = arrayExpanded2.filter((e) => e !== null).slice(0, -1); - reasonPlanned.value = data.reasonPlanned; - reasonActual.value = data.reasonActual; + reasonPlanned.value = data.reasonPlanned ? data.reasonPlanned:''; + reasonActual.value = data.reasonActual ? data.reasonActual :''; }) .catch((err) => { messageError($q, err);