Browse Source

一汽轿车平台路由

branch_ccpg_220107
佐 张 3 years ago
parent
commit
5e6cd77fdc
  1. 45
      vue/src/router/modules/hq_menu.js
  2. 10
      vue/src/router/modules/vwFisData.js

45
vue/src/router/modules/hq_menu.js

@ -14,7 +14,7 @@ const hqMenudataRouter = {
}, },
children: [ children: [
{ {
path: '/H', path: '/import-h-data',
name: 'import-h-data',//命名路由-二级 name: 'import-h-data',//命名路由-二级
component: () => import('@/views/ux/vw/dataInput/hq_h'), component: () => import('@/views/ux/vw/dataInput/hq_h'),
redirect: 'ux/vw/dataInput/hq_h', redirect: 'ux/vw/dataInput/hq_h',
@ -45,9 +45,11 @@ const hqMenudataRouter = {
} }
} }
] ]
}, },
{ {
path: '/M', path: '/export-m-data',
component: () => import('@/views/ux/vw/dataInput/hq_m'), component: () => import('@/views/ux/vw/dataInput/hq_m'),
name: 'export-m-data',//命名路由 name: 'export-m-data',//命名路由
redirect: '/ux/vw/dataInput/hq_m', redirect: '/ux/vw/dataInput/hq_m',
@ -81,7 +83,7 @@ const hqMenudataRouter = {
] ]
}, },
{ {
path: '/F', path: '/export-f-data',
component: () => import('@/views/ux/vw/dataInput/hq_f'), component: () => import('@/views/ux/vw/dataInput/hq_f'),
name: 'export-f-data',//命名路由 name: 'export-f-data',//命名路由
redirect: '/ux/vw/dataInput/hq_f', redirect: '/ux/vw/dataInput/hq_f',
@ -112,9 +114,44 @@ const hqMenudataRouter = {
icon: '二配' icon: '二配'
} }
} }
] ],
},
{
path: '/import-y-data',
name: 'import-y-data',//命名路由-二级
component: () => import('@/views/ux/vw/dataInput/hq_y'),
redirect: 'ux/vw/dataInput/hq_y',
meta: {
title: '一汽轿车平台',
// roles: ['SettleAccount.HQKBs', 'SettleAccount.HQSpecKBs'],
icon: '看板'
},
children: [
{
path: 'hq-Y-platform',
component: () => import('@/views/ux/vw/dataInput/hq_y'),
name: 'ERPEI',//命名路由
meta: {
title: '一汽轿车平台导入',
roles: ['SettleAccount.Boms'],//控制页面角色(可以设置多个角色)
icon: '结算'
}
},
{
path: 'hq-Y-platform-export',
component: () => import('@/views/ux/vw/dataInput/ScrapClaims'),
name: 'ScrapClaims',
meta: {
title: '一汽轿车平台结算差异输出',
roles: ['SettleAccount.FISs'],
icon: '文件'
}
} }
] ]
},
]
} }
export default hqMenudataRouter export default hqMenudataRouter

10
vue/src/router/modules/vwFisData.js

@ -88,6 +88,16 @@ const vwFisDataRouter = {
icon: '结算' icon: '结算'
} }
}, },
{
path: 'hq-Y-platform',
component: () => import('@/views/ux/vw/dataInput/hq_y'),
name: 'ERPEI',//命名路由
meta: {
title: '一汽轿车平台',
//roles: ['SettleAccount.Boms'],//控制页面角色(可以设置多个角色)
icon: '结算'
}
},
{ {
path: 'hq-M-platform', path: 'hq-M-platform',
component: () => import('@/views/ux/vw/dataInput/hq_m'), component: () => import('@/views/ux/vw/dataInput/hq_m'),

Loading…
Cancel
Save