diff --git a/vue/src/router/modules/hq_menu.js b/vue/src/router/modules/hq_menu.js index 28a72101..273decdb 100644 --- a/vue/src/router/modules/hq_menu.js +++ b/vue/src/router/modules/hq_menu.js @@ -20,7 +20,7 @@ const hqMenudataRouter = { redirect: 'ux/vw/dataInput/index', meta: { title: 'H平台', - // roles: ['SettleAccount.HQKBs', 'SettleAccount.HQSpecKBs'], + roles: ['SettleAccount.HQ_HPlatform', 'SettleAccount.Reports'], icon: '看板' }, children: [ @@ -30,7 +30,7 @@ const hqMenudataRouter = { name: 'ERPEI',//命名路由 meta: { title: '红旗H平台导入', - roles: ['SettleAccount.Boms'],//控制页面角色(可以设置多个角色) + roles: ['SettleAccount.HQ_HPlatform'],//控制页面角色(可以设置多个角色) icon: '结算' } }, @@ -65,7 +65,7 @@ const hqMenudataRouter = { redirect: 'ux/vw/dataInput/index', meta: { title: 'M平台', - //roles: ['SettleAccount.HQConsigns', 'SettleAccount.HQSpecConsigns'], + roles: ['SettleAccount.HQ_MPlatform', 'SettleAccount.Reports'], icon: '看板' }, children: [ @@ -75,7 +75,7 @@ const hqMenudataRouter = { name: 'ERPEI',//命名路由 meta: { title: '红旗M平台导入', - roles: ['SettleAccount.Reports'],//控制页面角色(可以设置多个角色) + roles: ['SettleAccount.HQ_MPlatform'],//控制页面角色(可以设置多个角色) icon: '结算' } }, @@ -95,7 +95,7 @@ const hqMenudataRouter = { name: 'HQM', meta: { title: 'M平台备件明细', - //roles: ['SettleAccount.FISs'], + roles: ['SettleAccount.Reports'], icon: '文件' } }, @@ -118,7 +118,7 @@ const hqMenudataRouter = { redirect: 'ux/vw/dataInput/index', meta: { title: 'F平台', - //roles: ['SettleAccount.HQConsigns', 'SettleAccount.HQSpecConsigns'], + roles: ['SettleAccount.HQ_FPlatform', 'SettleAccount.Reports'], icon: '看板' }, children: [ @@ -128,7 +128,7 @@ const hqMenudataRouter = { name: 'ERPEI',//命名路由 meta: { title: '红旗F平台导入', - //roles: ['SettleAccount.Boms'],//控制页面角色(可以设置多个角色) + roles: ['SettleAccount.HQ_FPlatform'],//控制页面角色(可以设置多个角色) icon: '结算' } }, @@ -174,7 +174,7 @@ const hqMenudataRouter = { redirect: 'ux/vw/dataInput/index', meta: { title: '一汽轿车平台', - // roles: ['SettleAccount.HQKBs', 'SettleAccount.HQSpecKBs'], + roles: ['SettleAccount.BT_Carlatform', 'SettleAccount.Reports'], icon: '看板' }, children: [ @@ -184,7 +184,7 @@ const hqMenudataRouter = { name: 'ERPEI',//命名路由 meta: { title: '一汽轿车平台导入', - roles: ['SettleAccount.Reports'],//控制页面角色(可以设置多个角色) + roles: ['SettleAccount.BT_Carlatform'],//控制页面角色(可以设置多个角色) icon: '结算' } }, diff --git a/vue/src/router/modules/hq_out_order.js b/vue/src/router/modules/hq_out_order.js index 69edefb2..715e6813 100644 --- a/vue/src/router/modules/hq_out_order.js +++ b/vue/src/router/modules/hq_out_order.js @@ -22,7 +22,7 @@ const hqOutOrderDataRouter = { name: 'SettleAccount',//命名路由 meta: { title: '红旗H平台出库单', - roles: ['SettleAccount.SettleAccounts'],//控制页面角色(可以设置多个角色) + roles: ['SettleAccount.WMSHQ'],//控制页面角色(可以设置多个角色) icon: '结算' } }, @@ -32,7 +32,7 @@ const hqOutOrderDataRouter = { name: 'SettleAccount',//命名路由 meta: { title: '红旗H平台备件出库单', - roles: ['SettleAccount.SettleAccounts'],//控制页面角色(可以设置多个角色) + roles: ['SettleAccount.WMSHQ'],//控制页面角色(可以设置多个角色) icon: '结算' } }, @@ -42,7 +42,7 @@ const hqOutOrderDataRouter = { name: 'SettleAccount',//命名路由 meta: { title: '红旗M平台出库单', - roles: ['SettleAccount.SettleAccounts'],//控制页面角色(可以设置多个角色) + roles: ['SettleAccount.WMSHQ'],//控制页面角色(可以设置多个角色) icon: '结算' } }, @@ -52,7 +52,7 @@ const hqOutOrderDataRouter = { name: 'SettleAccount',//命名路由 meta: { title: '红旗M平台备件出库单', - roles: ['SettleAccount.SettleAccounts'],//控制页面角色(可以设置多个角色) + roles: ['SettleAccount.WMSHQ'],//控制页面角色(可以设置多个角色) icon: '结算' } }, @@ -62,7 +62,7 @@ const hqOutOrderDataRouter = { name: 'SettleAccount',//命名路由 meta: { title: '红旗F平台出库单', - roles: ['SettleAccount.SettleAccounts'],//控制页面角色(可以设置多个角色) + roles: ['SettleAccount.WMSHQ'],//控制页面角色(可以设置多个角色) icon: '结算' } }, @@ -72,7 +72,7 @@ const hqOutOrderDataRouter = { name: 'SettleAccount',//命名路由 meta: { title: '红旗F平台备件出库单', - roles: ['SettleAccount.SettleAccounts'],//控制页面角色(可以设置多个角色) + roles: ['SettleAccount.WMSHQ'],//控制页面角色(可以设置多个角色) icon: '结算' } }, @@ -82,7 +82,7 @@ const hqOutOrderDataRouter = { name: 'SettleAccount',//命名路由 meta: { title: '一汽轿车平台出库单', - roles: ['SettleAccount.SettleAccounts'],//控制页面角色(可以设置多个角色) + roles: ['SettleAccount.WMSHQ'],//控制页面角色(可以设置多个角色) icon: '结算' } }, diff --git a/vue/src/router/modules/vw_menu.js b/vue/src/router/modules/vw_menu.js index ab89dc8c..49df7f94 100644 --- a/vue/src/router/modules/vw_menu.js +++ b/vue/src/router/modules/vw_menu.js @@ -20,7 +20,7 @@ const vwMenudataRouter = { redirect: 'ux/basedata/Invoice/index', meta: { title: '数据导入', - // roles: ['SettleAccount.HQKBs', 'SettleAccount.HQSpecKBs'], + roles: ['SettleAccount.Invoices', 'SettleAccount.SettleAccounts', 'SettleAccount.UnSettleAccount', 'SettleAccount.VWKanBan', 'SettleAccount.SparePart', 'SettleAccount.ScrapClaims'], icon: '看板' }, children: [ @@ -50,7 +50,7 @@ const vwMenudataRouter = { name: 'SettleAccount', meta: { title: 'FIS未结明细', - roles: ['SettleAccount.SettleAccounts'],//控制页面角色(可以设置多个角色) + roles: ['SettleAccount.UnSettleAccount'],//控制页面角色(可以设置多个角色) icon: '结算' } }, @@ -60,7 +60,7 @@ const vwMenudataRouter = { name: 'VWKanBan',//命名路由 meta: { title: '大众看板结算导入', - roles: ['SettleAccount.SettleAccounts'],//控制页面角色(可以设置多个角色) + roles: ['SettleAccount.VWKanBan'],//控制页面角色(可以设置多个角色) icon: '看板' } }, @@ -70,7 +70,7 @@ const vwMenudataRouter = { name: 'SparePart',//命名路由 meta: { title: '大众备件结算导入', - roles: ['SettleAccount.Boms'],//控制页面角色(可以设置多个角色) + roles: ['SettleAccount.SparePart'],//控制页面角色(可以设置多个角色) icon: '工厂' } }, @@ -80,7 +80,7 @@ const vwMenudataRouter = { name: 'ScrapClaims', meta: { title: 'CP7报废和索赔导入', - roles: ['SettleAccount.FISs'], + roles: ['SettleAccount.ScrapClaims'], icon: '文件' } }, @@ -93,7 +93,7 @@ const vwMenudataRouter = { redirect: 'export-data', meta: { title: '数据输出', - //roles: ['SettleAccount.HQConsigns', 'SettleAccount.HQSpecConsigns'], + roles: ['SettleAccount.Reports'], icon: '结算' }, children: [ diff --git a/vue/src/router/modules/vw_out_order.js b/vue/src/router/modules/vw_out_order.js index 7f23c247..52723efd 100644 --- a/vue/src/router/modules/vw_out_order.js +++ b/vue/src/router/modules/vw_out_order.js @@ -22,7 +22,7 @@ const vwOutOrderDataRouter = { name: 'SettleAccount',//命名路由 meta: { title: '大众准时化出库单', - roles: ['SettleAccount.SettleAccounts'],//控制页面角色(可以设置多个角色) + roles: ['SettleAccount.WMSJIT'],//控制页面角色(可以设置多个角色) icon: '结算' } }, @@ -32,7 +32,7 @@ const vwOutOrderDataRouter = { name: 'SettleAccount',//命名路由 meta: { title: '大众看板出库单', - roles: ['SettleAccount.SettleAccounts'],//控制页面角色(可以设置多个角色) + roles: ['SettleAccount.WMSJIT'],//控制页面角色(可以设置多个角色) icon: '结算' } }, @@ -42,7 +42,7 @@ const vwOutOrderDataRouter = { name: 'SettleAccount',//命名路由 meta: { title: '大众无条码看板出库单', - roles: ['SettleAccount.SettleAccounts'],//控制页面角色(可以设置多个角色) + roles: ['SettleAccount.WMSJIT'],//控制页面角色(可以设置多个角色) icon: '结算' } }, @@ -52,7 +52,7 @@ const vwOutOrderDataRouter = { name: 'Invoices',//命名路由 meta: { title: '大众备件出库单', - roles: ['SettleAccount.Invoices'], + roles: ['SettleAccount.WMSJIT'], icon: '对比' } },