完善B1 面板
This commit is contained in:
@@ -40,6 +40,8 @@ import type {
|
||||
VerificationCodePhoneResponse,
|
||||
InputUserOwnedMenus,
|
||||
UserOwnedMenusResponse,
|
||||
InputB1ServiceBoard,
|
||||
B1ServiceBoardResponse,
|
||||
} from './types';
|
||||
|
||||
/**
|
||||
@@ -332,3 +334,15 @@ export const getUserOwnedMenus = (
|
||||
).then(res => res.data);
|
||||
};
|
||||
|
||||
/**
|
||||
* B1服务看板
|
||||
*/
|
||||
export const getB1ServiceBoard = (
|
||||
data: InputB1ServiceBoard = {}
|
||||
): Promise<B1ServiceBoardResponse> => {
|
||||
return request.post<B1ServiceBoardResponse>(
|
||||
`${MEDICAL_EXAM_BASE_PATH}/b1-service-board`,
|
||||
data
|
||||
).then(res => res.data);
|
||||
};
|
||||
|
||||
|
||||
@@ -708,3 +708,39 @@ export interface OutputUserOwnedMenus {
|
||||
*/
|
||||
export type UserOwnedMenusResponse = CommonActionResult<OutputUserOwnedMenus>;
|
||||
|
||||
/**
|
||||
* B1服务点信息
|
||||
*/
|
||||
export interface B1ServiceInfo {
|
||||
/** 科室名称 */
|
||||
dept_name?: string | null;
|
||||
/** 医生名称 */
|
||||
doctor_name?: string | null;
|
||||
/** 已检部位数 */
|
||||
exam_part_count?: number | null;
|
||||
/** 总时长(分钟) */
|
||||
total_duration_minutes?: number | null;
|
||||
/** 平均时长(分钟) */
|
||||
average_duration_minutes?: number | null;
|
||||
}
|
||||
|
||||
/**
|
||||
* B1服务看板入参
|
||||
*/
|
||||
export interface InputB1ServiceBoard {
|
||||
// 空对象,无需参数
|
||||
}
|
||||
|
||||
/**
|
||||
* B1服务看板出参
|
||||
*/
|
||||
export interface OutputB1ServiceBoard {
|
||||
/** B1服务点信息列表 */
|
||||
b1_service_info_list: B1ServiceInfo[];
|
||||
}
|
||||
|
||||
/**
|
||||
* B1服务看板响应
|
||||
*/
|
||||
export type B1ServiceBoardResponse = CommonActionResult<OutputB1ServiceBoard>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user