//import Layout from '@/layout/firstLayout' import Layout from '@/layout' const vwdataRouter = { path: '/vw-in', component: Layout, redirect: 'vw-in', name: '大众-数据输入', meta: { //requiresAuth: true, title: '大众-数据输入', index: 0, type: 'crm', icon: '大众', keepAlive: false, }, children: [ { path: '/prebatch', component: () => import('@/views/ux/vw/dataInput/prebatch'), name: 'Prebatch', meta: { title: '预批量输入表',//名称显示 在侧边栏 roles: ['SettleAccount.Prebatchs'],//控制页面角色(可以设置多个角色) icon: '批量'//图标显示在侧边栏 } }, { path: '/fis', component: () => import('@/views/ux/vw/dataInput/fis'), name: 'FIS', meta: { title: 'FIS文件输入表', roles: ['SettleAccount.FISs'], icon: '文件' } }, { path: '/r3', component: () => import('@/views/ux/vw/dataInput/r3'), name: 'R3',//命名路由 meta: { title: 'R3文件输入表', roles: ['SettleAccount.SettleAccounts'], icon: 'R3' } }, { path: '/secondaryAdjustment', component: () => import('@/views/ux/vw/dataInput/secondaryAdjustment'), name: 'SecondaryAdjustment',//命名路由 meta: { title: '二配数量调整', roles: ['SettleAccount.SecondaryAdjustments'], icon: '二配' } }, { path: '/secondaryDiscount', component: () => import('@/views/ux/vw/dataInput/secondaryDiscount'), name: 'SecondaryDiscount',//命名路由 meta: { title: '二配折扣调整', roles: ['SettleAccount.SecondaryAdjustments'], icon: '折扣' } }, ] } export default vwdataRouter