From 4fb3fd42d84118df5b4508ac3cc37e480760373d Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期三, 02 七月 2025 17:11:41 +0800 Subject: [PATCH] fix: 江佑保系统健壮性修复 --- src/services/api/InsuranceOrder.ts | 54 +++++++++++++++++++++++++++++++++++++++++++++++++----- 1 files changed, 49 insertions(+), 5 deletions(-) diff --git a/src/services/api/InsuranceOrder.ts b/src/services/api/InsuranceOrder.ts index e3a768f..7e369e6 100644 --- a/src/services/api/InsuranceOrder.ts +++ b/src/services/api/InsuranceOrder.ts @@ -274,6 +274,21 @@ }); } +/** 鑾峰彇淇濆崟鏀粯淇℃伅 GET /api/InsuranceOrder/GetInsurancePolicyPay */ +export async function getInsurancePolicyPay( + // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) + params: API.APIgetInsurancePolicyPayParams, + options?: API.RequestConfig +) { + return request<API.InsurancePolicyPayDto[]>('/api/InsuranceOrder/GetInsurancePolicyPay', { + method: 'GET', + params: { + ...params, + }, + ...(options || {}), + }); +} + /** 鑾峰彇鐩栫珷鏂囦欢 GET /api/InsuranceOrder/GetInsurancePolicyStampFiles */ export async function getInsurancePolicyStampFiles( // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) @@ -337,6 +352,20 @@ }); } +/** 鑾峰彇鍙戠エ POST /api/InsuranceOrder/GetInvoice/${param0} */ +export async function getInvoiceId( + // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) + params: API.APIgetInvoiceIdParams, + options?: API.RequestConfig +) { + const { id: param0, ...queryParams } = params; + return request<any>(`/api/InsuranceOrder/GetInvoice/${param0}`, { + method: 'POST', + params: { ...queryParams }, + ...(options || {}), + }); +} + /** 鎶曚繚璇︽儏-瀵煎叆浜哄憳 POST /api/InsuranceOrder/ImportInsDetailStaffToList */ export async function importInsDetailStaffToList( // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) @@ -357,15 +386,15 @@ /** 鏂板淇濆崟瀵煎叆 POST /api/InsuranceOrder/ImportInsStaffToList */ export async function importInsStaffToList( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIimportInsStaffToListParams, + body: API.ImportInsStaffToListFrontInput, options?: API.RequestConfig ) { - return request<API.ImportInsStaffAnalysisList[]>('/api/InsuranceOrder/ImportInsStaffToList', { + return request<API.ImportInsStaffToListOutput>('/api/InsuranceOrder/ImportInsStaffToList', { method: 'POST', - params: { - ...params, + headers: { + 'Content-Type': 'application/json', }, + data: body, ...(options || {}), }); } @@ -382,6 +411,21 @@ }); } +/** 淇濆崟瀹℃牳 POST /api/InsuranceOrder/InsurancePolicyAudit */ +export async function insurancePolicyAudit( + body: API.InsurancePolicyAuditInput, + options?: API.RequestConfig +) { + return request<number>('/api/InsuranceOrder/InsurancePolicyAudit', { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + }); +} + /** 淇敼淇濆崟浜哄憳淇℃伅 POST /api/InsuranceOrder/UpdateInsuranceStaffInfo */ export async function updateInsuranceStaffInfo( body: API.UpdateInsuranceStaffInfoInput, -- Gitblit v1.9.1