import * as Icons from '@element-plus/icons-vue';

export default [
  {
    title: '首页',
    path: '/',
    name: 'Index',
    icon: Icons['House'],
    // component: () => import('@/views/index/index.vue'),
    component: () => import('@/views/error/developing.vue'),
  },
  {
    title: '审核预览',
    path: '/approvalPreview',
    name: 'IndexApprovalPreview',
    icon: Icons['DataBoard'],
    hideInMenu: true,
    component: () => import('@/views/index/approvalPreview/index.vue'),
  },
  {
    title: '项目管理',
    path: '/project',
    name: 'Project',
    icon: Icons['Monitor'],
    children: [
      {
        title: '项目列表',
        path: '/project/projectList',
        name: 'ProjectList',
        component: () => import('@/views/task/projectList/index.vue'),
      },
      // {
      //   title: '项目详情',
      //   path: '/task/projectDetail',
      //   name: 'TaskProjectDetail',
      //   component: () => import('@/views/task/projectDetail/index.vue'),
      // },
      {
        title: '数据统计',
        path: '/project/statistics',
        name: 'ProjectDataStatistics',
        component: () => import('@/views/data/statistics/index.vue'),
      },
    ],
  },
  {
    title: '任务管理',
    path: '/task',
    name: 'Task',
    icon: Icons['Monitor'],
    children: [
      {
        title: '新增待办',
        path: '/task/sponsor',
        name: 'TaskSponsor',
        // component: () => import('@/views/task/simulationTask/newDemand/index.vue'),
        component: () => import('@/lyric/views/task/demand.vue'),
      },
      {
        title: '我确认的',
        path: '/task/confirm',
        name: 'TaskConfirm',
        component: () => import('@/views/task/simulationTask/confirmTask/index.vue'),
      },
      {
        title: '我分发的',
        path: '/task/send',
        name: 'TaskSend',
        component: () => import('@/views/task/simulationTask/mySend/index.vue'),
      },
      {
        title: '我执行的',
        path: '/task/execute',
        name: 'TaskExecute',
        component: () => import('@/views/task/simulationTask/executeTask/index.vue'),
      },
      {
        title: '我关注的',
        path: '/task/attention',
        name: 'TaskAttention',
        component: () => import('@/views/task/simulationTask/attentionTask/index.vue'),
      },
      {
        title: '所有任务',
        path: '/task/all',
        name: 'TaskAll',
        component: () => import('@/views/task/simulationTask/allTask/index.vue'),
      },
      {
        title: '任务执行',
        path: '/task/execution',
        name: 'TaskExecution',
        // component: () => import('@/views/task/execution/index.vue'),
        component: () => import('@/views/task/execution/index.vue'),
      },
      {
        title: '工作负载',
        path: '/task/workLoad',
        name: 'TaskWorkLoad',
        component: () => import('@/views/task/workLoad/index.vue'),
      },

    ],
  },
  {
    title: '数据管理',
    path: '/data',
    name: 'Data',
    icon: Icons['PieChart'],
    children: [
      {
        title: '数据总览',
        path: '/data/overview',
        name: 'DataOverview',
        component: () => import('@/views/data/overview/index.vue'),
      },
      {
        title: '数据查询',
        path: '/data/analysis',
        name: 'DataAnalysis',
        component: () => import('@/views/data/analysis/index.vue'),
      },
      {
        title: '模型管理',
        path: '/data/grid',
        name: 'DataGrid',
        // component: () => import('@/views/data/grid/index.vue'),
        component: () => import('@/views/error/developing.vue'),
      },

      {
        title: '数据权限',
        path: '/data/permission',
        name: 'DataPermission',
        component: () => import('@/views/data/permission/index.vue'),
      },

      {
        title: '数据训练',
        path: '/data/train',
        name: 'DataTrain',
        component: () => import('@/views/data/train/index.vue'),
      },
      {
        title: '数据预测',
        path: '/data/forecast',
        name: 'DataForecast',
        component: () => import('@/views/data/forecast/index.vue'),
      },
    ],
  },
  {
    title: '流程管理',
    path: '/simulationFlow',
    name: 'simulationFlow',
    icon: Icons['Cpu'],
    children: [
      {
        title: '仿真流程库',
        path: '/simulation/process',
        name: 'SimulationProcess',
        component: () => import('@/views/simulation/process/index.vue'),
        // component: () => import('@/views/error/developing.vue'),
      },
      // {
      //   title: '我的仿真流程库',
      //   path: '/simulation/myProcess',
      //   name: 'SimulationMyProcess',
      //   component: () => import('@/views/simulation/myProcess/index.vue'),
      //   // component: () => import('@/views/error/developing.vue'),
      // },
      // {
      //   title: '仿真流程创建',
      //   path: '/simulation/creation',
      //   name: 'SimulationCreation',
      //   // component: () => import('@/views/simulation/creation/index.vue'),
      //   component: () => import('@/views/error/developing.vue'),
      // },
      // {
      //   title: '仿真工具',
      //   path: '/simulation/tool',
      //   name: 'SimulationTool',
      //   // component: () => import('@/views/simulation/tool/index.vue'),
      //   component: () => import('@/views/error/developing.vue'),
      // },
      // {
      //   title: '应用中心',
      //   path: '/simulation/appCenter',
      //   name: 'SimulationAppCenter',
      //   component: () => import('@/views/task/appCenter/index.vue'),
      // },
    ],
  },
  {
    title: '能力中心',
    path: '/competenceCenter',
    name: 'CompetenceCenter',
    icon: Icons['Cpu'],
    children: [
      {
        title: '仿真工况库',
        path: '/competenceCenter/condition',
        name: 'CompetenceCenterCondition',
        component: () => import('@/views/competenceCenter/condition/index.vue'),
      },
      {
        title: '仿真指标库',
        path: '/competenceCenter/indicator',
        name: 'CompetenceCenterIndicator',
        component: () => import('@/views/competenceCenter/indicator/index.vue'),
      },
      {
        title: '仿真知识库',
        path: '/competenceCenter/knowledge',
        name: 'CompetenceCenterKnowledge',
        component: () => import('@/views/competenceCenter/knowledge/index.vue'),
      },
      {
        title: '仿真参数库',
        path: '/competenceCenter/parameter',
        name: 'CompetenceCenterParameter',
        component: () => import('@/views/simulation/parameter/index.vue'),
      },
      // {
      //   title: '仿真流程库',
      //   path: '/simulation/process',
      //   name: 'SimulationProcess',
      //   // component: () => import('@/views/simulation/process/index.vue'),
      //   component: () => import('@/views/error/developing.vue'),
      // },
      // {
      //   title: '仿真流程创建',
      //   path: '/simulation/creation',
      //   name: 'SimulationCreation',
      //   // component: () => import('@/views/simulation/creation/index.vue'),
      //   component: () => import('@/views/error/developing.vue'),
      // },
      // {
      //   title: '仿真工具',
      //   path: '/simulation/tool',
      //   name: 'SimulationTool',
      //   // component: () => import('@/views/simulation/tool/index.vue'),
      //   component: () => import('@/views/error/developing.vue'),
      // },
    ],
  },

  {
    title: '系统管理',
    path: '/system',
    name: 'system',
    icon: Icons['Setting'],
    children: [
      {
        title: '数据存储',
        path: '/system/storage',
        name: 'DataStorage',
        component: () => import('@/views/data/storage/index.vue'),
      },
      {
        title: '审批流程',
        path: '/system/approval',
        name: 'systemApproval',
        // component: () => import('@/views/system/approval/index.vue'),
        component: () => import('@/views/error/developing.vue'),
      },
      {
        title: '数据字典',
        path: '/system/dictionary',
        name: 'systemDictionary',
        component: () => import('@/views/system/dictionary/index.vue'),
      },
      {
        title: '菜单管理',
        path: '/system/menu',
        name: 'systemMenu',
        // component: () => import('@/views/system/menu/index.vue'),
        component: () => import('@/views/error/developing.vue'),
      },
      {
        title: '租户管理',
        path: '/system/tenant',
        name: 'systemTenant',
        component: () => import('@/views/system/tenant/index.vue'),
      },
      {
        title: '配置管理',
        path: '/system/configuration',
        name: 'systemConfiguration',
        // component: () => import('@/views/system/configuration/index.vue'),
        component: () => import('@/views/error/developing.vue'),
      },
      {
        title: '角色管理',
        path: '/system/role',
        name: 'systemRole',
        component: () => import('@/views/system/role/index.vue'),
      },
      {
        title: '用户管理',
        path: '/system/user',
        name: 'systemUser',
        component: () => import('@/views/system/user/index.vue'),
      },
      {
        title: '用户组管理',
        path: '/system/group',
        name: 'systemGroup',
        component: () => import('@/views/system/group/index.vue'),
      },
      {
        title: '应用管理',
        path: '/system/application',
        name: 'systemApplication',
        component: () => import('@/views/system/application/index.vue'),
      },
      {
        title: '动态表格',
        path: '/system/dynamicTable',
        name: 'systemDynamicTable',
        component: () => import('@/views/system/dynamicTable/index.vue'),
      },
    ],
  },
];
