/*
*   统计管理-路由表
* */
import layout from '@/components/layout/layout'
import layout3 from '@/components/layout/layout3'
import { planningOfficeReport } from './planningOfficeReport'// 计划室报表
import { supplierRoomReport } from './supplierRoomReport' // 供应商室统计报表
import { purchasingRoomReport } from './purchasingRoomReport' // 采购室报表

export default [
  {
    path: '/statisticalManagement',
    component: layout3,
    children: [
    ]
  },
  {
    path: '/statisticalManagement',
    component: layout,
    children: [
      // 采购计划统计
      {
        path: 'procurementPlanningStatisticsChart',
        meta: { path: 'procurementPlanningStatisticsChart' },
        component: () => import('@/views/procurement/statisticalManagement/procurementPlanningStatistics/procurementPlanningStatisticsChart')
      },
      // 采购单统计
      {
        path: 'purchaseOrderStatisticsChart',
        meta: { path: 'purchaseOrderStatisticsChart' },
        component: () => import('@/views/procurement/statisticalManagement/purchaseOrderStatistics/purchaseOrderStatisticsChart')
      },
      // 集采订单统计
      {
        path: 'collectivePurchaseOrderStatisticsChart',
        meta: { path: 'collectivePurchaseOrderStatisticsChart' },
        component: () => import('@/views/procurement/statisticalManagement/collectivePurchaseOrderStatistics/collectivePurchaseOrderStatisticsChart')
      },
      // 供应商统计
      {
        path: 'supplierStatisticsChart',
        meta: { path: 'supplierStatisticsChart' },
        component: () => import('@/views/procurement/statisticalManagement/supplierStatistics/supplierStatisticsChart')
      },
      // 服务费统计
      {
        path: 'serviceChargeStatistics-list',
        meta: { path: 'serviceChargeStatistics-list' },
        component: () => import('@/views/procurement/statisticalManagement/serviceChargeStatistics/serviceChargeStatistics-list')
      },
      // 全流程时间节点表
      {
        path: 'wholeProcessTimeNode-list',
        meta: { path: 'wholeProcessTimeNode-list' },
        component: () => import('@/views/procurement/statisticalManagement/wholeProcessTimeNode/wholeProcessTimeNode-list')
      },
      ...planningOfficeReport, // 计划室报表
      ...supplierRoomReport, // 供应商室路由报表
      ...purchasingRoomReport // 采购室报表
    ]
  }
]
