Merge branch 'develop' into anandadev
This commit is contained in:
commit
17e62cbac1
50 changed files with 12112 additions and 2115 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}`,
|
||||
|
|
@ -93,6 +93,7 @@ export default {
|
|||
|
||||
//receive ระบบรับโอน
|
||||
receiveData: () => `${receive}`,
|
||||
receiveReport: `${receive}/report`,
|
||||
receiveDataId: (id: string) => `${receive}/${id}`,
|
||||
receivePosition: (id: string) => `${receive}/position/${id}`,
|
||||
|
||||
|
|
@ -104,18 +105,43 @@ export default {
|
|||
transferUserId: (id: string) => `${transfer}/user/${id}`,
|
||||
transferConfirmId: (id: string) => `${transfer}/confirm/${id}`,
|
||||
|
||||
|
||||
// แต่งตั้ง-เลื่อน
|
||||
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}`,
|
||||
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}`,
|
||||
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}`,
|
||||
|
||||
};
|
||||
|
|
|
|||
|
|
@ -3,6 +3,8 @@ const dataOptions = `${env.API_PROBATION_URI}/data-options`;
|
|||
const personal = `${env.API_PROBATION_URI}/personal`;
|
||||
const calculate = `${env.API_PROBATION_URI}/calculate`;
|
||||
const finish = `${env.API_PROBATION_URI}/assign`;
|
||||
const evaluate = `${env.API_PROBATION_URI}`;
|
||||
|
||||
|
||||
export default {
|
||||
competencyOptions: (personalId: string) =>
|
||||
|
|
@ -25,6 +27,36 @@ export default {
|
|||
personalAdd: () => `${personal}/add`,
|
||||
probationGetAssignList: (personalId:string) =>
|
||||
`${finish}/probation-assign-list?personal_id=${personalId}`,
|
||||
probationsGetAssign: (assignId:string) =>`${finish}/probation-assign?assign_id=${assignId}`
|
||||
probationsGetAssign: (assignId:string) =>`${finish}/probation-assign?assign_id=${assignId}`,
|
||||
// probationGetAssignList: (personalId: string) =>
|
||||
// `${finish}/probation-assign-list?personal_id=${personalId}`,
|
||||
// clearPosition: (personalId:string) => `${placement}/position/clear/${personalId}`
|
||||
|
||||
// บันทึกผล
|
||||
formevaluate: (id: string) => `${evaluate}/evaluate-record?assign_id=${id}`,
|
||||
formevaluateround: (id: string, no: string) => `${evaluate}/evaluate-record?assign_id=${id}&evaluate_no=${no}`,
|
||||
formevaluateRecord: (id: string) => `${evaluate}/evaluate-record/create?assign_id=${id}`,
|
||||
createformevaluate: (id: string) => `${evaluate}/evaluate-record?id=${id}`,
|
||||
|
||||
//แบบประเมินผล (ผู้บังคับบัญชา)
|
||||
evaluateCreate: (id: string) => `${evaluate}/evaluate/create?assign_id=${id}`,
|
||||
evaluatecommader: (id: string, no: string) => `${evaluate}/evaluate?assign_id=${id}&evaluate_no=${no}`,
|
||||
createformCommader: (id: string) => `${evaluate}/evaluate?id=${id}`,
|
||||
|
||||
//แบบประเมินผล (คณะกรรมการ)
|
||||
evaluateChairman: (id: string) => `${evaluate}/evaluate-chairman/create?assign_id=${id}`,
|
||||
evaluateRoundChairman: (id: string, no: string) => `${evaluate}/evaluate-chairman?assign_id=${id}&evaluate_no=${no}`,
|
||||
createformChairman: (id: string) => `${evaluate}/evaluate-chairman?id=${id}`,
|
||||
|
||||
//แบบรายงาน
|
||||
evaluateReportcreate: (id: string) => `${evaluate}/evaluate-result/create?assign_id=${id}`,
|
||||
evaluateReport: (id: string) => `${evaluate}/evaluate-result?assign_id=${id}`,
|
||||
createformReport: (id: string) => `${evaluate}/evaluate-result?id=${id}`,
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
|
|
|||
|
|
@ -26,7 +26,9 @@ 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://ehr.joolsoft.com/v1",
|
||||
API_PROBATION_URI: "https://bmaehr.joolsoft.com/nodeapi/v1",
|
||||
// API_PROBATION_URI: "http://192.168.1.151:7776/v1",
|
||||
},
|
||||
test: {
|
||||
API_URI: "http://localhost:5010/api/v1",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue