analysis.js
3.95 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
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)
},
/**
* 同环比报表
*/
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(params) {
return req('get', '/report/retentionInAndOut/mall', params)
},
retentionFishEye(params) {
return req('get', '/report/retentionFishEye/mall', params)
}
}
export default analysisReport;