From 857413ea98e17ff461607262c4e8fddcdebdfe1f Mon Sep 17 00:00:00 2001 From: oat_dev Date: Thu, 21 Mar 2024 11:37:08 +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=A5=E0=B8=9Alog+=E0=B9=80=E0=B8=9E?= =?UTF-8?q?=E0=B8=B4=E0=B9=88=E0=B8=A1api?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/registry/api.registry.ts | 11 ++++++++++- src/modules/04_registryNew/views/detailView.vue | 1 - 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/api/registry/api.registry.ts b/src/api/registry/api.registry.ts index 58989a9b6..aa758679f 100644 --- a/src/api/registry/api.registry.ts +++ b/src/api/registry/api.registry.ts @@ -71,4 +71,13 @@ profileNewOtherByProfileId: (profileId: string) => profileNewOtherById: (dataId: string) => `${registryNew}other/${dataId}`, profileNewOtherHisById: (dataId: string) => `${registryNew}other/history/${dataId}`, -}; + + // ข้อมูลครอบครัว +profileNewFamily: `${registryNew}family`, +profileNewFamilyByProfileId: (profileId: string) => +`${registryNew}family/${profileId}`, +profileNewFamilyByFamilyId: (familyId: string) => +`${registryNew}family/${familyId}`, +profileNewFamilyeHisByFamilyId: (familyId: string) => +`${registryNew}family/history/${familyId}`, + }; diff --git a/src/modules/04_registryNew/views/detailView.vue b/src/modules/04_registryNew/views/detailView.vue index 07400ea0e..0e6316417 100644 --- a/src/modules/04_registryNew/views/detailView.vue +++ b/src/modules/04_registryNew/views/detailView.vue @@ -134,7 +134,6 @@ async function fetchDataPersonal() { .get(config.API.registryNewByProfileId(profileId.value)) .then((res) => { formDetail.value = res.data.result; - console.log(formDetail.value); }) .catch((err) => { messageError($q, err);