ทะเบียนประวัติ: ข้อมูลที่อยู่ (history, การ fetch ข้อมูล)

This commit is contained in:
puriphatt 2024-03-28 15:49:33 +07:00
parent 569ab2931a
commit cc90c26942
5 changed files with 129 additions and 229 deletions

View file

@ -10,10 +10,9 @@ export default {
// metadata
profileNewMetaMain: `${metadata}main/person`,
profileNewGender: `${metadata}gender`,
profileNewReligion: `${metadata}religion`,
profileNewRelationship: `${metadata}relationship`,
profileNewBloodGroup: `${metadata}bloodGroup`,
profileNewProvince: `${metadata}province`,
profileNewDistrictByPId: (id: string) => `${metadata}province/${id}`,
profileNewSubDistrictByDId: (id: string) => `${metadata}district/${id}`,
// ประวัติส่วนตัว
profileNewProfileByProfileId: (profileId: string) =>
@ -159,8 +158,4 @@ export default {
`${registryNew}changeName/${changeNameId}`,
profileNewChangeNameHisByChangeNameId: (changeNameId: string) =>
`${registryNew}changeName/history/${changeNameId}`,
profileSalaryNew: `${salaryNew}`,
profileListSalaryNew: (id: string) => `${salaryNew}/${id}`,
profileListSalaryHistoryNew: (profileId: string) =>
`${salaryNew}/history/${profileId}`,
};