From 29d1ea035c19c4f4a28165ee2ea78df0854610b5 Mon Sep 17 00:00:00 2001 From: xianyi Date: Thu, 25 Dec 2025 09:54:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=BF=9D=E5=AD=98=E4=BD=93?= =?UTF-8?q?=E6=A3=80=E5=AE=A2=E6=88=B7=E6=8A=A5=E5=91=8A=E9=82=AE=E5=AF=84?= =?UTF-8?q?=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/his.ts | 14 ++++++++++++++ src/api/types.ts | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/src/api/his.ts b/src/api/his.ts index 323ab6a..166e3ad 100644 --- a/src/api/his.ts +++ b/src/api/his.ts @@ -52,6 +52,8 @@ import type { ReportSendQRcodeResponse, InputReportSendInfo, ReportSendInfoResponse, + InputExpressContact, + ReportSendAddressSaveResponse, } from './types'; /** @@ -416,3 +418,15 @@ export const getReportSendInfo = ( ).then(res => res.data); }; +/** + * 保存体检客户报告邮寄地址 + */ +export const saveReportSendAddress = ( + data: InputExpressContact +): Promise => { + return request.post( + `${MEDICAL_EXAM_BASE_PATH}/report-send-address-save`, + data + ).then(res => res.data); +}; + diff --git a/src/api/types.ts b/src/api/types.ts index 89e42b5..4517c5a 100644 --- a/src/api/types.ts +++ b/src/api/types.ts @@ -882,3 +882,36 @@ export interface OutputReportSendInfo { */ export type ReportSendInfoResponse = CommonActionResult; +/** + * 保存体检客户报告邮寄地址入参 + */ +export interface InputExpressContact { + /** 体检ID */ + physical_exam_id: number; + /** 收件人 */ + address_contact: string; + /** 联系电话 */ + address_mobile: string; + /** 省份名称(例如:上海市) */ + province_name: string; + /** 城市名称(例如:上海市) */ + city_name: string; + /** 区县名称(例如:浦东新区) */ + country_name: string; + /** 寄送详细地址 */ + address_content: string; +} + +/** + * 保存体检客户报告邮寄地址出参 + */ +export interface OutputExpressContact { + /** 是否成功(1-成功 0-失败) */ + is_success?: number | null; +} + +/** + * 保存体检客户报告邮寄地址响应 + */ +export type ReportSendAddressSaveResponse = CommonActionResult; +