ทะเบียนประวัติ ==> ปรับ Path API histiory
This commit is contained in:
parent
b14bad2249
commit
35b08b1b47
1 changed files with 12 additions and 12 deletions
|
|
@ -44,7 +44,7 @@ export default {
|
|||
profileNewInsignById: (dataId: string, type: string) =>
|
||||
`${registryNew}${type}/insignia/${dataId}`,
|
||||
profileNewInsignHisById: (dataId: string, type: string) =>
|
||||
`${registryNew}${type}/insignia/history/${dataId}`,
|
||||
`${registryNew}${type}/insignia/admin/history/${dataId}`,
|
||||
|
||||
// ประกาศเกียรติคุณ
|
||||
profileNewHonor: (type: string) => `${registryNew}${type}/honor`,
|
||||
|
|
@ -53,7 +53,7 @@ export default {
|
|||
profileNewHonorById: (dataId: string, type: string) =>
|
||||
`${registryNew}${type}/honor/${dataId}`,
|
||||
profileNewHonorHisById: (dataId: string, type: string) =>
|
||||
`${registryNew}${type}/honor/history/${dataId}`,
|
||||
`${registryNew}${type}/honor/admin/history/${dataId}`,
|
||||
|
||||
// ผลการประเมินการปฏิบัติราชการ
|
||||
profileNewAssessments: (type: string) => `${registryNew}${type}/assessments`,
|
||||
|
|
@ -62,7 +62,7 @@ export default {
|
|||
profileNewAssessmentsById: (dataId: string, type: string) =>
|
||||
`${registryNew}${type}/assessments/${dataId}`,
|
||||
profileNewAssessmentsHisById: (dataId: string, type: string) =>
|
||||
`${registryNew}${type}/assessments/history/${dataId}`,
|
||||
`${registryNew}${type}/assessments/admin/history/${dataId}`,
|
||||
|
||||
// การฝึกอบรม
|
||||
profileNewTraining: (type: string) => `${registryNew}${type}/training`,
|
||||
|
|
@ -71,7 +71,7 @@ export default {
|
|||
profileNewTrainingByTrainingId: (trainingId: string, type: string) =>
|
||||
`${registryNew}${type}/training/${trainingId}`,
|
||||
profileNewTrainingHisByTrainingId: (trainingId: string, type: string) =>
|
||||
`${registryNew}${type}/training/history/${trainingId}`,
|
||||
`${registryNew}${type}/training/admin/history/${trainingId}`,
|
||||
|
||||
// ประวัติการศึกษา
|
||||
profileNewEducation: (type: string) => `${registryNew}${type}/educations`,
|
||||
|
|
@ -80,7 +80,7 @@ export default {
|
|||
profileNewEducationByEducationId: (educationId: string, type: string) =>
|
||||
`${registryNew}${type}/educations/${educationId}`,
|
||||
profileNewEducationHisByEducationId: (educationsId: string, type: string) =>
|
||||
`${registryNew}${type}/educations/history/${educationsId}`,
|
||||
`${registryNew}${type}/educations/admin/history/${educationsId}`,
|
||||
|
||||
// ความสามารถพิเศษ
|
||||
profileNewAbility: (type: string) => `${registryNew}${type}/ability`,
|
||||
|
|
@ -89,7 +89,7 @@ export default {
|
|||
profileNewAbilityByAbilityId: (abilityId: string, type: string) =>
|
||||
`${registryNew}${type}/ability/${abilityId}`,
|
||||
profileNewAbilityHisByAbilityId: (abilityId: string, type: string) =>
|
||||
`${registryNew}${type}/ability/history/${abilityId}`,
|
||||
`${registryNew}${type}/ability/admin/history/${abilityId}`,
|
||||
|
||||
// ใบอนุญาตประกอบวิชาชีพ
|
||||
profileNewCertificate: (type: string) => `${registryNew}${type}/certificate`,
|
||||
|
|
@ -100,7 +100,7 @@ export default {
|
|||
profileNewCertificateHisByCertificateId: (
|
||||
certificateId: string,
|
||||
type: string
|
||||
) => `${registryNew}${type}/certificate/history/${certificateId}`,
|
||||
) => `${registryNew}${type}/certificate/admin/history/${certificateId}`,
|
||||
|
||||
// ข้อมูลอื่นๆ
|
||||
profileNewOther: (type: string) => `${registryNew}${type}/other`,
|
||||
|
|
@ -109,7 +109,7 @@ export default {
|
|||
profileNewOtherById: (dataId: string, type: string) =>
|
||||
`${registryNew}${type}/other/${dataId}`,
|
||||
profileNewOtherHisById: (dataId: string, type: string) =>
|
||||
`${registryNew}${type}/other/history/${dataId}`,
|
||||
`${registryNew}${type}/other/admin/history/${dataId}`,
|
||||
|
||||
// ข้อมูลครอบครัว
|
||||
profileNewFamily: (type: string) => `${registryNew}${type}/family`,
|
||||
|
|
@ -127,7 +127,7 @@ export default {
|
|||
profileNewDisciplineByDisciplineId: (disciplineId: string, type: string) =>
|
||||
`${registryNew}${type}/discipline/${disciplineId}`,
|
||||
profileNewDisciplineHisByDisciplineId: (disciplineId: string, type: string) =>
|
||||
`${registryNew}${type}/discipline/history/${disciplineId}`,
|
||||
`${registryNew}${type}/discipline/admin/history/${disciplineId}`,
|
||||
disciplineListCard: (profileId: string, type: string) =>
|
||||
`${registryNew}${type}/discipline/admin/${profileId}`, // noPermission
|
||||
|
||||
|
|
@ -138,7 +138,7 @@ export default {
|
|||
profileNewDutyByDutyId: (dutyId: string, type: string) =>
|
||||
`${registryNew}${type}/duty/${dutyId}`,
|
||||
profileNewDutyHisByDutyId: (dutyId: string, type: string) =>
|
||||
`${registryNew}${type}/duty/history/${dutyId}`,
|
||||
`${registryNew}${type}/duty/admin/history/${dutyId}`,
|
||||
|
||||
//ข้อมูลราชการ
|
||||
profileNewGovernment: (type: string) => `${registryNew}${type}/government`,
|
||||
|
|
@ -154,7 +154,7 @@ export default {
|
|||
profileNewLeaveById: (id: string, type: string) =>
|
||||
`${registryNew}${type}/leave/${id}`,
|
||||
profileNewLeaveHistory: (id: string, type: string) =>
|
||||
`${registryNew}${type}/leave/history/${id}`,
|
||||
`${registryNew}${type}/leave/admin/history/${id}`,
|
||||
profileCheckDate: () => `${env.API_URI}/leave/user/check`,
|
||||
profileNewLeaveType: () => `${env.API_URI}/leave/type`,
|
||||
leaveListCard: (id: string, type: string) =>
|
||||
|
|
@ -165,7 +165,7 @@ export default {
|
|||
profileListSalaryNew: (id: string, type: string) =>
|
||||
`${registryNew}${type}/salary/${id}`,
|
||||
profileListSalaryHistoryNew: (profileId: string, type: string) =>
|
||||
`${registryNew}${type}/salary/history/${profileId}`,
|
||||
`${registryNew}${type}/salary/admin/history/${profileId}`,
|
||||
profileSalarySwapNew: (type: string, id: string, type2: string) =>
|
||||
`${registryNew}${type2}/salary/swap/${type}/${id}`,
|
||||
salaryListCard: (id: string, type: string) =>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue