You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
232 lines
8.7 KiB
232 lines
8.7 KiB
|
|
import Layout from '@/layout'
|
|
|
|
const hqMenudataRouter = {
|
|
path: '/capt-hq',
|
|
component: Layout,
|
|
redirect: 'ux/vw/dataInput/index',
|
|
name: 'HQData',
|
|
meta: {
|
|
title: '红旗工厂',
|
|
icon: '红旗',
|
|
roles: ['SettleAccount.WMSHQ'],
|
|
keepAlive: false,
|
|
},
|
|
children: [
|
|
{
|
|
path: '/H',
|
|
name: 'import-h-data',//命名路由-二级
|
|
component: () => import('@/views/ux/vw/dataInput/index'),
|
|
redirect: 'ux/vw/dataInput/index',
|
|
meta: {
|
|
title: 'H平台',
|
|
roles: ['SettleAccount.HQ_HPlatform', 'SettleAccount.Reports'],
|
|
icon: '看板'
|
|
},
|
|
children: [
|
|
{
|
|
path: 'hq-H-platform',
|
|
component: () => import('@/views/ux/vw/dataInput/hq_h'),
|
|
name: 'ERPEI',//命名路由
|
|
meta: {
|
|
title: '红旗H平台导入',
|
|
roles: ['SettleAccount.HQ_HPlatform'],//控制页面角色(可以设置多个角色)
|
|
icon: '结算'
|
|
}
|
|
},
|
|
{
|
|
path: 'hq-H-report',
|
|
component: () => import('@/views/ux/vw/dataInput/hq_h_report'),
|
|
name: 'HQH',
|
|
meta: {
|
|
title: 'H平台核对明细',
|
|
roles: ['SettleAccount.Reports'],
|
|
icon: '文件'
|
|
}
|
|
},
|
|
{
|
|
path: 'hq-H-sparepart-export',
|
|
component: () => import('@/views/ux/vw/dataInput/hq_h_sparepart'),
|
|
name: 'HQH',
|
|
meta: {
|
|
title: 'H平台备件明细',
|
|
roles: ['SettleAccount.Reports'],
|
|
icon: '文件'
|
|
}
|
|
}
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
path: '/M',
|
|
component: () => import('@/views/ux/vw/dataInput/index'),
|
|
name: 'export-m-data',//命名路由
|
|
redirect: 'ux/vw/dataInput/index',
|
|
meta: {
|
|
title: 'M平台',
|
|
roles: ['SettleAccount.HQ_MPlatform', 'SettleAccount.Reports'],
|
|
icon: '看板'
|
|
},
|
|
children: [
|
|
{
|
|
path: 'hq-M-platform',
|
|
component: () => import('@/views/ux/vw/dataInput/hq_m'),
|
|
name: 'ERPEI',//命名路由
|
|
meta: {
|
|
title: '红旗M平台导入',
|
|
roles: ['SettleAccount.HQ_MPlatform'],//控制页面角色(可以设置多个角色)
|
|
icon: '结算'
|
|
}
|
|
},
|
|
{
|
|
path: 'hq-M-report',
|
|
component: () => import('@/views/ux/vw/dataInput/hq_m_report'),
|
|
name: 'HQM',
|
|
meta: {
|
|
title: 'M平台核对明细',
|
|
roles: ['SettleAccount.Reports'],
|
|
icon: '文件'
|
|
}
|
|
},
|
|
{
|
|
path: 'hq-M-sparepart-export',
|
|
component: () => import('@/views/ux/vw/dataInput/hq_m_sparepart'),
|
|
name: 'HQM',
|
|
meta: {
|
|
title: 'M平台备件明细',
|
|
roles: ['SettleAccount.Reports'],
|
|
icon: '文件'
|
|
}
|
|
},
|
|
// {
|
|
// path: 'hq-M-platform-export',
|
|
// component: () => import('@/views/ux/billManage/sparePart'),
|
|
// name: 'SparePartReport',//命名路由
|
|
// meta: {
|
|
// title: 'M平台结算差异输出',
|
|
// //roles: ['abpvnext_master.ProjectPeople'],//控制页面角色(可以设置多个角色)
|
|
// icon: '二配'
|
|
// }
|
|
// }
|
|
]
|
|
},
|
|
{
|
|
path: '/F',
|
|
component: () => import('@/views/ux/vw/dataInput/index'),
|
|
name: 'export-f-data',//命名路由
|
|
redirect: 'ux/vw/dataInput/index',
|
|
meta: {
|
|
title: 'F平台',
|
|
roles: ['SettleAccount.HQ_FPlatform', 'SettleAccount.Reports'],
|
|
icon: '看板'
|
|
},
|
|
children: [
|
|
{
|
|
path: 'hq-F-platform',
|
|
component: () => import('@/views/ux/vw/dataInput/hq_f'),
|
|
name: 'ERPEI',//命名路由
|
|
meta: {
|
|
title: '红旗F平台导入',
|
|
roles: ['SettleAccount.HQ_FPlatform'],//控制页面角色(可以设置多个角色)
|
|
icon: '结算'
|
|
}
|
|
},
|
|
|
|
{
|
|
path: 'hq-F-platform-export',
|
|
component: () => import('@/views/ux/vw/dataInput/hq_f_report'),
|
|
name: 'HQF',
|
|
meta: {
|
|
title: 'F平台核对明细',
|
|
roles: ['SettleAccount.Reports'],
|
|
icon: '文件'
|
|
}
|
|
},
|
|
{
|
|
path: 'hq-F-sparepart-export',
|
|
component: () => import('@/views/ux/vw/dataInput/hq_f_sparepart'),
|
|
name: 'HQF',
|
|
meta: {
|
|
title: 'F平台备件明细',
|
|
roles: ['SettleAccount.Reports'],
|
|
icon: '文件'
|
|
}
|
|
},
|
|
|
|
// {
|
|
// path: 'hq-F-platform-export',
|
|
// component: () => import('@/views/ux/billManage/sparePart'),
|
|
// name: 'SparePartReport',//命名路由
|
|
// meta: {
|
|
// title: 'F平台结算差异输出',
|
|
// //roles: ['abpvnext_master.ProjectPeople'],//控制页面角色(可以设置多个角色)
|
|
// icon: '二配'
|
|
// }
|
|
// }
|
|
],
|
|
},
|
|
|
|
{
|
|
path: '/hqcar',
|
|
name: 'import-y-data',//命名路由-二级
|
|
component: () => import('@/views/ux/vw/dataInput/index'),
|
|
redirect: 'ux/vw/dataInput/index',
|
|
meta: {
|
|
title: '一汽轿车平台',
|
|
roles: ['SettleAccount.BT_Carlatform', 'SettleAccount.Reports'],
|
|
icon: '看板'
|
|
},
|
|
children: [
|
|
{
|
|
path: 'hq-Y-platform',
|
|
component: () => import('@/views/ux/vw/dataInput/hq_y'),
|
|
name: 'ERPEI',//命名路由
|
|
meta: {
|
|
title: '一汽轿车平台导入',
|
|
roles: ['SettleAccount.BT_Carlatform'],//控制页面角色(可以设置多个角色)
|
|
icon: '结算'
|
|
}
|
|
},
|
|
{
|
|
path: 'hq-Y-report',
|
|
component: () => import('@/views/ux/vw/dataInput/hq_y_report'),
|
|
name: 'HQY',//命名路由
|
|
meta: {
|
|
title: '一汽轿车平台核对明细',
|
|
roles: ['SettleAccount.Reports'],//控制页面角色(可以设置多个角色)
|
|
icon: '文件'
|
|
}
|
|
},
|
|
// {
|
|
// path: 'hq-Y-sparepart-export',
|
|
// component: () => import('@/views/ux/vw/dataInput/hq_y_sparepart'),
|
|
// name: 'HQY',//命名路由
|
|
// 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
|
|
|
|
|
|
|
|
|
|
|
|
|