/* eslint-disable */
|
// @ts-ignore
|
import { request } from '@/utils/request';
|
|
/** 查询数据看板奖励金使用排行 GET /api/DataBoard/GetDataBoardBountyUseAmountRank */
|
export async function getDataBoardBountyUseAmountRank(
|
// 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
|
params: API.APIgetDataBoardBountyUseAmountRankParams,
|
options?: API.RequestConfig
|
) {
|
return request<API.GetDataBoardBountyUseAmountRankOutput>(
|
'/api/DataBoard/GetDataBoardBountyUseAmountRank',
|
{
|
method: 'GET',
|
params: {
|
...params,
|
},
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 查询数据看板劳务人员排行 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默认没有生成对象)
|
params: API.APIgetDataBoardInsurePeopleCountRankParams,
|
options?: API.RequestConfig
|
) {
|
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: {
|
...params,
|
},
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 查询数据看板新增申报批次 GET /api/DataBoard/GetDataBoardNewBountyApplyCount */
|
export async function getDataBoardNewBountyApplyCount(
|
// 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
|
params: API.APIgetDataBoardNewBountyApplyCountParams,
|
options?: API.RequestConfig
|
) {
|
return request<API.GetDataBoardNewBountyApplyCountOutput>(
|
'/api/DataBoard/GetDataBoardNewBountyApplyCount',
|
{
|
method: 'GET',
|
params: {
|
...params,
|
input: undefined,
|
...params['input'],
|
},
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 查询数据看板新增发放额 GET /api/DataBoard/GetDataBoardNewBountyReleaseAmountCount */
|
export async function getDataBoardNewBountyReleaseAmountCount(
|
// 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
|
params: API.APIgetDataBoardNewBountyReleaseAmountCountParams,
|
options?: API.RequestConfig
|
) {
|
return request<API.GetDataBoardNewBountyReleaseAmountCountOutput>(
|
'/api/DataBoard/GetDataBoardNewBountyReleaseAmountCount',
|
{
|
method: 'GET',
|
params: {
|
...params,
|
},
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 查询数据看板新增发放额 GET /api/DataBoard/GetDataBoardNewBountyUseAmountCount */
|
export async function getDataBoardNewBountyUseAmountCount(
|
// 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
|
params: API.APIgetDataBoardNewBountyUseAmountCountParams,
|
options?: API.RequestConfig
|
) {
|
return request<API.GetDataBoardNewBountyUseAmountCountOutput>(
|
'/api/DataBoard/GetDataBoardNewBountyUseAmountCount',
|
{
|
method: 'GET',
|
params: {
|
...params,
|
},
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 查询数据看板新增入驻企业 GET /api/DataBoard/GetDataBoardNewCustomerCount */
|
export async function getDataBoardNewCustomerCount(
|
// 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
|
params: API.APIgetDataBoardNewCustomerCountParams,
|
options?: API.RequestConfig
|
) {
|
return request<API.GetDataBoardNewCustomerCountOutput>(
|
'/api/DataBoard/GetDataBoardNewCustomerCount',
|
{
|
method: 'GET',
|
params: {
|
...params,
|
input: undefined,
|
...params['input'],
|
},
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 查询数据看板投保人数对比 GET /api/DataBoard/GetDataBoardNewInsurePeopleCount */
|
export async function getDataBoardNewInsurePeopleCount(
|
// 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
|
params: API.APIgetDataBoardNewInsurePeopleCountParams,
|
options?: API.RequestConfig
|
) {
|
return request<API.GetDataBoardNewInsurePeopleCountOutput>(
|
'/api/DataBoard/GetDataBoardNewInsurePeopleCount',
|
{
|
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默认没有生成对象)
|
params: API.APIgetDataBoardOverviewParams,
|
options?: API.RequestConfig
|
) {
|
return request<API.GetDataBoardOverviewOutput>('/api/DataBoard/GetDataBoardOverview', {
|
method: 'GET',
|
params: {
|
...params,
|
input: undefined,
|
...params['input'],
|
},
|
...(options || {}),
|
});
|
}
|
|
/** 查询数据看板园区概况 GET /api/DataBoard/GetDataBoardOverviewByPark */
|
export async function getDataBoardOverviewByPark(
|
// 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
|
params: API.APIgetDataBoardOverviewByParkParams,
|
options?: API.RequestConfig
|
) {
|
return request<API.GetDataBoardOverviewByParkOutput>(
|
'/api/DataBoard/GetDataBoardOverviewByPark',
|
{
|
method: 'GET',
|
params: {
|
...params,
|
},
|
...(options || {}),
|
}
|
);
|
}
|
|
/** 查询数据看板园区概况(第二版) 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 || {}),
|
}
|
);
|
}
|