worryDetailApi.js
1.3 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
import { http } from '@/main'
const defaultPath = 'scrm.api.equity.'
const getWorryDetailList = params => {
params.method = `${defaultPath}service.cfc.pagination.list.get`
return http({
url: 'rop-scrm-equity/router',
method: 'POST',
data: params,
})
}
const getdetailTotal = params => {
params.method = `${defaultPath}service.cfc.statistics.get`
return http({
url: 'rop-scrm-equity/router',
method: 'POST',
data: params,
})
}
const selWorryDetailList = params => {
params.method = `${defaultPath}service.cfc.get.by.seqno`
return http({
url: 'rop-scrm-equity/router',
method: 'POST',
data: params,
})
}
const modWorryDetailList = params => {
params.method = `${defaultPath}service.cfc.update`
return http({
url: 'rop-scrm-equity/router',
method: 'POST',
data: params,
returnAll:true
})
}
//清空无忧卡使用状态
const clearWorryStatus = params => {
params.method = `${defaultPath}service.cfc.clear`
return http({
url: 'rop-scrm-equity/router',
method: 'POST',
data: params,
returnAll:true
})
}
export default {
getWorryDetailList,
getdetailTotal,
selWorryDetailList,
modWorryDetailList,
clearWorryStatus
}