ข้อมูลทะเบียนประวัติ => fix bug
This commit is contained in:
parent
b3a4db71ea
commit
201062289f
9 changed files with 259 additions and 43 deletions
|
|
@ -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}`,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue