customerApi.js
5.36 KB
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
import http from '../request/http'
import environment from '@/env'
module.exports = {
/**查询当前门店是否有客户档案权限 */
haveCustomerAccess(data) {
return http.post({
method: 'dj.api.smartcarlife.customervisits.findPermissionsMerchantList',
projectName: 'boutique',
...data
})
},
/**查询当前门店客户档案列表 */
getCustomerFileList(data) {
return http.post({
method: 'dj.api.smartcarlife.customervisits.customerInfoPage',
projectName: 'boutique',
...data
})
},
/* 删除客户档案*/
delCustomerFile(data) {
return http.post({
method: 'dj.api.smartcarlife.customervisits.deleteVisitsInfo',
projectName: 'boutique',
...data
})
},
/** 根据业务查询接待场景 */
findAllSence(data) {
return http.post({
method: 'dj.api.smartcarlife.customervisits.findAllSence',
projectName: 'boutique',
...data
})
},
/**根据业务查询客户标签 */
findCustomerTags(data) {
return http.post({
method: 'dj.api.smartcarlife.customervisits.findSenceTag',
projectName: 'boutique',
...data
})
},
/**
* 查询客户档案详情
*/
findVisitsInfo(data) {
return http.post({
method: 'dj.api.smartcarlife.customervisits.findVisitsInfo',
projectName: 'boutique',
...data
})
},
/*
* 保存客户档案
*/
saveVisitsInfo(data) {
return http.post({
method: 'dj.api.smartcarlife.customervisits.saveVisitsInfo',
projectName: 'boutique',
...data
})
},
/**
* 更新客户档案
*/
updateVisitsInfo(data) {
return http.post({
method: 'dj.api.smartcarlife.customervisits.updateVisitsInfo',
projectName: 'boutique',
...data
})
},
/**查询客户档案列表 */
getCustomerInfoList(data) {
return http.post({
method: 'dj.api.smartcarlife.customervisits.customerInfoList',
projectName: 'boutique',
...data
})
},
/**接待客户素材
*
*/
getMaterialResponsePage(data) {
return http.post({
method: 'dj.api.smartcarlife.customervisits.getMaterialResponsePage',
projectName: 'boutique',
...data
})
},
/**素材详情 查询素材详情 */
getMaterialDetail(data) {
return http.post({
method: 'dj.api.smartcarlife.customervisits.getMaterialById',
projectName: 'boutique',
...data
})
},
/**直营驻店人员 */
saleOpen(data) {
return http.post({
method: 'dj.api.car.boutique.resident.direct.sale.merchant',
projectName: 'boutique',
...data
})
},
/**
* 查询今日待执行触达客户
*/
getTodaySopTaskCustomerPage(data) {
return http.post({
method: 'dj.pad.api.today.sop.task.customer.page',
projectName: 'pad',
...data
})
},
/**
* 查询近7天已触达客户
*/
getLastWeekSopTaskCustomerPage(data) {
return http.post({
method: 'dj.pad.api.last.week.sop.task.customer.page',
projectName: 'pad',
...data
})
},
/**
* 查询客户今日未触达任务列表
*/
getTodaySopTaskDetailList(data) {
return http.post({
method: 'dj.pad.api.today.sop.task.detail.list',
projectName: 'pad',
...data
})
},
/**
* 查询客户近7天推送任务记录列表
*/
getLastWeekSopTaskDetailList(data) {
return http.post({
method: 'dj.pad.api.last.week.sop.task.detail.list',
projectName: 'pad',
...data
})
},
/**
* 策略任务确认
*/
confirmSopTask(data) {
return http.post({
method: 'dj.pad.api.last.week.sop.task.confirm',
projectName: 'pad',
...data
})
},
/**
* 轻改业务改版
* 1、客户建档详情
*/
customerProfileInfoAPI(data) {
return http.post({
method: 'dj.api.smartcarlife.order.customerProfileInfo',
projectName: 'pad',
...data
})
},
/**
* 轻改业务改版
* 2、客户建档提交
*/
submitPreliminaryOrderAPI(data) {
return http.post({
method: 'dj.api.smartcarlife.order.preliminaryOrder.batch',
projectName: 'pad',
...data
})
},
/**
* 轻改业务改版
* 3、客户建档提交
*/
submitCustomerProfileAPI(data) {
return http.post({
method: 'dj.api.smartcarlife.order.submitCustomerProfile',
projectName: 'pad',
...data
})
},
/**
* 轻改业务改版
* 3、客户建档分页查询
*/
pageCustomerProfileInfoAPI(data) {
return http.post({
method: 'dj.api.smartcarlife.order.pageCustomerProfileInfo',
projectName: 'pad',
...data
})
},
/**
* 轻改业务改版
* 3、获取客户群信息
*/
getCustomerGroupInfoAPI(data) {
return http.post({
method: 'dj.api.smartcarlife.order.getCustomerGroupInfo',
projectName: 'pad',
...data
})
},
/**
* 轻改业务改版
* 4、获取群成员信息
*/
getCustomerGroupMemberInfoAPI(data) {
return http.post({
method: 'dj.api.smartcarlife.order.getCustomerGroupMemberInfo',
projectName: 'pad',
...data
})
},
/**
* 轻改业务改版
* 5、客户建档分页查询-月按天分组
*/
getCustomerProfileGroupInfoAPI(data) {
return http.post({
method: 'dj.api.smartcarlife.order.pageCustomerProfileGroupInfo',
projectName: 'pad',
...data
})
},
}