添加接口

- 体检客户列表
- 体检进度详情
- 客户详情
This commit is contained in:
xianyi
2025-12-10 17:28:15 +08:00
parent f4d5c085ee
commit 0efc4c186e
5 changed files with 428 additions and 71 deletions

View File

@@ -111,3 +111,143 @@ export interface OutputRevenueStatisticsInfo {
*/
export type RevenueStatisticsResponse = CommonActionResult<OutputRevenueStatisticsInfo>;
/**
* 体检客户列表入参
*/
export interface InputPhysicalExamCustomerList {
/** 客户姓名 */
customer_name?: string | null;
/** 联系电话 */
phone?: string | null;
/** 身份证号 */
id_no?: string | null;
/**
* 筛选类型
* 1-全部 2-上午 3-下午 4-高客 5-普客 6-已登记 7-未登记 8-散客 9-团客
*/
filter_type?: number | null;
}
/**
* 体检客户列表项
*/
export interface OutputPhysicalExamCustomerListItem {
physical_exam_status?: number | null;
physical_exam_status_name?: string | null;
physical_exam_id?: number | null;
customer_name?: string | null;
phone?: string | null;
id_no?: string | null;
family_doctor_name?: string | null;
member_level?: string | null;
is_vip?: number | null;
package_code?: string | null;
package_name?: string | null;
add_item_flag?: number | null;
add_item_count?: number | null;
channel?: string | null;
physical_exam_time?: string | null;
physical_exam_complete_time?: string | null;
customer_type?: number | null;
is_register?: number | null;
is_sign_in?: number | null;
is_print?: number | null;
appointment_remarks?: string | null;
}
/**
* 体检客户列表接口返回
*/
export type PhysicalExamCustomerListResponse = CommonActionResult<OutputPhysicalExamCustomerListItem[]>;
/**
* 体检进度详情入参
*/
export interface InputPhysicalExamProgressDetail {
/** 体检ID */
physical_exam_id: number;
}
/**
* 体检进度信息
*/
export interface PhysicalExamProgressItem {
department_id?: number | null;
department_name?: string | null;
project_id?: string | null;
project_name?: string | null;
/** 检查状态1-已查 2-弃检 3-未查 4-延期) */
exam_status?: number | null;
exam_status_name?: string | null;
}
/**
* 客户基本信息(进度、详情共用)
*/
export interface CustomerInfo {
customer_name?: string | null;
physical_exam_number?: string | null;
is_vip?: number | null;
phone?: string | null;
id_no?: string | null;
gender_code?: number | null;
gender_name?: string | null;
patient_marital_status?: number | null;
patient_marital_status_name?: string | null;
family_doctor_name?: string | null;
customer_type?: number | null;
}
/**
* 体检进度详情出参
*/
export interface OutputPhysicalExamProgressDetail {
customerInfo?: CustomerInfo | null;
examProgressesList?: PhysicalExamProgressItem[] | null;
}
/**
* 体检进度详情接口返回
*/
export type PhysicalExamProgressDetailResponse = CommonActionResult<OutputPhysicalExamProgressDetail>;
/**
* 客户详情入参
*/
export interface InputCustomerDetail {
/** 体检ID */
physical_exam_id: number;
}
/**
* 客户预约信息
*/
export interface CustomerAppointmentInfo {
appointment_time?: string | null;
sign_in_time?: string | null;
physical_exam_complete_time?: string | null;
package_name?: string | null;
}
/**
* 客户体检加项
*/
export interface CustomerExamAddItem {
dept_name?: string | null;
combination_name?: string | null;
}
/**
* 客户详情出参
*/
export interface OutputCustomerDetail {
customerInfo?: CustomerInfo | null;
appointmentInfo?: CustomerAppointmentInfo | null;
addItemInfoList?: CustomerExamAddItem[] | null;
}
/**
* 客户详情接口返回
*/
export type CustomerDetailResponse = CommonActionResult<OutputCustomerDetail>;