index.js 1.23 KB
// 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 ipageReport from '@/api/ipage.js'

import login from '@/api/login.js'
// 大屏
import bigScreen from '@/api/bigScreen.js'
// other
// 视频巡店
import videoShopTourReport from '@/api/videoShopTour.js'
// 经营分析
import businessAnalysisApi from '@/api/businessAnalysisApi.js'
import queueManagementApi from '@/api/queueManagementApi.js'
export default {
    base,
    baseReport,
    analysisReport,
    customerReport,
    flowReport,
    ipageReport,
    management,
    login,
    bigScreen,
    videoShopTourReport,
    businessAnalysisApi,
    queueManagementApi
}

// 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...
}) */