import Layout from '@/layout/index.vue'
export default [
  {
    path: '/fullscreen',
    title: 'FullScreen',
    component: () => import('@/views/FullScreen/index.vue'),
    meta: {
      title: '智慧河长综合管理大屏',
      // hideSelf: true,
      hideChild: true
    }
  },
  {
    path: '/screen',
    component: Layout,
    redirect: '/screen',
    name: 'Screen',
    title: '综合管理大屏',
    meta: {
      title: '综合管理大屏',
      hideChild: true
    },
    children: [
      {
        path: '',
        component: () => import('@/views/screen/index.vue'),
        name: 'Screen',
        title: '综合管理大屏',
        meta: {
          title: '综合管理大屏'
        }
      }
    ]
  },
  {
    path: '/river',
    component: Layout,
    redirect: '/river/panoramic',
    name: 'River',
    title: '河道展示',
    meta: {
      title: '河道展示'
    },
    children: [
      {
        path: 'panoramic',
        component: () => import('@/views/river/panoramic/index.vue'),
        name: 'Panoramic',
        title: '全景影像',
        meta: {
          title: '全景影像'
        }
      },
      {
        path: 'monitoring',
        component: () => import('@/views/river/monitoring/index.vue'),
        name: 'Monitoring',
        title: '监控视频',
        meta: {
          title: '监控视频'
        }
      },
      {
        path: 'conference',
        component: () => import('@/views/river/conference/index.vue'),
        name: 'Conference',
        title: '视频会议',
        meta: {
          title: '视频会议'
        }
      }
    ]
  },
  {
    path: '/inspection',
    component: Layout,
    redirect: '/inspection/allTask',
    name: 'Inspection',
    title: '任务管理',
    meta: {
      title: '任务管理'
    },
    children: [
      {
        path: 'all',
        component: () => import('@/views/inspection/all-task/index.vue'),
        name: 'AllTask',
        title: '所有任务',
        meta: {
          title: '所有任务'
        }
      },
      {
        path: 'review',
        component: () => import('@/views/inspection/review-task/index.vue'),
        name: 'ReviewTask',
        title: '待审核任务',
        meta: {
          title: '待审核任务'
        }
      },
      {
        path: 'implement',
        component: () => import('@/views/inspection/implement-task/index.vue'),
        name: 'ImplementTask',
        title: '待执行任务',
        meta: {
          title: '待执行任务'
        }
      },
      {
        path: 'executing',
        component: () => import('@/views/inspection/executing-task/index.vue'),
        name: 'ExecutingTask',
        title: '执行中任务',
        meta: {
          title: '执行中任务'
        }
      }
    ]
  },
  {
    path: '/problem',
    component: Layout,
    redirect: '/problem/list',
    name: 'Problem',
    title: '问题管理',
    meta: {
      title: '问题管理'
    },
    children: [
      {
        path: 'list',
        component: () => import('@/views/problems/problem-list/index.vue'),
        name: 'ProblemList',
        title: '问题列表',
        meta: {
          title: '问题列表'
        }
      },
      {
        path: 'order',
        component: () => import('@/views/problems/work-order/index.vue'),
        name: 'WorkOrder',
        title: '工单列表',
        meta: {
          title: '工单列表'
        }
      },
      {
        path: 'protection',
        component: () => import('@/views/problems/river-protection/index.vue'),
        name: 'RiverProtection',
        title: '全民护河问题',
        meta: {
          title: '全民护河问题'
        }
      }
    ]
  },
  {
    path: '/resources',
    component: Layout,
    redirect: '/resources/river',
    name: 'Resources',
    title: '资源管理',
    meta: {
      title: '资源管理'
    },
    children: [
      {
        path: 'river',
        component: () => import('@/views/resources/river-manage/index.vue'),
        name: 'RiverManage',
        title: '河道管理',
        meta: {
          title: '河道管理'
        }
      },
      {
        path: 'monitor',
        component: () => import('@/views/resources/monitor-manage/index.vue'),
        name: 'MonitorManage',
        title: '摄像头管理',
        meta: {
          title: '摄像头管理'
        }
      }
    ]
  },
  {
    path: '/reports',
    component: Layout,
    redirect: '/reports/river',
    name: 'Reports',
    title: '报告管理',
    meta: {
      title: '报告管理'
    },
    children: [
      {
        path: 'river',
        component: () => import('@/views/reports/river-report/index.vue'),
        name: 'RiverReport',
        title: '巡河报告',
        meta: {
          title: '巡河报告'
        }
      }
    ]
  },
  {
    path: '/statistics',
    component: Layout,
    redirect: '/statistics/analysis',
    name: 'Statistics',
    title: '数据统计',
    meta: {
      title: '数据统计'
    },
    children: [
      {
        path: 'analysis',
        component: () => import('@/views/statistics/statistical-analysis/index.vue'),
        name: 'StatisticalAnalysis',
        title: '统计分析',
        meta: {
          title: '统计分析'
        }
      }
    ]
  },
  {
    path: '/system',
    component: Layout,
    redirect: '/system/user',
    name: 'Systems',
    title: '系统管理',
    meta: {
      title: '系统管理'
    },
    children: [
      {
        path: 'user',
        component: () => import('@/views/system-manage/user-manage/index.vue'),
        name: 'UserManage',
        title: '用户管理',
        meta: {
          title: '用户管理'
        }
      },
      {
        path: 'role',
        component: () => import('@/views/system-manage/role-manage/index.vue'),
        name: 'RoleManage',
        title: '角色管理',
        meta: {
          title: '角色管理'
        }
      },
      {
        path: 'department',
        component: () => import('@/views/system-manage/department-manage/index.vue'),
        name: 'DepartmentManage',
        title: '部门管理',
        meta: {
          title: '部门管理'
        }
      },
      {
        path: 'menu',
        component: () => import('@/views/system-manage/menu-manage/index.vue'),
        name: 'MenuManage',
        title: '菜单管理',
        meta: {
          title: '菜单管理'
        }
      }
    ]
  },
  {
    path: '/setting',
    component: Layout,
    redirect: '/setting/site',
    name: 'Settings',
    title: '其它设置',
    meta: {
      title: '其它设置'
    },
    children: [
      {
        path: 'site',
        component: () => import('@/views/setting/site/index.vue'),
        name: 'SiteSetting',
        title: '网站设置',
        meta: {
          title: '网站设置'
        }
      },
      {
        path: 'notice',
        component: () => import('@/views/setting/notice/index.vue'),
        name: 'Notice',
        title: '通知公告',
        meta: {
          title: '通知公告'
        }
      },
      {
        path: 'city',
        component: () => import('@/views/setting/city/index.vue'),
        name: 'CityManage',
        title: '城市管理',
        meta: {
          title: '城市管理'
        }
      },
      {
        path: 'advertising',
        component: () => import('@/views/setting/advertising/index.vue'),
        name: 'Advertising',
        title: '广告管理',
        meta: {
          title: '广告管理'
        }
      }
    ]
  }
]

