添加接口:今日体检进度信息

This commit is contained in:
xianyi
2025-12-10 15:28:45 +08:00
parent 9c8b679689
commit f4d5c085ee
4 changed files with 186 additions and 121 deletions

View File

@@ -4,6 +4,8 @@ import type {
TodayExamStatisticsResponse,
InputRevenueStatisticsInfo,
RevenueStatisticsResponse,
InputTodayExamProgress,
TodayExamProgressResponse,
} from './types';
/**
@@ -46,3 +48,17 @@ export const getRevenueStatistics = (
).then(res => res.data);
};
/**
* 今日体检进度信息
* @param data 请求参数(空对象)
* @returns 今日体检进度信息
*/
export const getTodayExamProgress = (
data: InputTodayExamProgress = {}
): Promise<TodayExamProgressResponse> => {
return request.post<TodayExamProgressResponse>(
`${MEDICAL_EXAM_BASE_PATH}/today-exam-progress`,
data
).then(res => res.data);
};