diff --git a/src/api/02_organizational/api.organization.ts b/src/api/02_organizational/api.organization.ts index 95bfd4f19..41c50526d 100644 --- a/src/api/02_organizational/api.organization.ts +++ b/src/api/02_organizational/api.organization.ts @@ -3,6 +3,7 @@ import env from "../index"; const organization = `${env.API_URI}/org`; const orgPos = `${env.API_URI}/org/pos`; const orgProfile = `${env.API_URI}/org/profile`; +const orgEmployeePos = `${env.API_URI}/org/employee/pos`; export default { /** โครงสร้างอัตรากำลัง*/ @@ -60,4 +61,12 @@ export default { activeOrganizationRoot: `${organization}/active/root`, activeOrganizationRootById: (id: string) => `${organization}/active/root/${id}`, + + /** ข้อมูลตำแหน่งลูกจ้างประจำ*/ + orgEmployeePos: `${orgEmployeePos}/position`, + orgEmployeePosById: (id: string) => `${orgEmployeePos}/position/${id}`, + orgEmployeeType: `${orgEmployeePos}/type`, + orgEmployeeTypeById: (id: string) => `${orgEmployeePos}/type/${id}`, + orgEmployeelevel: `${orgEmployeePos}/level`, + orgEmployeelevelById: (id: string) => `${orgEmployeePos}/level/${id}`, }; diff --git a/src/modules/01_metadataNew/components/position-employee/01ListPosition.vue b/src/modules/01_metadataNew/components/position-employee/01ListPosition.vue index 2f2f0af64..d7fcc9ff9 100644 --- a/src/modules/01_metadataNew/components/position-employee/01ListPosition.vue +++ b/src/modules/01_metadataNew/components/position-employee/01ListPosition.vue @@ -1,53 +1,35 @@