ข้อมูลทะเบียนประวัติ => fix bug

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-06-28 14:59:47 +07:00
parent b3a4db71ea
commit 201062289f
9 changed files with 259 additions and 43 deletions

View file

@ -1,5 +1,6 @@
import env from "../index";
const metadata = `${env.API_URI}/org/metadata/`;
const org = `${env.API_URI}/org`;
const profileOrg = `${env.API_URI}/org/profile`;
const report = `${env.API_URI}/report/profile/`;
@ -66,4 +67,11 @@ export default {
/** struct-chart*/
orgStructChart: (id: string, type: string) =>
`${org}/struct-chart/${id}/${type}`,
/**
*
*/
profileNewProvince: `${metadata}province`,
profileNewDistrictByPId: (id: string) => `${metadata}province/${id}`,
profileNewSubDistrictByDId: (id: string) => `${metadata}district/${id}`,
};