From f62e5eca683e54dd3a9465b0f4df5f9a2e13bc2f Mon Sep 17 00:00:00 2001 From: xianyi Date: Fri, 26 Dec 2025 15:40:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=9B=B4=E6=96=B0=E4=BD=93?= =?UTF-8?q?=E6=A3=80=E5=AF=BC=E6=A3=80=E5=8D=95=E6=89=93=E5=8D=B0=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/his.ts | 14 ++++++++++++++ src/api/types.ts | 21 +++++++++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/src/api/his.ts b/src/api/his.ts index bd08f4b..c1dc31a 100644 --- a/src/api/his.ts +++ b/src/api/his.ts @@ -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 => { + return request.post( + `${MEDICAL_EXAM_BASE_PATH}/print-status-edit`, + data + ).then(res => res.data); +}; + /** * 体检用餐登记列表 */ diff --git a/src/api/types.ts b/src/api/types.ts index a094702..1a1d54c 100644 --- a/src/api/types.ts +++ b/src/api/types.ts @@ -400,6 +400,27 @@ export interface OutputDaojiandanSignInfo { */ export type DaojiandanSignSubmitResponse = CommonActionResult; +/** + * 体检导检单打印状态修改入参 + */ +export interface InputDaojiandanPrintStatus { + /** 体检ID */ + exam_id: number; +} + +/** + * 体检导检单打印状态修改出参 + */ +export interface OutputDaojiandanPrintStatus { + /** 是否成功(1-成功 0-失败) */ + is_success?: number | null; +} + +/** + * 体检导检单打印状态修改响应 + */ +export type DaojiandanPrintStatusResponse = CommonActionResult; + /** * 客户信息编辑入参 */