添加更新体检导检单打印状态接口
This commit is contained in:
@@ -22,6 +22,8 @@ import type {
|
||||
DaojiandanGetResponse,
|
||||
InputDaojiandanSignSubmit,
|
||||
DaojiandanSignSubmitResponse,
|
||||
InputDaojiandanPrintStatus,
|
||||
DaojiandanPrintStatusResponse,
|
||||
InputCustomerDetailEdit,
|
||||
CustomerDetailEditResponse,
|
||||
InputPhysicalExamAddItem,
|
||||
@@ -274,6 +276,18 @@ export const submitDaojiandanSign = (
|
||||
).then(res => res.data);
|
||||
};
|
||||
|
||||
/**
|
||||
* 体检导检单打印状态修改
|
||||
*/
|
||||
export const editDaojiandanPrintStatus = (
|
||||
data: InputDaojiandanPrintStatus
|
||||
): Promise<DaojiandanPrintStatusResponse> => {
|
||||
return request.post<DaojiandanPrintStatusResponse>(
|
||||
`${MEDICAL_EXAM_BASE_PATH}/print-status-edit`,
|
||||
data
|
||||
).then(res => res.data);
|
||||
};
|
||||
|
||||
/**
|
||||
* 体检用餐登记列表
|
||||
*/
|
||||
|
||||
@@ -400,6 +400,27 @@ export interface OutputDaojiandanSignInfo {
|
||||
*/
|
||||
export type DaojiandanSignSubmitResponse = CommonActionResult<OutputDaojiandanSignInfo>;
|
||||
|
||||
/**
|
||||
* 体检导检单打印状态修改入参
|
||||
*/
|
||||
export interface InputDaojiandanPrintStatus {
|
||||
/** 体检ID */
|
||||
exam_id: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* 体检导检单打印状态修改出参
|
||||
*/
|
||||
export interface OutputDaojiandanPrintStatus {
|
||||
/** 是否成功(1-成功 0-失败) */
|
||||
is_success?: number | null;
|
||||
}
|
||||
|
||||
/**
|
||||
* 体检导检单打印状态修改响应
|
||||
*/
|
||||
export type DaojiandanPrintStatusResponse = CommonActionResult<OutputDaojiandanPrintStatus>;
|
||||
|
||||
/**
|
||||
* 客户信息编辑入参
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user