添加 获取体检加项单PDF 接口

This commit is contained in:
xianyi
2026-01-05 14:57:23 +08:00
parent 27e22e63d7
commit 4bdfc23ffd
2 changed files with 39 additions and 0 deletions

View File

@@ -22,6 +22,8 @@ import type {
DaojiandanGetResponse, DaojiandanGetResponse,
InputDaojiandanSignSubmit, InputDaojiandanSignSubmit,
DaojiandanSignSubmitResponse, DaojiandanSignSubmitResponse,
InputAddItemBillInfo,
AddItemBillGetResponse,
InputAddItemBillSignSubmit, InputAddItemBillSignSubmit,
AddItemBillSignSubmitResponse, AddItemBillSignSubmitResponse,
InputDaojiandanPrintStatus, InputDaojiandanPrintStatus,
@@ -306,6 +308,18 @@ export const submitDaojiandanSign = (
).then(res => res.data); ).then(res => res.data);
}; };
/**
* 获取体检加项单PDF
*/
export const getAddItemBillPdf = (
data: InputAddItemBillInfo
): Promise<AddItemBillGetResponse> => {
return request.post<AddItemBillGetResponse>(
`${MEDICAL_EXAM_BASE_PATH}/add-item-bill-get`,
data
).then(res => res.data);
};
/** /**
* 提交体检加项单签名生成PDF * 提交体检加项单签名生成PDF
*/ */

View File

@@ -400,6 +400,31 @@ export interface OutputDaojiandanSignInfo {
*/ */
export type DaojiandanSignSubmitResponse = CommonActionResult<OutputDaojiandanSignInfo>; export type DaojiandanSignSubmitResponse = CommonActionResult<OutputDaojiandanSignInfo>;
/**
* 获取体检加项单PDF入参
*/
export interface InputAddItemBillInfo {
/** 体检ID */
exam_id: number;
}
/**
* 获取体检加项单PDF出参
*/
export interface OutputAddItemBillInfo {
/** 加项单文件名称 */
pdf_name?: string | null;
/** PDF文件地址 */
pdf_url?: string | null;
/** 消息内容 */
message?: string | null;
}
/**
* 获取体检加项单PDF响应
*/
export type AddItemBillGetResponse = CommonActionResult<OutputAddItemBillInfo>;
/** /**
* 提交体检加项单签名入参 * 提交体检加项单签名入参
*/ */