2023-07-04 09:41:24 +07:00
|
|
|
import env from "../index"
|
2023-07-11 17:58:24 +07:00
|
|
|
const placement = `${env.API_URI}/Placement/placement`
|
2023-07-12 11:34:51 +07:00
|
|
|
const orgTree = `${env.API_URI_ORG_TREE}`;
|
2023-06-01 12:54:58 +07:00
|
|
|
|
2023-07-11 17:58:24 +07:00
|
|
|
export default {
|
2023-07-11 18:04:54 +07:00
|
|
|
MainDetail: (year: number) => `${placement}/exam/${year}`,
|
|
|
|
|
yearOptions: () => `${placement}/fiscal`,
|
|
|
|
|
redirectToPage: (examId: string) => `${placement}/pass/${examId}`,
|
|
|
|
|
disclaimF: () => `${placement}/pass/disclaim`,
|
|
|
|
|
defermentF: () => `${placement}/pass/deferment`,
|
|
|
|
|
getStatCard: (examId: string) => `${placement}/pass/stat/${examId}`,
|
2023-07-11 17:58:24 +07:00
|
|
|
getDatapersonal: (id: string) => `${placement}/personal/${id}`,
|
2023-07-12 11:37:22 +07:00
|
|
|
putProperty: (id: string) => `${placement}/property/${id}`,
|
|
|
|
|
orgTree: orgTree,
|
|
|
|
|
placementPass: () => `${placement}/pass`
|
|
|
|
|
}
|