wupengfei
3 天以前 b5312ca8f8cea8218293053b1a0b5b232d321a0b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
/* 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 || {}),
    }
  );
}