|
|
@@ -996,6 +996,7 @@ export interface AreaCheckPlanQuery {
|
|
|
/** 计划日期范围-结束,与 queryParam.endDate 一致 */
|
|
|
endDate?: string;
|
|
|
id?: string | number;
|
|
|
+ userId?: string | number; // 兼容部门分页查询接口
|
|
|
}
|
|
|
|
|
|
/** 分页查询请求体(后端 queryParam 格式) */
|
|
|
@@ -1007,6 +1008,7 @@ interface AreaCheckPlanManagePageReq {
|
|
|
startDate?: string;
|
|
|
endDate?: string;
|
|
|
id?: string | number;
|
|
|
+ userId?: string | number; // 兼容部门分页查询接口
|
|
|
}
|
|
|
|
|
|
interface AreaCheckPlanManagePageQuery {
|
|
|
@@ -1314,7 +1316,9 @@ export function exportRegionalInspectionPlanTaskDepartmentData (params: AreaChec
|
|
|
|
|
|
/** 查询区域检查计划关联的检查记录分页(部门) */
|
|
|
export function queryAreaCheckPlanDetailDeptPage(planId: number, query: Parameters<typeof queryAreaCheckPlanDetailPage>[1]) {
|
|
|
- const body = buildPageQuery(query);
|
|
|
+ let body = buildPageQuery(query);
|
|
|
+ body.queryParam = body.queryParam || {};
|
|
|
+ body.queryParam.userId = query.queryParam?.userId; // 部门分页查询接口需要携带 userId 参数
|
|
|
return http.request({
|
|
|
url: `${DEPT_BASE}/queryAreaCheckPlanDetailPage`,
|
|
|
method: 'post',
|