index.js 824 Bytes
// 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...
}) */