clewOrder.js
964 Bytes
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
import { http } from '@/main'
const url1 = '/rop-scrm-entmicro/router'
const url = '/rop-scrm-shopmall/router'
//门店号选择服务
const getMerchantList = params => {
params.method = 'entmicro.api.merchant.listDepartmentTree.select.merchant'
return http({
url: url1,
method: 'post',
data: params,
sign: true
})
}
//分页查询线索喜报配置信息
const getClueReportList = params => {
params.method = `scrm.api.shopmall.clueReportConfig.page`
return http({
url,
method: 'post',
data: params,
sign: true
})
}
// 新增或修改喜报配置
const updateClueReportConfig = params => {
params.method = `scrm.api.shopmall.clueReportConfig.insertOrUpdate`
return http({
url,
method: 'post',
data: params,
sign: true,
returnAll: true
})
}
export default { getMerchantList, getClueReportList, updateClueReportConfig }