flowReport.js
2.72 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
import req from '@/api/http.js'
// analysisReport 是定义顾客行为报表的接口
const flowReport = {
/**
* 特别抓拍记录列表
*/
uniqueCaptureRecord(params, config) {
return req('get', '/faceRecognitions/unique', params, config)
},
/**
* 抓拍记录列表
*/
captureRecord(params, config) {
return req('get', '/faceRecognitions', params, config)
},
/**
* 区域客流分时
*/
zoneCustomerTimeShare(params, config) {
return req('get', '/report/zoneCustomerTimeShare/zone', params, config)
},
/**
* 区域客群
*/
trafficAnalyze(params, config) {
return req('get', '/report/trafficAnalyze/zone', params, config)
},
/**
* 出入口/门店客群
*/
faceAnalyzeSta(analysisLevel, params, config) {
return req('get', `/report/faceAnalyzeSta/${analysisLevel}`, params, config)
},
/**
* 新老顾客
*/
mallDayFaceRecognitionStas(params, config) {
return req('get', '/mallDayFaceRecognitionStas', params, config)
},
newAndRegularAnalysis(analysisLevel, params, config) {
return req('get', `/newAndRegularAnalysis/${analysisLevel}`, params, config)
},
mallDayHistoryArriveCounts(analysisLevel, params) {
return req('get', `/mallDayHistoryArriveCounts/${analysisLevel}`, params)
},
/**
* 有效客流统计
*/
mallDayEffective(params, config) {
return req('get', `/mallDayFaceRecognitionStas/effective${params.level=='zone'?'/zone':''}`, params, config)
},
/**
* 区域客流
*/
faceDistribution(params, config) {
return req('get', '/report/faceDistribution/gate', params, config)
},
/**
* 客群分时
*/
faceCountAnalyzeSta(analysisLevel, params, config) {
return req('get', `/report/faceCountAnalyzeSta/${analysisLevel}`, params, config)
},
historyCapture(params, config) {
return req('get', '/faceRecognitions/history', params, config)
},
lossCustomer(params, config) {
return req('get', '/report/lossCustomer/mall', params, config)
},
//人员类型统计
analyzeList(params, config) {
return req('get', '/personType/analyze/list', params, config)
},
// 顾客店员趋势
customTrend(params, config) {
return req('get', '/d-mall-day-face-recognition-sta/trend', params, config)
},
customTrendHour(params, config) {
return req('get', '/d-mall-hour-face-recognition-sta/trend', params, config)
},
// 顾客店员趋势导出
customTrendExport(){
return req('get', '/d-mall-day-face-recognition-sta/trend/export', params, config)
}
}
export default flowReport;