customer.js
3.46 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
import req from '@/api/http.js'
// analysisReport 是定义顾客行为报表的接口
const customerReport = {
/**
* 区域热力报表
*/
zoneHotMapReport(params, config) {
return req('get', '/heatmap/zoneHotmap/mall', params, config)
},
/**
* 顾客轨迹动线
*/
movingLineReport(personUnid, params, config) {
return req('get', `/report/movingLine/customerLine/${personUnid}`, params, config)
},
/**
* 客流动线
*/
flowMovingLineReport(params, config) {
return req('get', '/report/movingLine/floor', params, config)
},
/**
* 客流方向
*/
faceMavingLineReport(params, config) {
return req('get', '/report/movingLine/faceMavingLines', params, config)
},
/**
* 单楼层
*/
moveLineSimpleFloor(params, config) {
return req('get', '/report/movingLine/floorMovingLine', params, config)
},
/**
* 多楼层
*/
moveLineMultipleFloor(params, config) {
return req('get', '/report/movingLine/floorMovingLines', params, config)
},
/**
* facepage
*/
facePageReport(params, config) {
return req('get', '/faceRecognitions/report/facePage/gate', params, config)
},
/**
* 展台热力
*/
trackHeatmapReport(channelId, params, config) {
return req('get', `/heatmap/trackHeatmap/${channelId}`, params, config)
},
/**
* 楼层热力
*/
floorHeatmapReport(floorId, params, config) {
return req('get', `/heatmap/floorHeatmap/${floorId}`, params, config)
},
/**
* 开心指数
*/
happyIndexReport(analysisLevel, params, config) {
return req('get', `/report/happyIndex/${analysisLevel}`, params, config)
},
/**
* 店内热力
*/
inStoreHeatReport(params, config) {
return req('get', '/heatmapDataRaws', params, config)
},
newinStoreHeatReport(params, config) {
return req('post', '/heatMap/get', params, config)
},
/**
* 滞留时间
*/
residenceReport(params, config) {
return req('get', `/report/residence/${params.level||'mall'}`, params, config)
},
/**
* 动线分析
*/
movingLineAnalysis(params, config) {
return req('get', '/report/movingLine/customerLines', params, config)
},
movingLineAnalysisStore(params, config) {
return req('get', '/track/trendStatistics', params, config)
},
movingRouteAnalysisStore(params, config) {
return req('get', '/track/routeAnalysis', params, config)
},
/**
* 通道抓拍 删除
*/
channelSnapshot(analysisLevel, orgId, params, config) {
return req('get', `/channelSnapshots/${analysisLevel}/${orgId}`, params, config)
},
/**
* 点位热力
*/
floorHeatmap(orgId, params, config) {
return req('get', `/heatmap/floor/${orgId}`, params, config)
},
trafficHeatmap(analysisLevel, orgId, params, config) {
return req('get', `/heatmap/${analysisLevel}/${orgId}`, params, config)
},
/**
* 点位热力
*/
heatmap(channelSerialnum, params, config) {
return req('get', `/heatmap/${channelSerialnum}`, params, config)
},
heatmapDataRaw(params, config) {
return req('get', '/heatmapDataRaws', params, config)
},
analysisSankey(params, config) {
return req('get', '/report/faceAnalyze/sankey', params, config)
}
}
export default customerReport;