Browse Source

路由加权限

branch_ccpg_220107
44673626 3 years ago
parent
commit
ef0d9885c9
  1. 40
      vue/src/router/modules/basedata.js
  2. 4
      vue/src/router/modules/hq_menu.js
  3. 2
      vue/src/router/modules/vw_menu.js
  4. 2
      vue/src/views/login/index.vue

40
vue/src/router/modules/basedata.js

@ -49,26 +49,26 @@ const basedataRouter = {
icon: '结算'
}
},
{
path: 'wms-kanban',
component: () => import('@/views/ux/vw/dataInput/wmsKanban'),
name: 'WMSVWKanBan',
meta: {
title: '大众看板发货明细',
roles: ['SettleAccount.Reports'],
icon: '供货'
}
},
{
path: 'wms-sparepart',
component: () => import('@/views/ux/vw/dataInput/wmsSparePart'),
name: 'WMSSparePart',//命名路由
meta: {
title: '大众备件发货明细',
roles: ['SettleAccount.Reports'],
icon: '客户零件'
}
}
// {
// path: 'wms-kanban',
// component: () => import('@/views/ux/vw/dataInput/wmsKanban'),
// name: 'WMSVWKanBan',
// meta: {
// title: '大众看板发货明细',
// roles: ['SettleAccount.Reports'],
// icon: '供货'
// }
// },
// {
// path: 'wms-sparepart',
// component: () => import('@/views/ux/vw/dataInput/wmsSparePart'),
// name: 'WMSSparePart',//命名路由
// meta: {
// title: '大众备件发货明细',
// roles: ['SettleAccount.Reports'],
// icon: '客户零件'
// }
// }
]
}

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

@ -9,7 +9,7 @@ const hqMenudataRouter = {
meta: {
title: '红旗工厂',
icon: '红旗',
//roles: ['SettleAccount.HQConsigns', 'SettleAccount.HQSpecConsigns', 'SettleAccount.HQKBs', 'SettleAccount.HQSpecKBs'],
roles: ['SettleAccount.WMSHQ'],
keepAlive: false,
},
children: [
@ -40,7 +40,7 @@ const hqMenudataRouter = {
name: 'HQH',
meta: {
title: 'H平台核对明细',
//roles: ['SettleAccount.FISs'],
roles: ['SettleAccount.Reports'],
icon: '文件'
}
},

2
vue/src/router/modules/vw_menu.js

@ -46,7 +46,7 @@ const vwMenudataRouter = {
},
{
path: 'unsettle-account',
component: () => import('@/views/ux/vw/dataInput/r3'),
component: () => import('@/views/ux/vw/dataInput/r3-open'),
name: 'SettleAccount',
meta: {
title: 'FIS未结明细',

2
vue/src/views/login/index.vue

@ -2,7 +2,7 @@
<div class="wrapper">
<div class="left">
<div class="container"><span class="one">SAS/JIT-长春派格汽车塑料技术有限公司结算管理系统</span><span class="two"></span></div>
<div class="container"><span class="one">SAS-长春派格汽车塑料技术有限公司结算管理系统</span><span class="two"></span></div>
<!-- <div class="container"><span class="one">闻荫科技-长春派格结算管理系统</span><span class="two"></span></div> -->

Loading…
Cancel
Save