mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 13:32:00 +00:00
feat(FE-316): Add filter modal and query params for Uniformity
This commit is contained in:
@@ -17,8 +17,25 @@ export class UniformityApiService extends BaseApiService<
|
||||
super(basePath);
|
||||
}
|
||||
|
||||
async getUniformity(): Promise<BaseApiResponse<Uniformity> | undefined> {
|
||||
return await this.customRequest<BaseApiResponse<Uniformity>>('');
|
||||
async getUniformity(
|
||||
location_id?: number,
|
||||
project_flock_id?: number,
|
||||
kandang_id?: number,
|
||||
project_flock_kandang_id?: number,
|
||||
start_date?: string,
|
||||
end_date?: string
|
||||
): Promise<BaseApiResponse<Uniformity> | undefined> {
|
||||
return await this.customRequest<BaseApiResponse<Uniformity>>('', {
|
||||
method: 'GET',
|
||||
params: {
|
||||
location_id: location_id,
|
||||
project_flock_id: project_flock_id,
|
||||
kandang_id: kandang_id,
|
||||
project_flock_kandang_id: project_flock_kandang_id,
|
||||
start_date: start_date,
|
||||
end_date: end_date,
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
async getUniformityDetail(
|
||||
|
||||
Reference in New Issue
Block a user