updated format code

This commit is contained in:
Warunee Tamkoo 2024-09-03 11:28:01 +07:00
parent b75d69ea08
commit b14bad2249
241 changed files with 14012 additions and 13811 deletions

View file

@ -1,14 +1,14 @@
/**
* API Structure + Org Chart
*/
import env from "../index"
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/`
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}`
}
chartGetTreeRoot: `${treeRoot}`,
chartGetStructure: (id: string) => `${structChart}${id}`,
chartGetOrg: (id: string) => `${orgChart}${id}`,
};

View file

@ -90,5 +90,4 @@ export default {
organizationEmployeePositionId: (profileId: string) =>
`${organizationEmployee}position/${profileId}`,
organizationEmployeeSendOrder: `${organizationEmployee}report`,
};