| | |
| | | }); |
| | | } |
| | | |
| | | /** 获取电子保单 POST /api/InsuranceOrder/DownloadPolicyFile/${param0} */ |
| | | export async function downloadPolicyFileId( |
| | | // 叠加生成的Param类型 (非body参数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, |
| | |
| | | ); |
| | | } |
| | | |
| | | /** 保单详情-导入人员清单 GET /api/InsuranceOrder/GetInsuranceStaffListExport */ |
| | | /** 保单详情-导出人员清单 POST /api/InsuranceOrder/GetInsuranceStaffListExport */ |
| | | export async function getInsuranceStaffListExport( |
| | | // 叠加生成的Param类型 (非body参数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 || {}), |
| | | }); |
| | | } |
| | |
| | | |
| | | /** 新增保单导入 POST /api/InsuranceOrder/ImportInsStaffToList */ |
| | | export async function importInsStaffToList( |
| | | // 叠加生成的Param类型 (非body参数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 || {}), |
| | | }); |
| | | } |
| | |
| | | body: API.InsurancePolicyAuditInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<number>('/api/InsuranceOrder/InsurancePolicyAudit', { |
| | | return request<API.InsurancePolicyAuditOutput>('/api/InsuranceOrder/InsurancePolicyAudit', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 保单再审 POST /api/InsuranceOrder/InsurancePolicyAuditAgain */ |
| | | export async function insurancePolicyAuditAgain( |
| | | // 叠加生成的Param类型 (非body参数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', |