updated path api get tree by system

This commit is contained in:
Warunee Tamkoo 2024-08-20 15:47:59 +07:00
parent 03e925a41b
commit b38c9c69b5

View file

@ -13,7 +13,8 @@ export default {
/** โครงสร้างอัตรากำลัง*/
activeOrganization: `${organization}/active`,
orgByid: (id: string) => `${organization}/${id}`,
orgByIdSystem: (id: string, sys: string) => `${organization}/${id}/${sys}`,
orgByIdSystem: (id: string, sys: string) =>
`${organization}/system/${id}/${sys}`,
createOrganization: `${organization}/draft`,
createOrgLevel: (type: string) => `${organization}/${type}`,
orgLevelByid: (type: string, id: string) => `${organization}/${type}/${id}`,