添加体检用餐登记列表接口
This commit is contained in:
@@ -24,6 +24,8 @@ import type {
|
|||||||
CustomerDetailEditResponse,
|
CustomerDetailEditResponse,
|
||||||
InputPhysicalExamAddItem,
|
InputPhysicalExamAddItem,
|
||||||
PhysicalExamAddItemListResponse,
|
PhysicalExamAddItemListResponse,
|
||||||
|
InputPhysicalExamDiningLog,
|
||||||
|
PhysicalExamDiningLogResponse,
|
||||||
} from './types';
|
} from './types';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -206,3 +208,15 @@ export const submitDaojiandanSign = (
|
|||||||
).then(res => res.data);
|
).then(res => res.data);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 体检用餐登记列表
|
||||||
|
*/
|
||||||
|
export const getPhysicalExamDiningList = (
|
||||||
|
data: InputPhysicalExamDiningLog
|
||||||
|
): Promise<PhysicalExamDiningLogResponse> => {
|
||||||
|
return request.post<PhysicalExamDiningLogResponse>(
|
||||||
|
`${MEDICAL_EXAM_BASE_PATH}/dining-list`,
|
||||||
|
data
|
||||||
|
).then(res => res.data);
|
||||||
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -416,3 +416,48 @@ export interface OutputPhysicalExamAddItem {
|
|||||||
*/
|
*/
|
||||||
export type PhysicalExamAddItemListResponse = CommonActionResult<OutputPhysicalExamAddItem[]>;
|
export type PhysicalExamAddItemListResponse = CommonActionResult<OutputPhysicalExamAddItem[]>;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 体检用餐登记列表入参
|
||||||
|
*/
|
||||||
|
export interface InputPhysicalExamDiningLog {
|
||||||
|
/** 用餐类型(1-全部 2-已用餐 3-未用餐) */
|
||||||
|
dining_type: number;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 体检用餐登记列表项
|
||||||
|
*/
|
||||||
|
export interface PoPhysicalExamDiningLog {
|
||||||
|
/** 客户姓名 */
|
||||||
|
customer_name?: string | null;
|
||||||
|
/** 体检ID */
|
||||||
|
physical_exam_id?: number | null;
|
||||||
|
/** 体检编号 */
|
||||||
|
exam_no?: string | null;
|
||||||
|
/** 体检状态 */
|
||||||
|
physical_exam_status?: number | null;
|
||||||
|
/** 体检状态名称 */
|
||||||
|
physical_exam_status_name?: string | null;
|
||||||
|
/** 是否用餐(1-已用餐 0-未用餐) */
|
||||||
|
is_dining?: number | null;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 体检用餐登记列表出参
|
||||||
|
*/
|
||||||
|
export interface OutputPhysicalExamDiningLog {
|
||||||
|
/** 今日体检人数 */
|
||||||
|
today_exam_count?: number | null;
|
||||||
|
/** 已用餐人数 */
|
||||||
|
dined_count?: number | null;
|
||||||
|
/** 未用餐人数 */
|
||||||
|
not_dined_count?: number | null;
|
||||||
|
/** 用餐登记列表 */
|
||||||
|
DiningList?: PoPhysicalExamDiningLog[] | null;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 体检用餐登记列表响应
|
||||||
|
*/
|
||||||
|
export type PhysicalExamDiningLogResponse = CommonActionResult<OutputPhysicalExamDiningLog>;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user