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

export default {
  path: '/cyAccountManage',
  component: Layout,
  redirect: '/cyAccountManage/memberInfoManage',
  name: 'CyAccountManage',
  meta: {
    title: '长银账户管理',
    icon: 'creditManagement'
  },
  children: [
    {
      path: '/cyAccountManage/memberInfoManage',
      name: 'CyAccountMemberInfoManage',
      component: () => import('@/views/cyAccountManage/memberInfoManage/index'),
      meta: { title: '会员信息管理' },
      children: [
        {
          path: '/memberFundManage/memberInfoManagedetails/:id',
          name: 'CyAccountMemberInfoManageDetails',
          component: () => import('@/views/cyAccountManage/memberInfoManage/details.vue'),
          hidden: true,
          meta: { title: '开户信息', activeMenu: '/cyAccountManage/memberInfoManage' }
        },
        {
          path: '/memberFundManage/memberInfoManageSee/:id',
          name: 'CyAccountMemberInfoManageSee',
          component: () => import('@/views/cyAccountManage/memberInfoManage/see.vue'),
          hidden: true,
          meta: { title: '查看', activeMenu: '/cyAccountManage/memberInfoManage' }
        },
        {
          path: '/memberFundManage/memberInfoManageApprove/:id',
          name: 'CyAccountMemberInfoManageApprove',
          component: () => import('@/views/cyAccountManage/memberInfoManage/approve.vue'),
          hidden: true,
          meta: { title: '审批', activeMenu: '/cyAccountManage/memberInfoManage' }
        }
      ]
    },
    {
      path: '/cyAccountManage/memberAccountManage',
      name: 'CyAccountMemberAccountManage',
      component: () =>
        import('@/views/cyAccountManage/memberAccountManage/index'),
      meta: { title: '会员账户管理' },
      children: [
        {
          path: '/memberFundManage/transaction/:id',
          name: 'MemberAccountTransaction',
          component: () => import('@/views/cyAccountManage/memberAccountManage/transaction'),
          hidden: true,
          meta: { title: '交易记录', activeMenu: '/cyAccountManage/memberAccountManage' }
        },
        {
          path: '/memberAccountManage/accountAdd',
          name: 'MemberAccountAdd',
          component: () => import('@/views/cyAccountManage/memberAccountManage/accountAdd'),
          hidden: true,
          meta: { title: '新增账户信息', activeMenu: '/cyAccountManage/memberAccountManage' }
        },
        {
          path: '/memberAccountManage/accountEdit',
          name: 'MemberAccountEdit',
          component: () => import('@/views/cyAccountManage/memberAccountManage/accountEdit'),
          hidden: true,
          meta: { title: '修改账户信息', activeMenu: '/cyAccountManage/memberAccountManage' }
        },
        {
          path: '/memberAccountManage/accountDetail',
          name: 'MemberAccountDetail',
          component: () => import('@/views/cyAccountManage/memberAccountManage/accountDetail'),
          hidden: true,
          meta: { title: '查看账户信息', activeMenu: '/cyAccountManage/memberAccountManage' }
        },
        {
          path: '/memberAccountManage/updateDefaultAccount',
          name: 'MemberUpdateDefaultAccount',
          component: () => import('@/views/cyAccountManage/memberAccountManage/updateDefault'),
          hidden: true,
          meta: { title: '修改静默户', activeMenu: '/cyAccountManage/memberAccountManage' }
        },
        {
          path: '/memberAccountManage/updateBindAccount',
          name: 'MemberUpdateBindAccount',
          component: () => import('@/views/cyAccountManage/memberAccountManage/updateBind'),
          hidden: true,
          meta: { title: '修改绑定客户', activeMenu: '/cyAccountManage/memberAccountManage' }
        }

      ]
    },
    {
      path: '/cyAccountManage/memberFundManage',
      name: 'CyAccountMemberFundManage',
      component: () => import('@/views/cyAccountManage/memberFundManage/index'),
      meta: { title: '账户资金管理' },
      children: [
        {
          path: '/memberFundManage/withdrawal/:id',
          name: 'MemberFundManageWithdrawal',
          component: () => import('@/views/cyAccountManage/memberFundManage/withdrawal'),
          hidden: true,
          meta: { title: '提现', activeMenu: '/cyAccountManage/memberFundManage' }
        },
        {
          path: '/memberFundManage/transferAccounts/:id',
          name: 'MemberFundManageTransferAccounts',
          component: () => import('@/views/cyAccountManage/memberFundManage/transferAccounts'),
          hidden: true,
          meta: { title: '转账', activeMenu: '/cyAccountManage/memberFundManage' }
        },
        {
          path: '/memberFundManage/transactionRecord/:id',
          name: 'MemberFundManageTransactionRecord',
          component: () => import('@/views/cyAccountManage/memberFundManage/transactionRecord'),
          hidden: true,
          meta: { title: '交易记录', activeMenu: '/cyAccountManage/memberFundManage' }
        },
        {
          path: '/memberFundManage/cashFlow/:id',
          name: 'MemberFundManageCashFlow',
          component: () => import('@/views/cyAccountManage/memberFundManage/cashFlow'),
          hidden: true,
          meta: { title: '账单流水', activeMenu: '/cyAccountManage/memberFundManage' }
        }
      ]
    },
    {
      path: '/cyAccountManage/messageManage',
      name: 'CyAccountMessageManage',
      component: () => import('@/views/cyAccountManage/messageManage/index'),
      meta: { title: '报文管理' }
    }
  ]
}
