@@ -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 @@
-
+
(false)
+const addData = ref(false)
const fileUpload = async (file: any) => {
return {
url: 'http://localhost:4444/upload',
diff --git a/src/modules/01_exam/components/Information.vue b/src/modules/01_exam/components/Information.vue
index e679ba5..c984ae6 100644
--- a/src/modules/01_exam/components/Information.vue
+++ b/src/modules/01_exam/components/Information.vue
@@ -1,7 +1,13 @@
-
+
@@ -306,6 +312,7 @@ const mixin = useCounterMixin()
const { date2Thai, calAge } = mixin
const edit = ref
(false)
+const addData = ref(false)
const informaData = ref(defaultInformation)
const provinceOptions = ref([])
const myform = ref()
diff --git a/src/modules/01_exam/components/Occupation.vue b/src/modules/01_exam/components/Occupation.vue
index 7985488..04d642e 100644
--- a/src/modules/01_exam/components/Occupation.vue
+++ b/src/modules/01_exam/components/Occupation.vue
@@ -1,7 +1,13 @@
-
+
@@ -230,6 +236,7 @@ import { defaultOccupation } from '@/modules/01_exam/interface/index/Main'
import HeaderTop from '@/components/top.vue'
const edit = ref
(false)
+const addData = ref(false)
const occupationData = ref(defaultOccupation)
const myform = ref()
diff --git a/src/modules/01_exam/components/OtherFile.vue b/src/modules/01_exam/components/OtherFile.vue
index 1d0965f..5b00b71 100644
--- a/src/modules/01_exam/components/OtherFile.vue
+++ b/src/modules/01_exam/components/OtherFile.vue
@@ -6,6 +6,7 @@
header="เอกสารหลักฐาน"
icon="mdi-file-document"
:history="false"
+ :addData="addData"
/>
@@ -62,6 +63,7 @@ import { ref } from 'vue'
import HeaderTop from '@/components/top.vue'
const edit = ref(false)
+const addData = ref(false)
const files = ref([
{
key: 1,