From 8495f42031f742535c07d95a023484b8f15b6100 Mon Sep 17 00:00:00 2001 From: xianyi Date: Sun, 4 Jan 2026 10:01:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=8E=B7=E5=8F=96=E6=8C=82?= =?UTF-8?q?=E8=B4=A6=E5=85=AC=E5=8F=B8=E4=BF=A1=E6=81=AF=E5=88=97=E8=A1=A8?= =?UTF-8?q?=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 | 24 ++++++++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/src/api/his.ts b/src/api/his.ts index b580a43..3d8511a 100644 --- a/src/api/his.ts +++ b/src/api/his.ts @@ -30,6 +30,8 @@ import type { PhysicalExamAddItemListResponse, InputAddItemCustomerInfo, AddItemCustomerInfoResponse, + InputChannelCompanyInfo, + ChannelCompanyInfoListResponse, InputPhysicalExamAddOrder, PhysicalExamQrcodeCreateResponse, InputOrderPaymentInfo, @@ -234,6 +236,18 @@ export const getAddItemCustomerInfo = ( ).then(res => res.data); }; +/** + * 获取挂账公司信息列表 + */ +export const getChannelCompanyList = ( + data: InputChannelCompanyInfo = {} +): Promise => { + return request.post( + `${MEDICAL_EXAM_BASE_PATH}/channel-company-list`, + data + ).then(res => res.data); +}; + /** * Native-生成扫码支付二维码 */ diff --git a/src/api/types.ts b/src/api/types.ts index a9499c6..e3f6166 100644 --- a/src/api/types.ts +++ b/src/api/types.ts @@ -561,6 +561,30 @@ export interface OutputAddItemCustomerInfo { */ export type AddItemCustomerInfoResponse = CommonActionResult; +/** + * 获取挂账公司信息列表入参 + */ +export interface InputChannelCompanyInfo { + // 空对象,无属性 +} + +/** + * 挂账公司信息列表出参 + */ +export interface OutputChannelCompanyInfo { + /** 公司ID */ + company_id: number; + /** 公司名称 */ + company_name?: string | null; + /** 拼音码 */ + pinyin?: string | null; +} + +/** + * 获取挂账公司信息列表响应 + */ +export type ChannelCompanyInfoListResponse = CommonActionResult; + /** * 体检加项支付记录入参(生成扫码支付二维码) */