claimsApi.js
1.2 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
import api from '~/utils/request/request'
const path = 'scrm.api.assistant.claims.merchant.'
module.exports = {
getClaimsListApi(data) {
return api.post({
method: `${path}list.claims.page`,
...data
}, true)
},
syncContractInfoApi(data) {
return api.post({
method: `${path}create.before.init`,
...data
})
},
saveDamageInfoApi(data) {
return api.post({
method: `${path}lossDeter.draft.or.commit`,
...data
})
},
getAreaDataApi(data) {
return api.post({
method: `scrm.api.equity.service.claims.area`,
...data
})
},
getCommonDataApi(data) {
return api.post({
method: `scrm.api.equity.service.claims.payee.select`,
...data
})
},
getAccountInfoApi(data) {
return api.post({
method: `scrm.api.equity.service.claims.merchant.account`,
...data
})
},
getListTotalApi(data) {
return api.post({
method: `${path}count.claims`,
...data
})
},
getDetailInfoApi(data) {
return api.post({
method: `${path}detail`,
...data
})
},
saveClaimsInfoApi(data) {
return api.post({
method: `${path}claims.draft.or.commit`,
...data
})
}
}