solicit.js
2.61 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
/*
* @Description:
* @Author: huyue
* @Date: 2022-06-06 14:26:32
* @LastEditors: huyue
* @LastEditTime: 2022-06-06 21:19:53
*/
const url = '/rop-scrm-marketing/router'
export default {
/**
* 获取跟进结果字典 */
followFindAllDictData(data) {
data.method = 'merchants.api.menu.findAllDictData'
return window.$HTTP({
url: 'http://rop-merchant.dev.glsx.com.cn/rop-merchants/router',
data,
returnAll: true
})
},
// 员工id获取
getStaffid(data) {
data.method = 'marketing.api.solicit.staffid.obtain'
return window.$HTTP({
url: 'http://192.168.1.170:8065/rop-scrm-marketing/router',
data,
returnAll: true
})
},
// 客户招揽-任务总览
taskOverviewData(data) {
data.method = 'marketing.api.solicit.taskOverview'
return window.$HTTP({
url: 'http://192.168.3.226:8593/rop-scrm-marketing/router',
data,
returnAll: true
})
},
// 客户招揽-招揽跟进
solicitationFollow(data) {
data.method = 'marketing.api.solicit.solicitationFollow'
return window.$HTTP({
url,
data,
returnAll: true
})
},
// 一键营销
createdOcmarketing(data) {
data.method = 'marketing.api.solicit.ocmarketing.send'
return window.$HTTP({
url: 'http://192.168.1.170:8065/rop-scrm-marketing/router',
data
})
},
// 一键营销内容回显
getocmarketingList(data) {
data.method = 'marketing.api.solicit.ocmarketing.echo'
return window.$HTTP({
url: 'http://192.168.1.170:8065/rop-scrm-marketing/router',
data,
returnAll: true
})
},
// 触达统计-客户送达分层
deliveredStatistics(data) {
data.method = 'marketing.api.solicit.customer.delivered.statistics'
return window.$HTTP({
url: 'http://192.168.1.170:8065/rop-scrm-marketing/router',
data,
returnAll: true
})
},
// 获取送达、未送达列表
getCustomerList(data) {
data.method = 'marketing.api.solicit.page.customer.condition'
return window.$HTTP({
url: 'http://192.168.1.170:8065/rop-scrm-marketing/router',
data,
returnAll: true
})
},
// 获取客户详情
getCustomerDetail(data) {
data.method = 'marketing.api.solicit.customer.detail'
return window.$HTTP({
url: 'http://192.168.1.170:8065/rop-scrm-marketing/router',
data,
returnAll: true
})
},
// 招揽跟进记录保存
sendSolicitRecord(data) {
data.method = 'marketing.api.solicit.record.save'
return window.$HTTP({
url: 'http://192.168.1.170:8065/rop-scrm-marketing/router',
data,
returnAll: true
})
}
}