From 1b0fce2d0471f266518cdd4f3eb186ec058935d2 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期三, 30 七月 2025 17:12:55 +0800 Subject: [PATCH] fix: 新增生煎保(短期方案) --- src/services/api/InsuranceOrder.ts | 143 ++++++++++++++++++++++++++++++++++++++++++++--- 1 files changed, 132 insertions(+), 11 deletions(-) diff --git a/src/services/api/InsuranceOrder.ts b/src/services/api/InsuranceOrder.ts index 4fdcf30..d1696f9 100644 --- a/src/services/api/InsuranceOrder.ts +++ b/src/services/api/InsuranceOrder.ts @@ -77,6 +77,20 @@ }); } +/** 鑾峰彇鐢靛瓙淇濆崟 POST /api/InsuranceOrder/DownloadPolicyFile/${param0} */ +export async function downloadPolicyFileId( + // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) + params: API.APIdownloadPolicyFileIdParams, + options?: API.RequestConfig +) { + const { id: param0, ...queryParams } = params; + return request<string>(`/api/InsuranceOrder/DownloadPolicyFile/${param0}`, { + method: 'POST', + params: { ...queryParams }, + ...(options || {}), + }); +} + /** 鎵归噺鍑忓憳淇濆崟鏁版嵁 POST /api/InsuranceOrder/DownsizingInsuranceOrderData */ export async function downsizingInsuranceOrderData( body: API.DownsizingInsuranceOrderData, @@ -122,6 +136,21 @@ }); } +/** 琛ユ彁 POST /api/InsuranceOrder/FillInsStaffToList */ +export async function fillInsStaffToList( + body: API.FillInsStaffToListFrontInput, + options?: API.RequestConfig +) { + return request<API.ImportInsStaffToListOutput>('/api/InsuranceOrder/FillInsStaffToList', { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + }); +} + /** 鏍规嵁韬唤璇佸彿鍜屾姤妗堟棩鏈熸煡璇㈠湪淇濅俊鎭� POST /api/InsuranceOrder/GetEffectingStaffList */ export async function getEffectingStaffList( body: API.GetEffectingStaffListInput, @@ -135,6 +164,23 @@ data: body, ...(options || {}), }); +} + +/** 鑾峰彇鎶曚繚浜哄憳瀹℃牳璁板綍 GET /api/InsuranceOrder/GetInsuranceOrderAuditRecord/${param1} */ +export async function getInsuranceOrderAuditRecordId( + // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) + params: API.APIgetInsuranceOrderAuditRecordIdParams, + options?: API.RequestConfig +) { + const { insuranceOrderId: param0, id: param1, ...queryParams } = params; + return request<API.InsuranceOrderAuditRecordDto[]>( + `/api/InsuranceOrder/GetInsuranceOrderAuditRecord/${param1}`, + { + method: 'GET', + params: { ...queryParams }, + ...(options || {}), + } + ); } /** 鑾峰彇淇濆崟璇︽儏 GET /api/InsuranceOrder/GetInsuranceOrderDetail */ @@ -289,6 +335,24 @@ }); } +/** 鑾峰彇浠樻绠$悊鍒楄〃 POST /api/InsuranceOrder/GetInsurancePolicyPayList */ +export async function getInsurancePolicyPayList( + body: API.GetInsurancePolicyPayListInput, + options?: API.RequestConfig +) { + return request<API.GetInsurancePolicyPayListItemPageOutput>( + '/api/InsuranceOrder/GetInsurancePolicyPayList', + { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + } + ); +} + /** 鑾峰彇鐩栫珷鏂囦欢 GET /api/InsuranceOrder/GetInsurancePolicyStampFiles */ export async function getInsurancePolicyStampFiles( // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) @@ -322,17 +386,17 @@ ); } -/** 淇濆崟璇︽儏-瀵煎叆浜哄憳娓呭崟 GET /api/InsuranceOrder/GetInsuranceStaffListExport */ +/** 淇濆崟璇︽儏-瀵煎嚭浜哄憳娓呭崟 POST /api/InsuranceOrder/GetInsuranceStaffListExport */ export async function getInsuranceStaffListExport( - // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) - params: API.APIgetInsuranceStaffListExportParams, + body: API.ExportInsuranceStaffListInput, options?: API.RequestConfig ) { return request<any>('/api/InsuranceOrder/GetInsuranceStaffListExport', { - method: 'GET', - params: { - ...params, + method: 'POST', + headers: { + 'Content-Type': 'application/json', }, + data: body, ...(options || {}), }); } @@ -366,6 +430,18 @@ }); } +/** 鑾峰彇琛ュ綍璁板綍 POST /api/InsuranceOrder/GetOperateRecord */ +export async function getOperateRecord(body: API.OperateRecordInput, options?: API.RequestConfig) { + return request<API.OperateRecordDtoPageOutput>('/api/InsuranceOrder/GetOperateRecord', { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + }); +} + /** 鎶曚繚璇︽儏-瀵煎叆浜哄憳 POST /api/InsuranceOrder/ImportInsDetailStaffToList */ export async function importInsDetailStaffToList( // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) @@ -386,15 +462,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 || {}), }); } @@ -411,6 +487,21 @@ }); } +/** 鎻愪氦瀹℃牳 POST /api/InsuranceOrder/InsurancePolicyAddAudit */ +export async function insurancePolicyAddAudit( + body: API.InsurancePolicyAuditInput, + options?: API.RequestConfig +) { + return request<number>('/api/InsuranceOrder/InsurancePolicyAddAudit', { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + }); +} + /** 淇濆崟瀹℃牳 POST /api/InsuranceOrder/InsurancePolicyAudit */ export async function insurancePolicyAudit( body: API.InsurancePolicyAuditInput, @@ -426,6 +517,36 @@ }); } +/** 淇濆崟鍐嶅 POST /api/InsuranceOrder/InsurancePolicyAuditAgain */ +export async function insurancePolicyAuditAgain( + // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) + params: API.APIinsurancePolicyAuditAgainParams, + options?: API.RequestConfig +) { + return request<any>('/api/InsuranceOrder/InsurancePolicyAuditAgain', { + method: 'POST', + params: { + ...params, + }, + ...(options || {}), + }); +} + +/** 鎶曚繚鐘舵�佽ˉ褰� POST /api/InsuranceOrder/RestorePolicyStatus */ +export async function restorePolicyStatus( + body: API.RestorePolicyInput, + options?: API.RequestConfig +) { + return request<boolean>('/api/InsuranceOrder/RestorePolicyStatus', { + 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