
import Layout from '@/layout'
import { roterPre } from '@/settings'
const settingRouter =
{
  path: `${roterPre}/setting`,
  name: 'system_group',
  meta: {
    icon: 'dashboard',
    title: '权限管理'
  },
  component: Layout,
  children: [
    {
      path: 'systemRole',
      name: 'setting_role',
      meta: {
        title: '身份管理'
      },
      component: () => import('@/views/setting/systemRole/index')
    },
    {
      path: 'systemAdmin',
      name: 'setting_systemAdmin',
      meta: {
        title: '管理员管理'
      },
      component: () => import('@/views/setting/systemAdmin/index')
    },
    {
      path: 'systemLog',
      name: 'setting_systemLog',
      meta: {
        title: '操作日志'
      },
      component: () => import('@/views/setting/systemLog/index')
    },
    {
      path: 'sms/sms_config/index',
      name: 'smsConfig',
      meta: {
        title: '使用记录'
      },
      component: () => import('@/views/notify/smsConfig/index')
    },
    {
      path: 'sms/sms_pay/index',
      name: 'smsPay',
      meta: {
        title: '套餐购买',
        activeMenu: `${roterPre}/setting/sms/sms_config/index`
      },
      component: () => import('@/views/notify/smsPay/index')
    },
    {
      path: 'sms/dumpConfig',
      name: 'smsPay',
      meta: {
        title: '电子面单配置'
      },
      component: () => import('@/views/setting/dumpConfig/index')
    },
    {
      path: 'printer/list',
      name: 'PrinterList',
      meta: {
        title: '打印机配置'
      },
      component: () => import('@/views/setting/printer/index')
    }

  ]
}

export default settingRouter
