- คำสั่ง เพิ่ม get เรื่องร้องเรียน

- แก้ bug
This commit is contained in:
Warunee Tamkoo 2024-01-15 12:07:13 +07:00
parent 53cd8e593c
commit 79288c80f5
5 changed files with 111 additions and 20 deletions

View file

@ -1,5 +1,6 @@
import env from "../index";
const placement = `${env.API_PLACEMENT_URI}/placement`;
const disciplineReportList = `${env.API_URI}/discipline/complaint/report`;
const orgTree = `${env.API_URI_ORG_TREE}`;
const order = `${env.API_PLACEMENT_URI}`;
const receive = `${env.API_PLACEMENT_URI}/placement/Receive`;
@ -10,7 +11,6 @@ const placemenRelocation = `${placement}/relocation`;
const placemenOther = `${env.API_URI}/retirement/other`;
const placemenAppointment = `${placement}/appointment`;
export default {
MainDetail: (year: number) => `${placement}/exam/${year}`,
yearOptions: () => `${placement}/fiscal`,
@ -60,10 +60,10 @@ export default {
// clear Position
clearPosition: (personalId: string) =>
`${placement}/position/clear/${personalId}`,
// Document
// Document
documentByid: (personalId: string) => `${placement}/doc/${personalId}`,
documentDelid: (personalId: string, docid: string) => `${placement}/doc/${personalId}/${docid}`,
documentDelid: (personalId: string, docid: string) =>
`${placement}/doc/${personalId}/${docid}`,
// order
organizationsOrder: () => `${order}/order/organizations`,
@ -99,7 +99,7 @@ export default {
orderReady: (id: string) => `${order}/order/ready/${id}`,
attachmentOrder: (orderId: string) => `${order}/order/attachment/${orderId}`,
searchOrderprofile: () => `${order}/order/search/profile/command`,
disciplineReportList,
//receive ระบบรับโอน
receiveData: () => `${receive}`,
receiveReport: `${receive}/report`,
@ -168,7 +168,9 @@ export default {
//appoint-employee
appointEmployee: () => `${placement}/appointment/temp`,
appointEmployeeByid: (id: string) => `${placement}/appointment/temp/${id}`,
appointEmployeePosition: (id: string) => `${placement}/appointment/temp/position/${id}`,
appointEmployeeOrder: (typeId: string) => `${placement}/appointment/temp/report/${typeId}`,
appointEmployeePosition: (id: string) =>
`${placement}/appointment/temp/position/${id}`,
appointEmployeeOrder: (typeId: string) =>
`${placement}/appointment/temp/report/${typeId}`,
apppointmentPositionUse: () => `${placement}/appointment/temp/use`,
};