diff --git a/src/api/09_leave/api.leave.ts b/src/api/09_leave/api.leave.ts index 8219083b5..6988f5e4e 100644 --- a/src/api/09_leave/api.leave.ts +++ b/src/api/09_leave/api.leave.ts @@ -1,5 +1,6 @@ import env from "../index"; const leave = `${env.API_URI}/leave`; +const leaveReport = `${env.API_URI}/leave/report`; export default { roundDutytime: () => `${leave}/duty-time`, roundDutytimeByid: (id: string) => `${leave}/duty-time/${id}`, @@ -33,4 +34,8 @@ export default { leaveReportReject: (id: string) => `${leave}/report/reject/${id}`, leaveDeleteApprove: (id: string) => `${leave}/admin/delete/approve/${id}`, leaveDeleteReject: (id: string) => `${leave}/admin/delete/reject/${id}`, + + /**รายงาน */ + leaveReportTimeRecords: () => `${leaveReport}/time-records/officer`, + leaveReportLeaveday: (type: string) => `${leaveReport}/leaveday/${type}`, }; diff --git a/src/modules/09_leave/components/3_Report/DetailReport.vue b/src/modules/09_leave/components/3_Report/DetailReport.vue index e50c97593..0683e748b 100644 --- a/src/modules/09_leave/components/3_Report/DetailReport.vue +++ b/src/modules/09_leave/components/3_Report/DetailReport.vue @@ -1,6 +1,11 @@