From 5e6cd77fdcf5ffe060eb76d53f356895388dbaf4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=90=20=E5=BC=A0?= <2366389513@qq.com> Date: Wed, 5 Jan 2022 14:17:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=80=E6=B1=BD=E8=BD=BF=E8=BD=A6=E5=B9=B3?= =?UTF-8?q?=E5=8F=B0=E8=B7=AF=E7=94=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vue/src/router/modules/hq_menu.js | 45 ++++++++++++++++++++++++++--- vue/src/router/modules/vwFisData.js | 10 +++++++ 2 files changed, 51 insertions(+), 4 deletions(-) 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'),