/* Layout */
import Layout from '@/layout'

// 授权管理页面
const feedbackRoutes = [
  {
    path: '/feedback',
    component: Layout,
    alwaysShow: true,
    redirect: '/feedback/list',
    name: 'Feedback',
    meta: { title: '用户反馈', icon: 'el-icon-s-comment', roles: ['normal'], noCache: true },
    children: [
      {
        path: 'list',
        component: () => import('@/views/normal/feedback'),
        name: 'FeedbackList',
        meta: { title: '反馈列表', icon: 'el-icon-menu', roles: ['normal'], noCache: true }
      },
      {
        path: 'detail',
        component: () => import('@/views/normal/feedback/detail'),
        name: 'FeedbackDetail',
        hidden: true,
        meta: { title: '反馈处理', icon: 'el-icon-menu', roles: ['normal'], noCache: true }
      }
    ]
  }
]

export default feedbackRoutes
