完善导检单预览
This commit is contained in:
@@ -18,6 +18,8 @@ import type {
|
||||
TongyishuGetResponse,
|
||||
InputTongyishuSignSubmit,
|
||||
TongyishuSignSubmitResponse,
|
||||
InputDaojiandanInfo,
|
||||
DaojiandanGetResponse,
|
||||
InputDaojiandanSignSubmit,
|
||||
DaojiandanSignSubmitResponse,
|
||||
InputCustomerDetailEdit,
|
||||
@@ -240,6 +242,18 @@ export const checkNativePaymentStatus = (
|
||||
).then(res => res.data);
|
||||
};
|
||||
|
||||
/**
|
||||
* 获取体检导检单PDF
|
||||
*/
|
||||
export const getDaojiandanPdf = (
|
||||
data: InputDaojiandanInfo
|
||||
): Promise<DaojiandanGetResponse> => {
|
||||
return request.post<DaojiandanGetResponse>(
|
||||
`${MEDICAL_EXAM_BASE_PATH}/daojiandan-get`,
|
||||
data
|
||||
).then(res => res.data);
|
||||
};
|
||||
|
||||
/**
|
||||
* 提交体检签名生成导检单PDF
|
||||
*/
|
||||
|
||||
@@ -346,6 +346,31 @@ export interface OutputTongyishuSignInfo {
|
||||
*/
|
||||
export type TongyishuSignSubmitResponse = CommonActionResult<OutputTongyishuSignInfo>;
|
||||
|
||||
/**
|
||||
* 获取体检导检单PDF入参
|
||||
*/
|
||||
export interface InputDaojiandanInfo {
|
||||
/** 体检ID */
|
||||
exam_id: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取体检导检单PDF出参
|
||||
*/
|
||||
export interface OutputDaojiandanInfo {
|
||||
/** 导检单文件名称 */
|
||||
pdf_name?: string | null;
|
||||
/** 导检单PDF文件地址 */
|
||||
pdf_url?: string | null;
|
||||
/** 提示信息 */
|
||||
message?: string | null;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取体检导检单PDF响应
|
||||
*/
|
||||
export type DaojiandanGetResponse = CommonActionResult<OutputDaojiandanInfo>;
|
||||
|
||||
/**
|
||||
* 提交体检签名生成导检单PDF入参
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user