refactor(FE-316): Use single-select filters, add PF-Kandang lookup

This commit is contained in:
rstubryan
2025-12-30 10:23:01 +07:00
parent c385c42c8f
commit f51236fcfc
2 changed files with 76 additions and 59 deletions
+1 -7
View File
@@ -18,10 +18,7 @@ export class UniformityApiService extends BaseApiService<
}
async getUniformity(
location_id?: string,
project_flock_id?: string,
kandang_id?: string,
project_flock_kandang_id?: string,
project_flock_kandang_id?: number,
start_date?: string,
end_date?: string,
page?: number,
@@ -30,9 +27,6 @@ export class UniformityApiService extends BaseApiService<
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,