import layoutHeaderAside from '@/layout/header-aside'

const meta = { requiresAuth: true }

export default {
  path : '/water',
  name : 'water',
  meta,
  redirect: { name: 'water-waterDeviceRegister'},
  component: layoutHeaderAside,
  children : (pre =>[
    {path: 'waterDeviceRegister',name:`${pre}waterDeviceRegister`,component: ()=>import('@/views/water/waterDeviceRegister'), meta: { meta, title: '水控设备登记',cache:true } },
    {path: 'waterExcel/waterCardCount',name:`${pre}waterCardCount`,  component: () => import('@/views/water/waterExcel/waterCardCount'), meta: { meta, title: '水卡账户明细',cache:true } },
    {path: 'waterExcel/waterRecharge',name:`${pre}waterRecharge`,  component: () => import('@/views/water/waterExcel/waterRecharge'), meta: { meta, title: '水控充值明细',cache:true } },
    {path: 'waterExcel/waterCost',name:`${pre}waterCost`,  component: () => import('@/views/water/waterExcel/waterCost'), meta: { meta, title: '水控消费明细',cache:true } },

  ])('water-')
}
