From dca0d28c92048ae9d3517a20f0a31ab4f051d322 Mon Sep 17 00:00:00 2001 From: Kittapath Date: Fri, 17 Mar 2023 11:31:20 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=80=E0=B8=9E=E0=B8=B4=E0=B9=88=E0=B8=A1?= =?UTF-8?q?=E0=B9=80=E0=B8=87=E0=B8=B4=E0=B9=88=E0=B8=AD=E0=B8=99=E0=B9=84?= =?UTF-8?q?=E0=B8=82=E0=B8=AB=E0=B9=89=E0=B8=B2=E0=B8=A1=E0=B9=81=E0=B8=81?= =?UTF-8?q?=E0=B9=89=E0=B8=82=E0=B9=89=E0=B8=AD=E0=B8=A1=E0=B8=B9=E0=B8=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/top.vue | 8 ++++---- src/modules/01_exam/components/Address.vue | 2 ++ src/modules/01_exam/components/Family.vue | 2 ++ src/modules/01_exam/components/Image.vue | 9 ++++++++- src/modules/01_exam/components/Information.vue | 9 ++++++++- src/modules/01_exam/components/Occupation.vue | 9 ++++++++- src/modules/01_exam/components/OtherFile.vue | 2 ++ 7 files changed, 34 insertions(+), 7 deletions(-) diff --git a/src/components/top.vue b/src/components/top.vue index 403412f..4d8e9c3 100644 --- a/src/components/top.vue +++ b/src/components/top.vue @@ -6,7 +6,7 @@ {{ header }} -
+
- +
@@ -71,7 +71,7 @@ const props = defineProps({ }, addData: { type: Boolean, - defualt: false + defualt: true }, add: { type: Function, diff --git a/src/modules/01_exam/components/Address.vue b/src/modules/01_exam/components/Address.vue index 6b1041e..52afe72 100644 --- a/src/modules/01_exam/components/Address.vue +++ b/src/modules/01_exam/components/Address.vue @@ -13,6 +13,7 @@ icon="mdi-map-marker" :save="saveData" :history="true" + :addData="addData" />
@@ -236,6 +237,7 @@ const mixin = useCounterMixin() const { date2Thai, calAge } = mixin const edit = ref(false) +const addData = ref(false) const addressData = ref
(defaultAddress) const myform = ref() const codep = ref('') diff --git a/src/modules/01_exam/components/Family.vue b/src/modules/01_exam/components/Family.vue index ac35329..7d37a5d 100644 --- a/src/modules/01_exam/components/Family.vue +++ b/src/modules/01_exam/components/Family.vue @@ -6,6 +6,7 @@ header="ข้อมูลครอบครัว" icon="mdi-account-group" :save="saveData" + :addData="addData" />
@@ -279,6 +280,7 @@ const mixin = useCounterMixin() const { date2Thai, calAge } = mixin const edit = ref(false) +const addData = ref(false) const myform = ref() const familyData = ref(defaultFamily) const statusOptions = ref([]) diff --git a/src/modules/01_exam/components/Image.vue b/src/modules/01_exam/components/Image.vue index 3e10382..f469333 100644 --- a/src/modules/01_exam/components/Image.vue +++ b/src/modules/01_exam/components/Image.vue @@ -1,7 +1,13 @@