import Layout from '@/layout'

const ums = {
  path: '/ums',
  component: Layout,
  name: 'Ums',
  meta: { title: '用户中心', icon: 'user', roleValue: 'ums_show' },
  redirect: '/ums/customer',
  children: [
    {
      path: 'customer',
      component: () => import('@/views/ums/customer/index'),
      name: 'UmsCustomer',
      meta: { title: '注册用户', icon: 'el-icon-s-custom', roleValue: 'ums_customer_show' }
    },
    {
      path: 'singer',
      component: () => import('@/views/ums/singer/index'),
      name: 'UmsSinger',
      meta: { title: '艺人', icon: 'peoples', roleValue: 'ums_singer_show' }
    },
    {
      path: 'worker',
      component: () => import('@/views/ums/worker/index'),
      name: 'UmsWorker',
      meta: { title: '吧台', icon: 'el-icon-user-solid', roleValue: 'ums_worker_show' }
    },
    {
      path: 'boss',
      component: () => import('@/views/ums/boss/index'),
      name: 'UmsBoss',
      meta: { title: '老板', icon: 'el-icon-user', roleValue: 'ums_boss_show' }
    }
  ]
}

export default ums
