Merge branch 'develop' of github.com:Frappet/bma-ehr-frontend into me
This commit is contained in:
commit
1459e3042e
38 changed files with 9448 additions and 2409 deletions
|
|
@ -8,7 +8,7 @@ const placemenHelpGov = `${placement}/officer`;
|
|||
const placemenRepatriation = `${placement}/repatriation`;
|
||||
const placemenRelocation = `${placement}/relocation`;
|
||||
const placemenOther = `${env.API_URI}/retirement/other`;
|
||||
const placemenAppointment = `${env.API_URI}/retirement/appointment`;
|
||||
const placemenAppointment = `${placement}/appointment`;
|
||||
|
||||
export default {
|
||||
MainDetail: (year: number) => `${placement}/exam/${year}`,
|
||||
|
|
@ -108,23 +108,40 @@ export default {
|
|||
|
||||
// แต่งตั้ง-เลื่อน
|
||||
placemenAppointment,
|
||||
appointmentMain: () => `${placement}/appointment`,
|
||||
appointmentByid: (id: string) => `${placement}/appointment/${id}`,
|
||||
appointmentDelete: (id: string) => `${placement}/appointment/${id}`,
|
||||
appointmentPosition: (id: string) => `${placement}/appointment/position/${id}`,
|
||||
apppointmentReport: (id: string) => `${placement}/appointment/report/${id}`,
|
||||
|
||||
// ช่วยราชการ
|
||||
placemenHelpGov,
|
||||
officerMain: () => `${placement}/officer`,
|
||||
officerDetail: (id:string) => `${placement}/officer/${id}`,
|
||||
officerMainDelete: (id:string) => `${placement}/officer/${id}`,
|
||||
officerDetail: (id: string) => `${placement}/officer/${id}`,
|
||||
officerMainDelete: (id: string) => `${placement}/officer/${id}`,
|
||||
officerMainReport: () => `${placement}/officer/report`,
|
||||
officerMainEdit: (id:string) => `${placemenHelpGov}/${id}`,
|
||||
|
||||
// ส่งตัวกลับ
|
||||
placemenRepatriation,
|
||||
repatriationMain: () => `${placement}/repatriation`,
|
||||
repatriationDetail: (id:string) => `${placement}/repatriation/${id}`,
|
||||
repatriationMainDelete: (id:string) => `${placement}/repatriation/${id}`,
|
||||
repatriationDetail: (id: string) => `${placement}/repatriation/${id}`,
|
||||
repatriationMainDelete: (id: string) => `${placement}/repatriation/${id}`,
|
||||
repatriationMainReport: () => `${placement}/repatriation/report`,
|
||||
repatriationMainEdit: (id:string) => `${placemenRepatriation}/${id}`,
|
||||
// ขอย้าย
|
||||
placemenRelocation,
|
||||
|
||||
relocationMain: () => `${placement}/relocation`,
|
||||
relocationDetail: (id:string) => `${placement}/relocation/${id}`,
|
||||
relocationMainDelete: (id:string) => `${placement}/relocation/${id}`,
|
||||
relocationMainReport: () => `${placement}/relocation/report`,
|
||||
relocationMainPut: (id:string) => `${placement}/relocation/position/${id}`,
|
||||
relocationMainEdit: (id:string) => `${placemenRelocation}/${id}`,
|
||||
// อื่นๆ
|
||||
placemenOther,
|
||||
otherMain: () => `${placemenOther}`,
|
||||
otherPosition: (id: string) => `${placemenOther}/position/${id}`,
|
||||
otherReport: (id: string) => `${placemenOther}/report/${id}`,
|
||||
otherByid: (id: string) => `${placemenOther}/${id}`,
|
||||
|
||||
};
|
||||
|
|
|
|||
|
|
@ -28,10 +28,19 @@ export default {
|
|||
resignReject: (id: string) => `${retirement}/resign/reject/${id}`,
|
||||
// ปลดออก
|
||||
retirementDischarge,
|
||||
listDischared: () => `${retirement}/dischared`,
|
||||
discharedByid: (id: string) => `${retirement}/dischared/${id}`,
|
||||
discharedReport: `${retirement}/dischared/report`,
|
||||
|
||||
// ไล่ออก
|
||||
retirementExpulsion,
|
||||
listExpulsion: () => `${retirement}/expulsion`,
|
||||
expulsionByid: (id: string) => `${retirement}/expulsion/${id}`,
|
||||
expulsionReport: `${retirement}/expulsion/report`,
|
||||
|
||||
// ให้ออก
|
||||
retirementOut,
|
||||
listOut: () => `${retirement}/out`,
|
||||
outByid: (id: string) => `${retirement}/out/${id}`,
|
||||
outReport: `${retirement}/out/report`,
|
||||
};
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@ const config = ref<any>({
|
|||
"https://s3cluster.frappet.com/bma-ehr-fpt/organization/strueture/tree_20230712_172702.json",
|
||||
MEET_URI: "meet.frappet.com",
|
||||
API_RETIREMENT_URI: "https://bma-ehr.frappet.synology.me/api/v1",
|
||||
// API_PROBATION_URI: "https://ehr.joolsoft.com/v1",
|
||||
API_PROBATION_URI: "https://bmaehr.joolsoft.com/nodeapi/v1",
|
||||
// API_PROBATION_URI: "http://192.168.1.151:7776/v1",
|
||||
API_DASHBOARD_URI: "http://192.168.1.9:6026/api/v1",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue