...
|
...
|
@@ -136,27 +136,27 @@ let routes = [ |
|
|
{path: '/main', component: Main, name: '首页'},
|
|
|
]
|
|
|
},
|
|
|
// {
|
|
|
// path: '/',
|
|
|
// component: Home,
|
|
|
// name: 'Charts',
|
|
|
// iconCls: 'fa fa-bar-chart',
|
|
|
// children: [
|
|
|
// {path: '/echarts', component: echarts, name: 'echarts'},
|
|
|
// {path: '/earthCharts', component: earthCharts, name: '统计表'}
|
|
|
// ]
|
|
|
// },
|
|
|
// { path: '/test', component: Main },
|
|
|
// {
|
|
|
// path: '/bill',
|
|
|
// component: Home,
|
|
|
// name: '货运单',
|
|
|
// iconCls: 'el-icon-collection',
|
|
|
// children: [
|
|
|
// {path: '/Way', component: Way, name: '货运单'},
|
|
|
// {path: '/Webdialog', component: Webdialog, name: '在线客服'}
|
|
|
// ]
|
|
|
// },
|
|
|
{
|
|
|
path: '/',
|
|
|
component: Home,
|
|
|
name: 'Charts',
|
|
|
iconCls: 'fa fa-bar-chart',
|
|
|
children: [
|
|
|
{path: '/echarts', component: echarts, name: 'echarts'},
|
|
|
{path: '/earthCharts', component: earthCharts, name: '统计表'}
|
|
|
]
|
|
|
},
|
|
|
{ path: '/test', component: Main },
|
|
|
{
|
|
|
path: '/bill',
|
|
|
component: Home,
|
|
|
name: '货运单',
|
|
|
iconCls: 'el-icon-collection',
|
|
|
children: [
|
|
|
{path: '/Way', component: Way, name: '货运单'},
|
|
|
{path: '/Webdialog', component: Webdialog, name: '在线客服'}
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
path: '/',
|
|
|
component: Home,
|
...
|
...
|
@@ -195,11 +195,11 @@ let routes = [ |
|
|
{ path: '/documents', component: documents, name: '航班文件' },
|
|
|
{ path: '/charge', component: charge, name: '付费处理' },
|
|
|
|
|
|
// { path: '/perm', component: Perm, name: '权限管理' },
|
|
|
// { path: '/log', component: LOG, name: '系统日志' },
|
|
|
// { path: '/department', component: Department, name: '部门管理' },
|
|
|
// { path: '/company', component: Company, name: '公司管理'},
|
|
|
// { path: '/group', component: Group, name: '集团管理'}
|
|
|
{ path: '/perm', component: Perm, name: '权限管理' },
|
|
|
{ path: '/log', component: LOG, name: '系统日志' },
|
|
|
{ path: '/department', component: Department, name: '部门管理' },
|
|
|
{ path: '/company', component: Company, name: '公司管理'},
|
|
|
{ path: '/group', component: Group, name: '集团管理'}
|
|
|
]
|
|
|
},
|
|
|
{
|
...
|
...
|
@@ -207,6 +207,7 @@ let routes = [ |
|
|
component: Home,
|
|
|
name: '系统设置',
|
|
|
iconCls: 'el-icon-setting',//图标样式class
|
|
|
leaf: false,
|
|
|
children: [
|
|
|
{ path: '/user', component: User, name: '用户管理' },
|
|
|
{ path: '/role', component: Role, name: '组织机构' },
|
...
|
...
|
@@ -217,30 +218,30 @@ let routes = [ |
|
|
{ path: '/group', component: Group, name: '集团管理'}
|
|
|
]
|
|
|
},
|
|
|
// {
|
|
|
// path: '/guestService',
|
|
|
// component: Home,
|
|
|
// name: '客服系统',
|
|
|
// iconCls: 'fa fa-id-card-o',
|
|
|
// children: [
|
|
|
// { path: '/process', component: Process, name: '工单管理' },
|
|
|
// { path: '/job', component: Job, name: '任务管理' },
|
|
|
// {path: '/pre1', component: PreManifest, name: '预配'},
|
|
|
// ]
|
|
|
// },
|
|
|
{
|
|
|
path: '/guestService',
|
|
|
component: Home,
|
|
|
name: '客服系统',
|
|
|
iconCls: 'fa fa-id-card-o',
|
|
|
children: [
|
|
|
{ path: '/process', component: Process, name: '工单管理' },
|
|
|
{ path: '/job', component: Job, name: '任务管理' },
|
|
|
{path: '/pre1', component: PreManifest, name: '预配'},
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
path: '/output',
|
|
|
component: Home,
|
|
|
name: '国际出港业务申报',
|
|
|
iconCls: 'el-icon-collection',
|
|
|
children: [
|
|
|
// {path: '/flight', component: ExitFlight, name: '出港航班申报'},
|
|
|
// {path: '/manifest', component: ExitManifest, name: '出港运单申报'},
|
|
|
{path: '/flight', component: ExitFlight, name: '出港航班申报'},
|
|
|
{path: '/manifest', component: ExitManifest, name: '出港运单申报'},
|
|
|
{path: '/pre', component: ExitPre, name: '国际出港预配舱单'},
|
|
|
// {path: '/arrive', component: ExitArrive, name: '出港运抵'},
|
|
|
// {path: '/loadingView', component: ExitFlightDesc, name: '出港航班信息'},
|
|
|
// {path: '/loading', component: ExitLoading, name: '出港装载'},
|
|
|
// {path: '/tidy', component: ExitTidy, name: '出港理货'}
|
|
|
{path: '/arrive', component: ExitArrive, name: '出港运抵'},
|
|
|
{path: '/loadingView', component: ExitFlightDesc, name: '出港航班信息'},
|
|
|
{path: '/loading', component: ExitLoading, name: '出港装载'},
|
|
|
{path: '/tidy', component: ExitTidy, name: '出港理货'}
|
|
|
]
|
|
|
},
|
|
|
{
|
...
|
...
|
@@ -270,13 +271,13 @@ let routes = [ |
|
|
name: '国内出港业务申报',
|
|
|
iconCls: 'el-icon-collection',
|
|
|
children: [
|
|
|
// {path: '/flight', component: ExitFlight, name: '出港航班申报'},
|
|
|
// {path: '/manifest', component: ExitManifest, name: '出港运单申报'},
|
|
|
{path: '/flight', component: ExitFlight, name: '出港航班申报'},
|
|
|
{path: '/manifest', component: ExitManifest, name: '出港运单申报'},
|
|
|
{path: '/pre', component: ExitPre, name: '国内出港预配舱单'},
|
|
|
// {path: '/arrive', component: ExitArrive, name: '出港运抵'},
|
|
|
// {path: '/loadingView', component: ExitFlightDesc, name: '出港航班信息'},
|
|
|
// {path: '/loading', component: ExitLoading, name: '出港装载'},
|
|
|
// {path: '/tidy', component: ExitTidy, name: '出港理货'}
|
|
|
{path: '/arrive', component: ExitArrive, name: '出港运抵'},
|
|
|
{path: '/loadingView', component: ExitFlightDesc, name: '出港航班信息'},
|
|
|
{path: '/loading', component: ExitLoading, name: '出港装载'},
|
|
|
{path: '/tidy', component: ExitTidy, name: '出港理货'}
|
|
|
]
|
|
|
},
|
|
|
{
|
...
|
...
|
@@ -285,13 +286,13 @@ let routes = [ |
|
|
name: '国内进港业务申报',
|
|
|
iconCls: 'el-icon-collection',
|
|
|
children: [
|
|
|
// {path: '/flight', component: ExitFlight, name: '出港航班申报'},
|
|
|
// {path: '/manifest', component: ExitManifest, name: '出港运单申报'},
|
|
|
{path: '/flight', component: ExitFlight, name: '出港航班申报'},
|
|
|
{path: '/manifest', component: ExitManifest, name: '出港运单申报'},
|
|
|
{path: '/pre', component: ExitPre, name: '国内进港预配舱单'},
|
|
|
// {path: '/arrive', component: ExitArrive, name: '出港运抵'},
|
|
|
// {path: '/loadingView', component: ExitFlightDesc, name: '出港航班信息'},
|
|
|
// {path: '/loading', component: ExitLoading, name: '出港装载'},
|
|
|
// {path: '/tidy', component: ExitTidy, name: '出港理货'}
|
|
|
{path: '/arrive', component: ExitArrive, name: '出港运抵'},
|
|
|
{path: '/loadingView', component: ExitFlightDesc, name: '出港航班信息'},
|
|
|
{path: '/loading', component: ExitLoading, name: '出港装载'},
|
|
|
{path: '/tidy', component: ExitTidy, name: '出港理货'}
|
|
|
]
|
|
|
},
|
|
|
{
|
...
|
...
|
@@ -304,44 +305,44 @@ let routes = [ |
|
|
]
|
|
|
},
|
|
|
|
|
|
// {
|
|
|
// path: '/nmms2',
|
|
|
// component: Home,
|
|
|
// name: '进港业务申报',
|
|
|
// iconCls: 'fa fa-id-card-o',
|
|
|
// children: [
|
|
|
// { path: '/orig', component: OrigFlightList, name: '进港航班申报' },
|
|
|
// {path:'/waybill',component:Waybill,name:'进港运单申报'},
|
|
|
// {path:'/allocateSearch',component:AllocateSearch,name:'运单分拨申报'},
|
|
|
// { path: '/enter', component: EnterFlightInfo, name: '原始舱单'},
|
|
|
// { path:'/origmaster',component:OrigMaster,name:'进港原始舱单'},
|
|
|
// {path:'/entertall',component:EnterTally,name:'进港理货'},
|
|
|
// {path:'/tallymaster',component:TallyMster,name:'进港理货舱单'},
|
|
|
// {path:'/importallocation',component:Importallocation,name:'进港分拨'},
|
|
|
// {path:'/allocatearrive',component:Allocatearrive,name:'分拨运抵'},
|
|
|
// ]
|
|
|
// },
|
|
|
{
|
|
|
path: '/nmms2',
|
|
|
component: Home,
|
|
|
name: '进港业务申报',
|
|
|
iconCls: 'fa fa-id-card-o',
|
|
|
children: [
|
|
|
{ path: '/orig', component: OrigFlightList, name: '进港航班申报' },
|
|
|
{path:'/waybill',component:Waybill,name:'进港运单申报'},
|
|
|
{path:'/allocateSearch',component:AllocateSearch,name:'运单分拨申报'},
|
|
|
{ path: '/enter', component: EnterFlightInfo, name: '原始舱单'},
|
|
|
{ path:'/origmaster',component:OrigMaster,name:'进港原始舱单'},
|
|
|
{path:'/entertall',component:EnterTally,name:'进港理货'},
|
|
|
{path:'/tallymaster',component:TallyMster,name:'进港理货舱单'},
|
|
|
{path:'/importallocation',component:Importallocation,name:'进港分拨'},
|
|
|
{path:'/allocatearrive',component:Allocatearrive,name:'分拨运抵'},
|
|
|
]
|
|
|
},
|
|
|
// 货运系统--航班预配
|
|
|
// {
|
|
|
// path: '/flight_scheduling',
|
|
|
// component: Home,
|
|
|
// name: '航班计划',
|
|
|
// iconCls: 'el-icon-delete-location',
|
|
|
// children: [
|
|
|
// { path: '/inquiry', component: inquiry, name: '航班计划查询' },
|
|
|
// ]
|
|
|
// },
|
|
|
// {
|
|
|
// path: '/lost',
|
|
|
// component: Home,
|
|
|
// name: '落装改配申报',
|
|
|
// iconCls:'el-icon-goods',
|
|
|
// children:[
|
|
|
// {path:'/lostLoad',component:LostLoad,name:'落装业务申报'},
|
|
|
// {path:'/lostLoadChange',component:LostLoadChange,name:'改配业务申报'}
|
|
|
//
|
|
|
// ]
|
|
|
// },
|
|
|
{
|
|
|
path: '/flight_scheduling',
|
|
|
component: Home,
|
|
|
name: '航班计划',
|
|
|
iconCls: 'el-icon-delete-location',
|
|
|
children: [
|
|
|
{ path: '/inquiry', component: inquiry, name: '航班计划查询' },
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
path: '/lost',
|
|
|
component: Home,
|
|
|
name: '落装改配申报',
|
|
|
iconCls:'el-icon-goods',
|
|
|
children:[
|
|
|
{path:'/lostLoad',component:LostLoad,name:'落装业务申报'},
|
|
|
{path:'/lostLoadChange',component:LostLoadChange,name:'改配业务申报'}
|
|
|
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
path: '/airtransport',
|
|
|
component: Home,
|
...
|
...
|
@@ -384,18 +385,18 @@ let routes = [ |
|
|
{path:'/queryConfigure',component:queryConfigure,name:'航班配置查询'},
|
|
|
]
|
|
|
},
|
|
|
// {
|
|
|
// path: '/con',
|
|
|
// component: Home,
|
|
|
// name: '收发货人管理',
|
|
|
// iconCls:'el-icon-goods',
|
|
|
// children:[
|
|
|
// {path:'/consigner',component:Consigner,name:'发货人管理'},
|
|
|
// {path:'/consignee',component:Consignee,name:'收货人管理'},
|
|
|
// {path:'/transport',component:Transport,name:'转运申请'},
|
|
|
//
|
|
|
// ]
|
|
|
// },
|
|
|
{
|
|
|
path: '/con',
|
|
|
component: Home,
|
|
|
name: '收发货人管理',
|
|
|
iconCls:'el-icon-goods',
|
|
|
children:[
|
|
|
{path:'/consigner',component:Consigner,name:'发货人管理'},
|
|
|
{path:'/consignee',component:Consignee,name:'收货人管理'},
|
|
|
{path:'/transport',component:Transport,name:'转运申请'},
|
|
|
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
path: '/out',
|
|
|
component: Home,
|
...
|
...
|
@@ -419,71 +420,71 @@ let routes = [ |
|
|
{path:'/dynamics',component:dynamics,name:'在港动态信息'},
|
|
|
]
|
|
|
},
|
|
|
// {
|
|
|
// path: '/express-system',
|
|
|
// component: Home,
|
|
|
// name: '快邮舱单申报',
|
|
|
// iconCls:'el-icon-wind-power',
|
|
|
// children:[
|
|
|
// {path:'/express',component:Express,name:'快邮舱单申报'},
|
|
|
// ]
|
|
|
// },
|
|
|
{
|
|
|
path: '/express-system',
|
|
|
component: Home,
|
|
|
name: '快邮舱单申报',
|
|
|
iconCls:'el-icon-wind-power',
|
|
|
children:[
|
|
|
{path:'/express',component:Express,name:'快邮舱单申报'},
|
|
|
]
|
|
|
},
|
|
|
|
|
|
// {
|
|
|
// path: '/',
|
|
|
// component: Home,
|
|
|
// name: '场站管理',
|
|
|
// iconCls: 'el-icon-setting',//图标样式class
|
|
|
// children: [
|
|
|
// {path: '/yard', component: Yard, name: '场站管理'},
|
|
|
// {path: '/bayonet', component: Bayonet, name: '卡口管理'},
|
|
|
// {path: '/warehouse', component: Warehouse, name: '仓库管理'},
|
|
|
// ]
|
|
|
// },
|
|
|
//
|
|
|
// {
|
|
|
// path: '/empt',
|
|
|
// component: Home,
|
|
|
// name: '能源管理',
|
|
|
// iconCls: 'fa fa-id-card-o',
|
|
|
// children: [
|
|
|
// { path: '/location', component: Location, name: '能源缴费' },
|
|
|
//
|
|
|
// ]
|
|
|
// },
|
|
|
// {
|
|
|
// path: '/satff',
|
|
|
// component: Home,
|
|
|
// name: '生活保障部门',
|
|
|
// iconCls: 'fa fa-id-card-o',
|
|
|
// children: [
|
|
|
// { path: '/security_inspection', component: SecrityInspection, name: '职工公寓安全巡视管理' },
|
|
|
// { path: '/key', component: Key, name: '职工公寓备用钥匙使用登记管理' },
|
|
|
// { path: '/maintain', component: Maintain, name: '职工公寓设施设备维修记录管理' },
|
|
|
// { path: '/come_car', component: ComeCar, name: '职工公寓外来人员车辆登记管理' },
|
|
|
// { path: '/on_duty', component: OnDuty, name: '职工公寓值班巡视记录管理' },
|
|
|
// ]
|
|
|
// },
|
|
|
// {
|
|
|
// path: '/water_heating_chamber',
|
|
|
// component: Home,
|
|
|
// name: '水暖室',
|
|
|
// iconCls: 'fa fa-address-card',
|
|
|
// // leaf: true,//只有一个节点
|
|
|
// children: [
|
|
|
// { path: '/water_stations_patrol', component: WaterStationsPatrol, name: '二水厂-水站巡视记录单管理' },
|
|
|
// // { path: '/page6', component: Page6, name: '水质量检测' },
|
|
|
// // { path: '/page6', component: Page6, name: '污水站' },
|
|
|
// // { path: '/page6', component: Page6, name: '一水厂' },
|
|
|
// // { path: '/page6', component: Page6, name: '综合楼空调站' },
|
|
|
// ]
|
|
|
// },
|
|
|
{
|
|
|
path: '/',
|
|
|
component: Home,
|
|
|
name: '场站管理',
|
|
|
iconCls: 'el-icon-setting',//图标样式class
|
|
|
children: [
|
|
|
{path: '/yard', component: Yard, name: '场站管理'},
|
|
|
{path: '/bayonet', component: Bayonet, name: '卡口管理'},
|
|
|
{path: '/warehouse', component: Warehouse, name: '仓库管理'},
|
|
|
]
|
|
|
},
|
|
|
|
|
|
// {
|
|
|
// path: '*',
|
|
|
// hidden: true,
|
|
|
// redirect: {path: '/404'}
|
|
|
// }
|
|
|
{
|
|
|
path: '/empt',
|
|
|
component: Home,
|
|
|
name: '能源管理',
|
|
|
iconCls: 'fa fa-id-card-o',
|
|
|
children: [
|
|
|
{ path: '/location', component: Location, name: '能源缴费' },
|
|
|
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
path: '/satff',
|
|
|
component: Home,
|
|
|
name: '生活保障部门',
|
|
|
iconCls: 'fa fa-id-card-o',
|
|
|
children: [
|
|
|
{ path: '/security_inspection', component: SecrityInspection, name: '职工公寓安全巡视管理' },
|
|
|
{ path: '/key', component: Key, name: '职工公寓备用钥匙使用登记管理' },
|
|
|
{ path: '/maintain', component: Maintain, name: '职工公寓设施设备维修记录管理' },
|
|
|
{ path: '/come_car', component: ComeCar, name: '职工公寓外来人员车辆登记管理' },
|
|
|
{ path: '/on_duty', component: OnDuty, name: '职工公寓值班巡视记录管理' },
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
path: '/water_heating_chamber',
|
|
|
component: Home,
|
|
|
name: '水暖室',
|
|
|
iconCls: 'fa fa-address-card',
|
|
|
// leaf: true,//只有一个节点
|
|
|
children: [
|
|
|
{ path: '/water_stations_patrol', component: WaterStationsPatrol, name: '二水厂-水站巡视记录单管理' },
|
|
|
// { path: '/page6', component: Page6, name: '水质量检测' },
|
|
|
// { path: '/page6', component: Page6, name: '污水站' },
|
|
|
// { path: '/page6', component: Page6, name: '一水厂' },
|
|
|
// { path: '/page6', component: Page6, name: '综合楼空调站' },
|
|
|
]
|
|
|
},
|
|
|
|
|
|
{
|
|
|
path: '*',
|
|
|
hidden: true,
|
|
|
redirect: {path: '/404'}
|
|
|
}
|
|
|
];
|
|
|
let initRouters = routes.concat();
|
|
|
let setUserMenus = function (list) {
|
...
|
...
|
|