From ba9fea55153d9f59ec20dfc207d45cda5bfc0974 Mon Sep 17 00:00:00 2001 From: puriphatt Date: Wed, 27 Mar 2024 18:32:03 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B8=97=E0=B8=B0=E0=B9=80=E0=B8=9A=E0=B8=B5?= =?UTF-8?q?=E0=B8=A2=E0=B8=99=E0=B8=9B=E0=B8=A3=E0=B8=B0=E0=B8=A7=E0=B8=B1?= =?UTF-8?q?=E0=B8=95=E0=B8=B4:=20=E0=B8=82=E0=B9=89=E0=B8=AD=E0=B8=A1?= =?UTF-8?q?=E0=B8=B9=E0=B8=A5=E0=B8=97=E0=B8=B5=E0=B9=88=E0=B8=AD=E0=B8=A2?= =?UTF-8?q?=E0=B8=B9=E0=B9=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/registry/api.registry.ts | 7 + .../detail/PersonalInformation/03_Address.vue | 721 +++++++----------- .../interface/request/Address.ts | 63 +- .../interface/response/Address.ts | 27 +- src/modules/04_registryNew/stores/Address.ts | 211 +++++ 5 files changed, 510 insertions(+), 519 deletions(-) create mode 100644 src/modules/04_registryNew/stores/Address.ts diff --git a/src/api/registry/api.registry.ts b/src/api/registry/api.registry.ts index 9a82231f3..b23bb1ee7 100644 --- a/src/api/registry/api.registry.ts +++ b/src/api/registry/api.registry.ts @@ -22,6 +22,13 @@ export default { profileNewProfileHisById: (dataId: string) => `${registryNew}history/${dataId}`, + // ข้อมูลที่อยู่ + profileNewAddressByProfileId: (profileId: string) => + `${registryNew}address/${profileId}`, + profileNewAddressById: (dataId: string) => `${registryNew}address/${dataId}`, + profileNewAddressHisById: (dataId: string) => + `${registryNew}address/history/${dataId}`, + // บันทึกวันที่ไม่ได้รับเงินเดือนฯ profileNewNoPaid: `${registryNew}nopaid`, profileNewNoPaidByProfileId: (profileId: string) => diff --git a/src/modules/04_registryNew/components/detail/PersonalInformation/03_Address.vue b/src/modules/04_registryNew/components/detail/PersonalInformation/03_Address.vue index cc16c88a5..16593da7d 100644 --- a/src/modules/04_registryNew/components/detail/PersonalInformation/03_Address.vue +++ b/src/modules/04_registryNew/components/detail/PersonalInformation/03_Address.vue @@ -1,5 +1,5 @@