step2 ยังไม่เสร็จ ,step 3 เสร็จแล้ว ออกคำสั่ง

This commit is contained in:
Thanit Konmek 2023-08-08 00:22:26 +07:00
parent c613d3743e
commit e650e992aa
8 changed files with 1127 additions and 646 deletions

View file

@ -45,19 +45,55 @@ export default {
//education
placementEducationId: (id: string) => `${placement}/education/${id}`,
// position
// position
placementPosition: () => `${placement}/position/use`,
// putPositiom
putPosition: (id: any) => `${placement}/position/${id}`,
// clear Position
clearPosition: (personalId: string) => `${placement}/position/clear/${personalId}`,
clearPosition: (personalId: string) =>
`${placement}/position/clear/${personalId}`,
// order
yearOptionsOrder: () => `${order}/order/fiscal-year`,
createOrder: () => `${order}/order/detail`,
listOrder: () => `${order}/order`,
detailOrder:(orderId:string) => `${order}/order/detail/${orderId}`,
deleteOrder:(orderId:string) => `${order}/order/${orderId}`,
deleteOrder: (orderId: string) => `${order}/order/${orderId}`,
typeOrder: () => `${order}/order/order-type`,
createOrder: () => `${order}/order/detail`,
detailOrder: (orderId: string) => `${order}/order/detail/${orderId}`,
examroundOrder: () => `${order}/order/detail/exam-round`,
//ข้อมูลเลือกรายชื่อออกคำสั่ง, ลบรายชื่อ
personsOrder: (orderId: string) => `${order}/order/persons/${orderId}`,
//เปลี่ยน status ของคำสั่งไปขั้นตอนถัดไป
nextOrder: (orderId: string) => `${order}/order/next/${orderId}`,
//เปลี่ยน status ของคำสั่งไปขั้นตอนถัดไป
preventOrder: (orderId: string) => `${order}/order/prev/${orderId}`,
//สลับลำดับข้อมูลในบัญชีแนบท้ายขึ้น
swapUpOrder: (personalId: string) => `${order}/order/swap/up/${personalId}`,
//สลับลำดับข้อมูลในบัญชีแนบท้ายลง
swapDownOrder: (personalId: string) =>
`${order}/order/swap/down/${personalId}`,
//บันทึกข้อมูลเงินเดือนสำหรับผู้บรรจุ
salaryOrder: (id: string) => `${order}/order/salary/${id}`,
// popup แสดงรายชื่อตามหน่วยงานที่เลือก , popup เลือกรายชื่อส่งสำเนา
copyOrderPersonsId: (id: string) => `${order}/order/copy-order/persons/${id}`,
copyOrder: `${order}/order/copy-order`,
copyOrderId: (id: string) => `${order}/order/copy-order/${id}`,
attachmentId: (id: string) => `${order}/order/attachment/${id}`,
attachmentOrderId: (orderId: string) =>
`${order}/order/attachment/order-file/${orderId}`,
attachmentFileId: (orderId: string) =>
`${order}/order/attachment/file/${orderId}`,
orderReady: (id: string) => `${order}/order/ready/${id}`,
};