import { Layout } from '@/utils/routerHelper'
const pre = 'money'

export default {
  path: `/${pre}`,
  component: Layout,
  name: `${pre}`,
  meta: {
    title: '财务管理',
    icon: 'vi-eos-icons:role-binding',
    alwaysShow: true
  },
  children: [
    {
      path: 'balance',
      component: () => import('@/views/Money/balance/index.vue'),
      name: `${pre}-balance`,
      meta: {
        title: '余额流水'
      }
    },
    {
      path: 'commission',
      component: () => import('@/views/Money/commission/index.vue'),
      name: `${pre}-commission`,
      meta: {
        title: '佣金流水'
      }
    },
    {
      path: 'withdrawal',
      component: () => import('@/views/Money/withdrawal/index.vue'),
      name: `${pre}-commission`,
      meta: {
        title: '提现申请'
      }
    }
  ]
}
