export default {
  path: '/member',
  name: 'member',
  meta: { title: '会员', icon: 'fa fa-user' },
  component: 'member/index',
  children: [
    {
      path: '/member/info',
      meta: { title: '会员信息', icon: 'fa fa-id-card-o' },
      component: 'member/memberList'
    },
    {
      path: '/member/info/new',
      component: 'member/memberAddForm',
      props: true
    },
    {
      path: '/member/info/:memberId',
      component: 'member/memberEditForm',
      props: true
    },
    {
      path: '/member/sendMessage/:memberIds',
      component: 'member/sendMessage',
      props: true
    },
    // {
    //   path: '/member/branch',
    //   meta: { title: '会员机构', icon: 'fa fa-users' },
    //   component: 'member/branch'
    // },
    // {
    //   path: '/member/branch/:branchId',
    //   component: 'member/branchForm',
    //   props: true
    // },
    {
      path: '/member/role',
      meta: { title: '会员角色', icon: 'fa fa-user' },
      component: 'member/role'
    },
    {
      path: '/member/roleInfo/:roleCode',
      component: 'member/roleInfo',
      props: true
    },
    {
      path: '/member/role/:roleCode',
      component: 'member/roleForm',
      props: true
    },
    {
      path: '/member/level',
      meta: { title: '会员等级', icon: 'fa fa fa-certificate' },
      component: 'member/levelList'
    },
    {
      path: '/member/level/:levelID',
      component: 'member/levelForm',
      props: true
    },
    {
      path: '/member/scoreOperateList',
      meta: { title: '积分配置', icon: 'fa fa-certificate' },
      component: 'member/scoreOperateList'
    },
    {
      path: '/member/scoreOperateForm/:ID',
      component: 'member/scoreOperateForm',
      props: true
    },
    // {
    //   path: '/member/memberMenu',
    //   meta: { title: '菜单管理', icon: 'fa fa-list' },
    //   component: 'member/memberMenu'
    // },
    {
      path: '/member/messageManager',
      meta: { title: '消息日志', icon: 'fa fa-commenting-o' },
      component: 'message/messageManager'
    },
    {
      path: '/member/messageManager/:messageId',
      component: 'member/messageDetailForm',
      props: true
    },
    {
      path: '/member/messageTemplate',
      meta: { title: '消息模板', icon: 'fa fa-wpforms' },
      component: 'message/messageTemplate'
    },
    {
      path: '/member/messageTemplate/:messageTemplateId',
      component: 'message/messageTemplateForm',
      props: true
    }
  ]
}
