wupengfei
2025-04-07 c8fe05eb089226a8f1f36e403f25f99f99831954
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
/* 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 || {}),
  });
}
 
/** 获取服务人员分页列表 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 || {}),
  });
}