Newer
Older
dcms_front / src / router / modules / comment.js
/* Layout */
import Layout from '../../views/layout/Layout'
export const commenetRouters = [
  {
    path: '/comment',
    name: 'comment',
    redirect: '/accessDept',
    hidden: true,
    meta: {
      title: '综合评价子系统',
      permission: ['/comment'],
      isSys: true
    }
  },
  {
    path: '/accessDept',
    component: Layout,
    redirect: '/accessFuncDept',
    name: 'AccessDept',
    alwaysShow: true,
    meta: {
      title: '部门考核',
      permission: ['/accessDept'],
      sys: '/comment'
    },
    children: [
      {
        path: '/accessFuncDept',
        component: () => import('@/views/deptAccess/deptAccess'),
        name: 'AccessFuncDept',
        meta: { title: '职能单位评价', icon: '', belongSys: '', permission: '/accessFuncDept' }
      }
    ]
  },
  {
    path: '/otherComment',
    component: Layout,
    redirect: '/highFreq',
    name: 'OtherComment',
    alwaysShow: true,
    meta: {
      title: '其他评价',
      permission: ['/otherComment'],
      sys: '/comment'
    },
    children: [
      {
        path: '/highFreq',
        component: () => import('@/views/otherComment/highFreq/highFreq'),
        name: 'HighFreq',
        meta: { title: '高发问题', icon: '', belongSys: '', permission: '/highFreq' }
      },
      {
        path: '/sourceStatis',
        component: () => import('@/views/otherComment/sourceStatis/sourceStatis'),
        name: 'SourceStatis',
        meta: { title: '来源统计', icon: '', belongSys: '', permission: '/sourceStatis' }
      }
    ]
  }
]