| | |
| | | ); |
| | | } |
| | | |
| | | /** 查询数据看板劳务人员排行 GET /api/DataBoard/GetDataBoardEnterpriseClientUserRank */ |
| | | export async function getDataBoardEnterpriseClientUserRank( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | | params: API.APIgetDataBoardEnterpriseClientUserRankParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetDataBoardEnterpriseClientUserRankOutput>( |
| | | '/api/DataBoard/GetDataBoardEnterpriseClientUserRank', |
| | | { |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | | }, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** 查询数据看板投保人数排行 GET /api/DataBoard/GetDataBoardInsurePeopleCountRank */ |
| | | export async function getDataBoardInsurePeopleCountRank( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | |
| | | ) { |
| | | return request<API.GetDataBoardInsurePeopleCountRankOutput>( |
| | | '/api/DataBoard/GetDataBoardInsurePeopleCountRank', |
| | | { |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | | }, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** 查询数据看板上季度在线劳务人员数据 GET /api/DataBoard/GetDataBoardLastQuarterEnterpriseClientUserCount */ |
| | | export async function getDataBoardLastQuarterEnterpriseClientUserCount( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | | params: API.APIgetDataBoardLastQuarterEnterpriseClientUserCountParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetDataBoardLastQuarterEnterpriseClientUserCountOutput>( |
| | | '/api/DataBoard/GetDataBoardLastQuarterEnterpriseClientUserCount', |
| | | { |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | | input: undefined, |
| | | ...params['input'], |
| | | }, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** 查询数据看板上季度交易数据 GET /api/DataBoard/GetDataBoardLastQuarterOutputValueCount */ |
| | | export async function getDataBoardLastQuarterOutputValueCount( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | | params: API.APIgetDataBoardLastQuarterOutputValueCountParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetDataBoardLastQuarterOutputValueCountOutput>( |
| | | '/api/DataBoard/GetDataBoardLastQuarterOutputValueCount', |
| | | { |
| | | method: 'GET', |
| | | params: { |
| | |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | | input: undefined, |
| | | ...params['input'], |
| | | }, |
| | | ...(options || {}), |
| | | } |
| | |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | | input: undefined, |
| | | ...params['input'], |
| | | }, |
| | | ...(options || {}), |
| | | } |
| | |
| | | ); |
| | | } |
| | | |
| | | /** 查询数据看板交易排行 GET /api/DataBoard/GetDataBoardOutputValueRank */ |
| | | export async function getDataBoardOutputValueRank( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | | params: API.APIgetDataBoardOutputValueRankParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetDataBoardOutputValueRankOutput>( |
| | | '/api/DataBoard/GetDataBoardOutputValueRank', |
| | | { |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | | }, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** 查询数据看板概况 GET /api/DataBoard/GetDataBoardOverview */ |
| | | export async function getDataBoardOverview( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** 查询数据看板园区概况(第二版) GET /api/DataBoard/GetDataBoardOverviewByParkV2 */ |
| | | export async function getDataBoardOverviewByParkV2( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | | params: API.APIgetDataBoardOverviewByParkV2Params, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetDataBoardOverviewByParkV2Output>( |
| | | '/api/DataBoard/GetDataBoardOverviewByParkV2', |
| | | { |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | | }, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** 查询企业C端用户导入信息 POST /api/DataBoard/GetEnterpriseCustomerImports */ |
| | | export async function getEnterpriseCustomerImports( |
| | | body: API.GetEnterpriseCustomerImportsInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetEnterpriseCustomerImportsOutputPageOutput>( |
| | | '/api/DataBoard/GetEnterpriseCustomerImports', |
| | | { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** 查询人资企业的甲方客户 GET /api/DataBoard/GetEnterpriseCustomers */ |
| | | export async function getEnterpriseCustomers(options?: API.RequestConfig) { |
| | | return request<any>('/api/DataBoard/GetEnterpriseCustomers', { |
| | | method: 'GET', |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 查询产值 GET /api/DataBoard/GetEnterpriseOutputValue */ |
| | | export async function getEnterpriseOutputValue(options?: API.RequestConfig) { |
| | | return request<any>('/api/DataBoard/GetEnterpriseOutputValue', { |
| | | method: 'GET', |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 导入企业C端用户 POST /api/DataBoard/ImportEnterpriseCustomerUsers */ |
| | | export async function importEnterpriseCustomerUsers(options?: API.RequestConfig) { |
| | | return request<any>('/api/DataBoard/ImportEnterpriseCustomerUsers', { |
| | | method: 'POST', |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 重新导入企业C端用户 POST /api/DataBoard/ReImportEnterpriseCustomerUsers/ReImportEnterpriseCustomerUsers/${param0} */ |
| | | export async function reImportEnterpriseCustomerUsersReImportEnterpriseCustomerUsersId( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | | params: API.APIreImportEnterpriseCustomerUsersReImportEnterpriseCustomerUsersIdParams, |
| | | body: {}, |
| | | file?: File, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | const { id: param0, ...queryParams } = params; |
| | | const formData = new FormData(); |
| | | |
| | | if (file) { |
| | | formData.append('file', file); |
| | | } |
| | | |
| | | Object.keys(body).forEach((ele) => { |
| | | const item = (body as any)[ele]; |
| | | |
| | | if (item !== undefined && item !== null) { |
| | | formData.append( |
| | | ele, |
| | | typeof item === 'object' && !(item instanceof File) ? JSON.stringify(item) : item |
| | | ); |
| | | } |
| | | }); |
| | | |
| | | return request<any>( |
| | | `/api/DataBoard/ReImportEnterpriseCustomerUsers/ReImportEnterpriseCustomerUsers/${param0}`, |
| | | { |
| | | method: 'POST', |
| | | params: { ...queryParams }, |
| | | data: formData, |
| | | requestType: 'form', |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |