From 2c594debc9d8b5eef0073daf4babb099c894ca22 Mon Sep 17 00:00:00 2001 From: xianyi Date: Wed, 17 Dec 2025 14:21:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20=E6=9F=A5=E7=9C=8B?= =?UTF-8?q?=E6=8A=A5=E5=91=8A=E5=AF=84=E9=80=81=E5=9C=B0=E5=9D=80=E6=8E=A5?= =?UTF-8?q?=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 | 25 +++++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/src/api/his.ts b/src/api/his.ts index d380308..0ba0927 100644 --- a/src/api/his.ts +++ b/src/api/his.ts @@ -46,6 +46,8 @@ import type { North3ServiceBoardResponse, InputReportSendQRcode, ReportSendQRcodeResponse, + InputReportSendInfo, + ReportSendInfoResponse, } from './types'; /** @@ -374,3 +376,15 @@ export const getReportSendQRcode = ( ).then(res => res.data); }; +/** + * 查看报告寄送地址 + */ +export const getReportSendInfo = ( + data: InputReportSendInfo +): Promise => { + return request.post( + `${MEDICAL_EXAM_BASE_PATH}/report-send-info`, + data + ).then(res => res.data); +}; + diff --git a/src/api/types.ts b/src/api/types.ts index 3310136..5045d35 100644 --- a/src/api/types.ts +++ b/src/api/types.ts @@ -805,3 +805,28 @@ export interface OutputReportSendQRcode { */ export type ReportSendQRcodeResponse = CommonActionResult; +/** + * 查看报告寄送地址入参 + */ +export interface InputReportSendInfo { + /** 预约ID */ + appointment_id: number; +} + +/** + * 查看报告寄送地址出参 + */ +export interface OutputReportSendInfo { + /** 收件人 */ + address_contact?: string | null; + /** 联系电话 */ + address_mobile?: string | null; + /** 寄送地址 */ + address_content?: string | null; +} + +/** + * 查看报告寄送地址响应 + */ +export type ReportSendInfoResponse = CommonActionResult; +