ทะเบียนประวัติ: ลบlog+เพิ่มapi

This commit is contained in:
oat_dev 2024-03-21 11:37:08 +07:00
parent cd9ffe4b94
commit 857413ea98
2 changed files with 10 additions and 2 deletions

View file

@ -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}`,
};

View file

@ -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);