ต่อ API ดาวน์โหลดรายงาน
This commit is contained in:
parent
2948ebdc2f
commit
1bdd71d9f2
5 changed files with 124 additions and 9 deletions
|
|
@ -2,6 +2,7 @@ import env from "../index";
|
|||
const development = `${env.API_URI}/development`;
|
||||
const developmentOrg = `${env.API_URI}/org`;
|
||||
const devScholarship = `${env.API_URI}/development/scholarship`;
|
||||
const developmentReport = `${env.API_URI}/development/report`;
|
||||
export default {
|
||||
development,
|
||||
/** history */
|
||||
|
|
@ -20,4 +21,9 @@ export default {
|
|||
devScholarship,
|
||||
devScholarshipByid: (id: string) => `${devScholarship}/${id}`,
|
||||
|
||||
/** download File */
|
||||
developmentReportMain:() =>`${developmentReport}/main`,
|
||||
developmentReportHistory:() =>`${developmentReport}/history-officer`,
|
||||
developmentReportHistoryOfficer:() =>`${developmentReport}/history-employee`,
|
||||
developmentReportScholarship:() =>`${developmentReport}/scholarship`,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue