detail.js
1.83 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
const url = '/rop-scrm-entmicro/router'
// const url = 'http://192.168.1.163:8080/rop-scrm-entmicro/router'
export default {
/** 侧边栏-客户跟进 */
getCustomerDetail(data) {
data.method = 'entmicro.api.customer.detail'
return window.$HTTP({
url,
data,
})
},
/** 侧边栏-群客户跟进-群基本信息 */
getCustomerBaseDetail(data) {
data.method = 'entmicro.api.customer.base.detail'
return window.$HTTP({
url,
data,
})
},
/** 侧边栏-群客户跟进-统计接口 */
getCustomerBaseDetailStatics(data) {
data.method = 'entmicro.api.customer.base.detail.statics'
return window.$HTTP({
url,
data,
})
},
/** 侧边栏-群客户跟进-群客户列表 */
getCustomerCustList(data) {
data.method = 'entmicro.api.customer.base.cust.list'
return window.$HTTP({
url,
data,
})
},
/** 侧边栏-群客户跟进-群员工列表 */
getCustomerStaffList(data) {
data.method = 'entmicro.api.customer.base.staff.list'
return window.$HTTP({
url,
data,
})
},
/** 根据Id获取客户跟进记录列表 */
getCustomerRecord (data) {
data.method = 'entmicro.api.customer.record'
return window.$HTTP({
url,
data
})
},
/** 获取业主类型列表 */
getOwnerTypeListApi (data) {
data.method = 'entmicro.api.common.dictdata.list'
return window.$HTTP({
url,
data
})
},
/** 查询业主住户和楼栋信息 */
getRoomListApi (data) {
data.method = 'entmicro.api.property.room.page'
return window.$HTTP({
url,
data
})
},
/** 获取业主信息 */
getOwnerInfoApi (data) {
data.method = 'entmicro.api.customer.property.message.get'
return window.$HTTP({
url,
data
})
},
/** 修改业主信息 */
updateOwnerInfoApi (data) {
data.method = 'entmicro.api.customer.property.message.update'
return window.$HTTP({
url,
data
})
},
}