clone code
This commit is contained in:
parent
c9597d1e38
commit
d57bcd1719
362 changed files with 104804 additions and 0 deletions
14
src/api/02_organizational/api.chart.ts
Normal file
14
src/api/02_organizational/api.chart.ts
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
/**
|
||||
* API Structure + Org Chart
|
||||
*/
|
||||
import env from "../index"
|
||||
|
||||
const treeRoot = `${env.API_URI}/Organization/treeroot`
|
||||
const structChart = `${env.API_URI}/Organization/struct-chart/`
|
||||
const orgChart = `${env.API_URI}/Organization/org-chart/`
|
||||
|
||||
export default {
|
||||
chartGetTreeRoot: `${treeRoot}`,
|
||||
chartGetStructure: (id: string) => `${structChart}${id}`,
|
||||
chartGetOrg: (id: string) => `${orgChart}${id}`
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue