/* Layout */
import Layout from '../../layout/Layout'
export const commonRouters = [
  {
    path: '/common',
    component: Layout,
    name: 'common',
    hidden: true,
    meta: {
      title: '公共路由',
      permission: '/common'
    },
    children: [
      {
        path: '/caseDetailRead',
        name: 'CaseDetailRead',
        component: () => import('@/views/caseCommon/caseDetailRead'),
        hidden: true,
        meta: { title: '案卷详情', icon: 'icon-config', permission: ['/caseDetail'] }
      },
      {
        path: '/caseDetailSupervise/:id(\\d+)',
        name: 'CaseDetailSupervise',
        component: () => import('@/views/caseCommon/caseDetailSupervise'),
        hidden: true,
        meta: { title: '案卷详情', icon: 'icon-config', permission: ['/caseDetail'] }
      },
      {
        path: '/caseDetaliProcess',
        name: 'CaseDetailProcess',
        component: () => import('@/components/CaseCommon/caseDetail'),
        hidden: true,
        meta: { title: '案卷详情', icon: 'icon-config', permission: ['/caseDetail'] }
      },
      {
        path: '/assessCaseList',
        name: 'AssessCaseList',
        component: () => import('@/views/caseCommon/assessCaseList'),
        hidden: true,
        meta: { title: '综合查询', icon: 'icon-config', permission: ['/caseList'] }
      },
      {
        path: '/assessDeptCaseList',
        name: 'AssessDeptCaseList',
        component: () => import('@/views/deptAccess/assessDeptCaseList'),
        hidden: true,
        meta: { title: '综合查询', icon: 'icon-config', permission: ['/caseList'] }
      },
      {
        path: '/historyCaseList',
        name: 'HistoryCaseList',
        component: () => import('@/views/callCase/historyCaseList'),
        hidden: true,
        meta: { title: '综合查询', icon: 'icon-config', permission: ['/caseDetail'] }
      }
    ]
  }
]
