step 4 ออกคำสั่ง

This commit is contained in:
Warunee Tamkoo 2023-08-26 18:37:58 +07:00
parent 27340c9ca8
commit e8a4294ea1
8 changed files with 236 additions and 769 deletions

View file

@ -6,10 +6,10 @@ const reportOrder = `${env.API_REPORT2_URI}/report/order`;
const reportRetire = `${env.API_REPORT2_URI}/report/retire`;
export default {
reportOrderCover: (fileType: string, id: string) =>
`${reportOrder}/cover/${fileType}/${id}`,
reportOrderAttachment: (fileType: string, id: string) =>
`${reportOrder}/attachment/${fileType}/${id}`,
reportOrderCover: (fileType: string, id: string, commandCode: string) =>
`${reportOrder}/${commandCode}/cover/${fileType}/${id}`,
reportOrderAttachment: (fileType: string, id: string, commandCode: string) =>
`${reportOrder}/${commandCode}/attachment/${fileType}/${id}`,
reportRetireList: (fileType: string, id: string) =>
`${reportRetire}/${fileType}/${id}`,