analysis.js
6.77 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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
import req from '@/api/http.js'
// analysisReport 是定义综合分析报表的接口
const analysisReport = {
/**
* 基础分析报表
*/
baseAnalysis(analysisLevel, params, config) {
return req('get', `/report/basics/${analysisLevel}`, params, config)
},
/**
* 日期对比报表
*/
dateComparedAnalysis(analysisLevel, params, config) {
return req('get', `/report/dateCompared/${analysisLevel}`, params, config)
},
/**
* 综合分析报表
*/
synthesizeAnalysis(analysisLevel, params, config) {
return req('get', `/report/synthesize/${analysisLevel}`, params, config)
},
/**
* 活动报表
*/
holidayObjectAnalysis(analysisLevel, params, config) {
return req('get', `/report/holidayObject/${analysisLevel}`, params, config)
},
/**
* 节假日活动报表
*/
holidayEventAnalysis(analysisLevel, params, config) {
return req('get', `/report/holidayeEvent/${analysisLevel}`, params, config)
},
/**
* 进出客流报表
*/
trafficInAndOutAnalysis(analysisLevel, params, config) {
return req('get', `/report/trafficInAndOut/${analysisLevel}`, params, config)
},
/**
* 主力店报表
*/
mainZoneYOAnalysis(params, config) {
return req('get', '/report/mainZoneYOAnalysis/zone', params, config)
},
/**
* 排行榜报表
*/
rankingAnalysis(analysisLevel, params, config) {
return req('get', `/report/ranking/${analysisLevel}`, params, config)
},
/**
* 坪效排行榜报表
*/
kpiRankingAnalysis(analysisLevel, params, config) {
return req('get', `/report/ranking/areaEffect/${analysisLevel}`, params, config)
},
/**
* 同环比报表
*/
yoyOrMomAnalysis(analysisLevel, params, config) {
return req('get', `/report/yoyOrMom/${analysisLevel}`, params, config)
},
/**
* 进店率报表
*/
enteringRateAnalysis(analysisLevel, params, config) {
return req('get', `/report/enteringRate/${analysisLevel}`, params, config)
},
/**
* 时间对比报表
*/
timeCompareAnalysis(analysisLevel, params, config) {
return req('get', `/report/timeCompareAnalysis/${analysisLevel}`, params, config)
},
/**
* 时段客流报表
*/
thermodynamicAnalysis(analysisLevel, params, config) {
return req('get', `/report/thermodynamic/${analysisLevel}`, params, config)
},
/**
* 天气分析报表
*/
weatherAnalysis(analysisLevel, params, config) {
return req('get', `/report/weather/${analysisLevel}`, params, config)
},
/**
* 周中周末对比报表
*/
weekComparedAnalysis(analysisLevel, params, config) {
return req('get', `/report/weekCompared/${analysisLevel}`, params, config)
},
/**
* 获取活动对象
*/
events(params, config) {
return req('get', '/events/getEvent', params, config)
},
/**
* 获取监控点热力数据
*/
heatmapTraffic(params, config) {
return req('get', '/report/heatmapTraffic/mall', params, config)
},
/**
* 返店分析报表
*/
returnshopReport(params, config) {
return req('get', '/returnMallAnalysis/mall', params, config)
},
/**
* 循环获取报表
*/
getMultipleReport(url, params, config) {
return req('get', url, params, config)
},
/**
* 集团区域客流
*/
blocAreaTrafficReport(params, config) {
return req('get', '/report/region/account', params, config)
},
/**
* 多次到店顾客
*/
historyArrival(params) {
return req('get', window._vionConfig.repeatInStoreUrl + '/api/v1/face/historyArrival', params)
},
// 滞留时间统计
residenceTime(analysisLevel, params) {
return req('get', `/residenceTime/${analysisLevel}`, params)
},
retentionInAndOut(analysisLevel,params) {
return req('get', `/report/retentionInAndOut/${analysisLevel}`, params)
},
retentionFishEye(params) {
return req('get', '/report/retentionFishEye/mall', params)
},
// 获取拼接热力
getZoneHeatMap(params) {
return req('get', '/report/zoneHeatmap/mall', params)
},
// 店铺获取关联
getzoneAssociation(params) {
return req('get', '/report/zoneAssociation/mall', params)
},
// 业态获取关联
getformatAssociation(params) {
return req('get', '/report/formatAssociation/mall', params)
},
getThred(params) {
console.log("🚀 ~ file: analysis.js ~ line 156 ~ getThred ~ params", params)
return req('get', '/analysis/trend', params)
},
getCustiom(params) {
return req('get', '/analysis/trend', params)
},
getstoreCapacity(params) {
return req('get', '/analysis/storeCapacityAnalysis', params)
},
getstoreCapacityPercentage(params) {
return req('get', '/analysis/storeCapacityPercentage', params)
},
getZoneInfo(params) {
return req('get', '/report/zoneAssociation/zone/info', params)
},
getSourceList(params) {
return req('get', '/report/zoneAssociation/zone/source', params)
},
getTargetList(params) {
return req('get', '/report/zoneAssociation/zone/target', params)
},
// 货架统计
getZoneStatistics(params) {
return req('POST', '/heatMap/zoneStatistics', params)
},
getBoothList(params) {
return req('get', '/booth/list', params)
},
// 获取人员id列表
getPersonList(params){
return req('POST', '/heatMap/personList', params)
},
// 获取人员轨迹数据
getPersonTrackDetail(params){
return req('POST', '/heatMap/getPersonTrack', params)
},
// 获取客流统计报表
getPassengerFlowStatistics(params){
return req('GET', '/basePassengerFlow/passengerFlow', params)
},
getPassengerFlowMultiMallStatistics(params){
return req('GET', '/multiMall/passengerFlow', params)
},
// 获取停留时长统计报表
getResidenceTimeStatistics(params){
return req('GET', '/basePassengerFlow/residenceTime', params)
},
// 获取顾客属性统计报表
getCustomerAgeStatistics(params){
return req('GET', '/basePassengerFlow/customerAge', params)
},
getCustomerGenderStatistics(params){
return req('GET', '/basePassengerFlow/customerGender', params)
},
getGroupPassengerFlowStatistics(params){
return req('GET', '/basePassengerFlow/group', params)
},
getGroupPassengerFlowStatisticsTree(params){
return req('GET', '/basePassengerFlow/group/tree', params)
},
getIndexMalls(params){
return req('GET', '/report/YoYOrMoM/malls', params)
},
}
export default analysisReport;