feat: add position and salary review

This commit is contained in:
Warunee Tamkoo 2026-01-27 16:21:25 +07:00
parent 226469dd85
commit 9f5d1f7913
9 changed files with 1589 additions and 79 deletions

View file

@ -3,7 +3,6 @@ import env from "../index";
const metadata = `${env.API_URI}/org/metadata/`;
const org = `${env.API_URI}/org`;
const profileOrg = `${env.API_URI}/org/profile`;
const report = `${env.API_URI}/org`;
const workflow = `${env.API_URI}/org/workflow`;
export default {
orgCommandCode: `${metadata}commandCode`,
@ -70,9 +69,9 @@ export default {
dataUserOtherByType: (type: string) => `${org}/profile${type}/other/user`,
profileReportId: (profileId: string, type: string) =>
`${report}/${type}/kk1/${profileId}`,
`${org}/${type}/kk1/${profileId}`,
profileKp7ShortId: (profileId: string, type: string) =>
`${report}/${type}/kp7-short/${profileId}`,
`${org}/${type}/kp7-short/${profileId}`,
/** history */
dataUserInformatioHistory: (type: string) =>
@ -126,7 +125,7 @@ export default {
dataUserCertificateHistoryByType: (
emType: string,
type: string,
id: string
id: string,
) => `${org}/profile${emType}/${type}/history/${id}`,
dataUserHonorHistory: (type: string, emType: string, id: string) =>
`${profileOrg}${emType}/${type}/history/${id}`,
@ -176,4 +175,7 @@ export default {
changePassword: `${org}/keycloak/user/change-password`,
orgAssistance: (id: string) => `${profileOrg}/assistance/${id}`,
// ตรวจสอบข้อมูลตำแหน่งและเงินเดือน
profileSalaryTemp: `${profileOrg}/salaryTemp`,
};