index.js
824 Bytes
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
// api接口统一出口
// 基本接口
import base from '@/api/base.js'
// 首页基础报表
import baseReport from '@/api/baseReport.js'
// 客流统计报表
import analysisReport from '@/api/analysis.js'
// 顾客行为报表
import customerReport from '@/api/customer.js'
// 精准客流报表
import flowReport from '@/api/flowReport.js'
// 后台管理
import management from '@/api/backendManage.js'
import login from '@/api/login.js'
// other
export default {
base,
baseReport,
analysisReport,
customerReport,
flowReport,
management,
login
}
// usage demo
/* this.$http.baseReport.accDReport({
orgIds: this.$cookie.get('accountId'),
date: this.searchTime,
chartIds: this.chartIds,
_t: Date.parse(new Date()) / 1000
}).then(res => {
// doSomething...
}) */