diff --git a/vue/src/router/modules/hq_menu.js b/vue/src/router/modules/hq_menu.js index 68c1aa9b..7274243e 100644 --- a/vue/src/router/modules/hq_menu.js +++ b/vue/src/router/modules/hq_menu.js @@ -14,7 +14,7 @@ const hqMenudataRouter = { }, children: [ { - path: '/H', + path: '/import-h-data', name: 'import-h-data',//命名路由-二级 component: () => import('@/views/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'), name: 'export-m-data',//命名路由 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'), name: 'export-f-data',//命名路由 redirect: '/ux/vw/dataInput/hq_f', @@ -112,8 +114,43 @@ const hqMenudataRouter = { 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: '文件' + } + } ] - } + + }, ] } diff --git a/vue/src/router/modules/vwFisData.js b/vue/src/router/modules/vwFisData.js index e52fc1d1..a48c471b 100644 --- a/vue/src/router/modules/vwFisData.js +++ b/vue/src/router/modules/vwFisData.js @@ -88,6 +88,16 @@ const vwFisDataRouter = { 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', component: () => import('@/views/ux/vw/dataInput/hq_m'),