api โครง report
This commit is contained in:
parent
83eeb0d468
commit
1ddd4fe100
1 changed files with 45 additions and 0 deletions
|
|
@ -1304,4 +1304,49 @@ export class ReportController extends Controller {
|
|||
)
|
||||
return new HttpSuccess(directors)
|
||||
}
|
||||
|
||||
@Get("repot1")
|
||||
public async repot1(@Request() req: RequestWithUser,
|
||||
@Query("nodeId") nodeId?: string,
|
||||
@Query("node") node?: string,
|
||||
@Query("startDate") startDate?: Date,
|
||||
@Query("endDate") endDate?: Date,
|
||||
) {
|
||||
|
||||
return new HttpSuccess({
|
||||
template: "placementProbation01",
|
||||
reportName: "xlsx-report",
|
||||
data: "",
|
||||
});
|
||||
}
|
||||
|
||||
@Get("repot2")
|
||||
public async repot2(@Request() req: RequestWithUser,
|
||||
@Query("nodeId") nodeId?: string,
|
||||
@Query("node") node?: string,
|
||||
@Query("startDate") startDate?: Date,
|
||||
@Query("endDate") endDate?: Date,
|
||||
) {
|
||||
|
||||
return new HttpSuccess({
|
||||
template: "placementProbation02",
|
||||
reportName: "xlsx-report",
|
||||
data: "",
|
||||
});
|
||||
}
|
||||
|
||||
@Get("repot3")
|
||||
public async repot3(@Request() req: RequestWithUser,
|
||||
@Query("nodeId") nodeId?: string,
|
||||
@Query("node") node?: string,
|
||||
@Query("startDate") startDate?: Date,
|
||||
@Query("endDate") endDate?: Date,
|
||||
) {
|
||||
|
||||
return new HttpSuccess({
|
||||
template: "placementProbation03",
|
||||
reportName: "xlsx-report",
|
||||
data: "",
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue