From e00ed7a2245feb6273e2015693f4709616735883 Mon Sep 17 00:00:00 2001 From: Thanit Konmek Date: Thu, 13 Jul 2023 09:43:09 +0700 Subject: [PATCH 1/2] =?UTF-8?q?commit=20=E0=B9=81=E0=B8=81=E0=B9=89?= =?UTF-8?q?=E0=B9=84=E0=B8=82=20step4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PersonalDetail/Information/Address.vue | 15 +++++++++-- .../05_placement/interface/index/Main.ts | 27 ++++++++++++++++--- 2 files changed, 36 insertions(+), 6 deletions(-) diff --git a/src/modules/05_placement/components/PersonalDetail/Information/Address.vue b/src/modules/05_placement/components/PersonalDetail/Information/Address.vue index 623b91beb..3b61017e1 100644 --- a/src/modules/05_placement/components/PersonalDetail/Information/Address.vue +++ b/src/modules/05_placement/components/PersonalDetail/Information/Address.vue @@ -17,8 +17,15 @@ import type { RequestItemsHistoryObject } from "@/modules//05_placement/interfac import type { ResponseObject } from "@/modules//05_placement/interface/response/Address"; import HistoryTable from "@/components/TableHistory.vue"; import { useRoute } from "vue-router"; -import type { AddressOps } from "@/modules//05_placement/interface/index/Main"; + +import { AddressDataDefualt } from "@/modules//05_placement/interface/index/Main"; + +import type { + AddressOps, + Address as AddressType, +} from "@/modules//05_placement/interface/index/Main"; import type { QTableProps } from "quasar"; +import type { PropType } from "vue"; const props = defineProps({ statusEdit: { @@ -33,6 +40,10 @@ const props = defineProps({ type: Function, default: () => console.log("not function"), }, + data: { + type: Object as PropType, + default: AddressDataDefualt, + }, }); const emit = defineEmits(["update:statusEdit"]); @@ -835,4 +846,4 @@ const getClass = (val: boolean) => { - \ No newline at end of file + diff --git a/src/modules/05_placement/interface/index/Main.ts b/src/modules/05_placement/interface/index/Main.ts index 528de79ab..1be6b591d 100644 --- a/src/modules/05_placement/interface/index/Main.ts +++ b/src/modules/05_placement/interface/index/Main.ts @@ -1,12 +1,12 @@ import type { zipCodeOption } from "../../components/PersonalDetail/profileType"; interface DataOption { - id: number|null; - name:string|null; + id: number | null; + name: string | null; disable?: boolean; } interface DataOption1 { - id: string|null; - name:string|null; + id: string | null; + name: string | null; disable?: boolean; } interface DataOptionInsignia { @@ -133,6 +133,24 @@ interface Address { registSame: boolean; } +const AddressDataDefualt: Address = { + registSubDistrict: "", + registSubDistrictId: "", + registZipCode: "", + registDistrict: "", + registDistrictId: "", + registProvince: "", + registProvinceId: "", + currentSubDistrict: "", + currentSubDistrictId: "", + currentZipCode: "", + currentDistrict: "", + currentDistrictId: "", + currentProvince: "", + currentProvinceId: "", + registSame: false, +}; + export type { DataOption, DataOptionInsignia, @@ -149,4 +167,5 @@ export type { Education, Family, Address, + AddressDataDefualt, }; From 2149f2ae5e905d98a9c7b43b34e522cbe0a4d475 Mon Sep 17 00:00:00 2001 From: Thanit Konmek Date: Thu, 13 Jul 2023 09:46:15 +0700 Subject: [PATCH 2/2] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=E0=B9=84?= =?UTF-8?q?=E0=B8=82=20step=E0=B8=A0=20=E0=B8=97=E0=B8=B5=E0=B9=88?= =?UTF-8?q?=E0=B8=AB=E0=B8=B2=E0=B8=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/OrderPlacement/step/step04.vue | 235 +++++++++++++----- 1 file changed, 173 insertions(+), 62 deletions(-) diff --git a/src/modules/05_placement/components/OrderPlacement/step/step04.vue b/src/modules/05_placement/components/OrderPlacement/step/step04.vue index 7d9d21328..62502cd72 100644 --- a/src/modules/05_placement/components/OrderPlacement/step/step04.vue +++ b/src/modules/05_placement/components/OrderPlacement/step/step04.vue @@ -22,11 +22,15 @@ - + ไฟล์ .PDF - + ไฟล์ .docx @@ -47,82 +51,84 @@ - + ไฟล์ .PDF - + ไฟล์ .xls + + - + -
+ - - - + + - - หน้าที่ {{ page }} จาก {{ numOfPages }} - + + หน้าที่ {{ page }} จาก {{ numOfPages }} + - - - -
-
- - -
-
- - - + + +
+
+ + +
+
+ + + - - หน้าที่ {{ page }} จาก {{ numOfPages }} - + + หน้าที่ {{ page }} จาก {{ numOfPages }} + - - - -
+ + + +
- - - @@ -302,9 +323,97 @@
+ ต่อไป + --> + + + + + +
+ +
+ +
+ + + + + + หน้าที่ {{ page }} จาก {{ numOfPages }} + + + + + +
+
+ + +
+
+ + + + + + หน้าที่ {{ page }} จาก {{ numOfPages }} + + + + + +
+
+
+