wupengfei
2025-04-18 7c24e02dd40f435aa036d4f3932e72f193441d06
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
/* eslint-disable */
// @ts-ignore
import { request } from '@/utils/request';
 
/** 批量设置客户服务人员 POST /api/Customer/BatchSetUserServiceStaff */
export async function batchSetUserServiceStaff(
  body: API.BatchSetUserServiceStaffInput,
  options?: API.RequestConfig
) {
  return request<number>('/api/Customer/BatchSetUserServiceStaff', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 客户管理分页列表 POST /api/Customer/GetCustomerManagePage */
export async function getCustomerManagePage(
  body: API.QueryCustomerManageInput,
  options?: API.RequestConfig
) {
  return request<API.CustomerManageListOutputPageOutput>('/api/Customer/GetCustomerManagePage', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 我的客户管理分页列表 POST /api/Customer/GetMyCustomerManagePage */
export async function getMyCustomerManagePage(
  body: API.QueryCustomerManageInput,
  options?: API.RequestConfig
) {
  return request<API.CustomerManageListOutputPageOutput>('/api/Customer/GetMyCustomerManagePage', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 运营端-政务端一园区客户管理企业基本信息 GET /api/Customer/GetParkCustomerManageBaseDetail */
export async function getParkCustomerManageBaseDetail(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.APIgetParkCustomerManageBaseDetailParams,
  options?: API.RequestConfig
) {
  return request<API.GetParkCustomerManageDetailOutput>(
    '/api/Customer/GetParkCustomerManageBaseDetail',
    {
      method: 'GET',
      params: {
        ...params,
      },
      ...(options || {}),
    }
  );
}
 
/** 获取服务人员分页列表 POST /api/Customer/GetServiceStaffPage */
export async function getServiceStaffPage(
  body: API.QueryServiceStaffListInput,
  options?: API.RequestConfig
) {
  return request<API.ServiceStaffListOutputPageOutput>('/api/Customer/GetServiceStaffPage', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 设置用户所属产业园区 POST /api/Customer/SetUserIndustrialPark */
export async function setUserIndustrialPark(
  body: API.SetUserIndustrialParkInput,
  options?: API.RequestConfig
) {
  return request<number>('/api/Customer/SetUserIndustrialPark', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 设置客户服务人员 POST /api/Customer/SetUserServiceStaff */
export async function setUserServiceStaff(
  body: API.SetUserServiceStaffInput,
  options?: API.RequestConfig
) {
  return request<number>('/api/Customer/SetUserServiceStaff', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}