placement ==> ปรับ API

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-08-29 11:17:29 +07:00
parent ac53080cec
commit b808db1c73
5 changed files with 29 additions and 16 deletions

View file

@ -101,6 +101,7 @@ export default {
//
orgCheckAvatar: (id: string) => `${orgProfile}/avatar/profileId/${id}`,
orgCheckAvatarCard: (path: string) => `${organization}/${path}`, //noPernission
changePosition: `${organization}/placement/change-position`,
changePositionById: `${organization}/placement/change-position/profile-all`,

View file

@ -146,6 +146,8 @@ export default {
`${registryNew}${type}/government/${id}`,
profileNewGovernmentHistory: (id: string, type: string) =>
`${registryNew}${type}/government/history/${id}`,
profileNewGovernmentCard: (id: string, type: string) =>
`${registryNew}${type}/government/admin/${id}`, // noPermission
//การลา
profileNewLeave: (type: string) => `${registryNew}${type}/leave`,