2023-12-19 15:05:48 +07:00
|
|
|
import env from "../index";
|
2023-12-19 16:35:27 +07:00
|
|
|
const evaluateDirectorMain = `${env.API_URI}/evaluation/director`;
|
2023-12-19 15:51:10 +07:00
|
|
|
const evaluation = `${env.API_URI}/evaluation`;
|
2023-12-21 11:23:56 +07:00
|
|
|
const evaluationFile = `${env.API_URI}/evaluation/document`
|
2023-12-19 15:05:48 +07:00
|
|
|
export default {
|
|
|
|
|
evaluateDirectorMain: () => `${evaluateDirectorMain}`,
|
2023-12-20 12:43:08 +07:00
|
|
|
evaluateDirectorById: (id: string) => `${evaluateDirectorMain}/${id}`,
|
2023-12-19 16:35:27 +07:00
|
|
|
|
2023-12-20 12:43:08 +07:00
|
|
|
evaluationMain: (page: number, pageSize: number, keyword: string) =>
|
|
|
|
|
`${evaluation}?page=${page}&pageSize=${pageSize}&keyword=${keyword}`,
|
2023-12-19 15:51:10 +07:00
|
|
|
meeting: () => `${evaluation}/meeting`,
|
|
|
|
|
meetingById: (id: string) => `${evaluation}/meeting/${id}`,
|
2023-12-21 11:23:56 +07:00
|
|
|
|
2023-12-21 16:33:54 +07:00
|
|
|
evaluationFilebyId:(volume:string,id:string,file:string) => `${evaluationFile}/${volume}/${id}/${file}`,
|
|
|
|
|
evaluationFileListbyId:(volume:string,id:string) => `${evaluationFile}/${volume}/${id}`
|
2023-12-19 15:05:48 +07:00
|
|
|
};
|