export default [
  {
    path: "/statistics",
    name: 'statistics',
    component: () => import("pages/statistics/IndexPage.vue"),
    meta: {
      title: "数据统计",
      Authorization: true
    }
  },
  {
    path: '/statistics/report/:type(paijiang\|chupiao\|win_list)',
    component: () => import("pages/statistics/ReportPage.vue"),
    meta: {
      title: '统计详情',
      Authorization: true,
      KeepAlive: true
    }
  },
  {
    path: '/statistics/report/orders',
    component: () => import("pages/statistics/ReportOrdersPage.vue"),
    meta: {
      title: '订单记录',
      Authorization: true,
      KeepAlive: true
    }
  },
  {
    path: '/statistics/list/:type',
    component: () => import("pages/statistics/FundReportPage.vue"),
    meta: {
      Authorization: true,
      KeepAlive: false
    }
  },
  {
    path: '/statistics/agent',
    component: () => import("pages/statistics/AgentPage.vue"),
    meta: {
      title: "销售统计",
      Authorization: true,
      KeepAlive: true
    }
  },
  {
    path: '/statistics/agent/:id',
    component: () => import("pages/statistics/AgentInfoPage.vue"),
    meta: {
      title: "销售数据",
      Authorization: true,
      KeepAlive: true
    }
  }
]
