|
|
@ -22,47 +22,95 @@ const router = [
|
|
|
|
name: "Layout",
|
|
|
|
name: "Layout",
|
|
|
|
title: "外框",
|
|
|
|
title: "外框",
|
|
|
|
component: Layout,
|
|
|
|
component: Layout,
|
|
|
|
redirect: '/forecastShipping',
|
|
|
|
redirect: '/Console',
|
|
|
|
meta: {title: '首页'},
|
|
|
|
meta: {title: '首页'},
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
{
|
|
|
|
path: '/forecastShipping',
|
|
|
|
path: '/Console',
|
|
|
|
name: "ForecastShipping",
|
|
|
|
name: "Console",
|
|
|
|
title: "预报寄件",
|
|
|
|
title: "控制台",
|
|
|
|
hide: false,
|
|
|
|
hide: false,
|
|
|
|
icon: 'container',
|
|
|
|
icon: 'container',
|
|
|
|
component: resolve => require(['@/views/ForecastShipping'], resolve),
|
|
|
|
component: resolve => require(['@/views/Console'], resolve),
|
|
|
|
meta: {title: '预报寄件'}
|
|
|
|
meta: {title: '控制台'}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
path: '/waybill',
|
|
|
|
path: '/Employee',
|
|
|
|
name: "Waybill",
|
|
|
|
name: "Employee",
|
|
|
|
title: "运单管理",
|
|
|
|
title: "员工管理",
|
|
|
|
icon: 'database',
|
|
|
|
icon: 'database',
|
|
|
|
hide: false,
|
|
|
|
hide: false,
|
|
|
|
component: resolve => require(['@/views/Waybill'], resolve),
|
|
|
|
component: resolve => require(['@/views/Employee'], resolve),
|
|
|
|
meta: {title: '运单管理'}
|
|
|
|
meta: {title: '员工管理'}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
path: '/billing',
|
|
|
|
path: '/authority',
|
|
|
|
name: "Billing",
|
|
|
|
name: "Authority",
|
|
|
|
title: "账单管理",
|
|
|
|
title: "权限管理",
|
|
|
|
icon: 'profile',
|
|
|
|
icon: 'profile',
|
|
|
|
hide: false,
|
|
|
|
hide: false,
|
|
|
|
component: resolve => require(['@/views/Billing'], resolve),
|
|
|
|
component: resolve => require(['@/views/Authority'], resolve),
|
|
|
|
meta: {title: '账单管理'},
|
|
|
|
meta: {title: '权限管理'},
|
|
|
|
children: [
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
{
|
|
|
|
path: '/billing/_details',
|
|
|
|
path: '/Authority/_details',
|
|
|
|
name: "Billing_details",
|
|
|
|
name: "Authority_details",
|
|
|
|
title: "账单管理-详情",
|
|
|
|
title: "账单管理-详情",
|
|
|
|
icon: 'profile',
|
|
|
|
icon: 'profile',
|
|
|
|
hide: true,
|
|
|
|
hide: true,
|
|
|
|
component: resolve => require(['@/views/Billing/_details'], resolve),
|
|
|
|
component: resolve => require(['@/views/Authority/_details'], resolve),
|
|
|
|
meta: {title: '账单管理-详情'},
|
|
|
|
meta: {title: '账单管理-详情'},
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
path: '/attendance',
|
|
|
|
|
|
|
|
name: "Attendance",
|
|
|
|
|
|
|
|
title: "考勤管理",
|
|
|
|
|
|
|
|
icon: 'profile',
|
|
|
|
|
|
|
|
hide: false,
|
|
|
|
|
|
|
|
component: resolve => require(['@/views/Attendance'], resolve),
|
|
|
|
|
|
|
|
meta: {title: '考勤管理'},
|
|
|
|
|
|
|
|
children: [
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
path: '/attendance/record',
|
|
|
|
|
|
|
|
name: "Attendance_record",
|
|
|
|
|
|
|
|
title: "考勤记录",
|
|
|
|
|
|
|
|
icon: 'profile',
|
|
|
|
|
|
|
|
hide: false,
|
|
|
|
|
|
|
|
component: resolve => require(['@/views/Attendance/_record'], resolve),
|
|
|
|
|
|
|
|
meta: {title: '考勤记录'},
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
path: '/attendance/application',
|
|
|
|
|
|
|
|
name: "Attendance_application",
|
|
|
|
|
|
|
|
title: "申请记录",
|
|
|
|
|
|
|
|
icon: 'profile',
|
|
|
|
|
|
|
|
hide: false,
|
|
|
|
|
|
|
|
component: resolve => require(['@/views/Attendance/_application'], resolve),
|
|
|
|
|
|
|
|
meta: {title: '申请记录'},
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
path: '/attendance/attendanceteam',
|
|
|
|
|
|
|
|
name: "Attendance_attendanceteam",
|
|
|
|
|
|
|
|
title: "考勤小组",
|
|
|
|
|
|
|
|
icon: 'profile',
|
|
|
|
|
|
|
|
hide: false,
|
|
|
|
|
|
|
|
component: resolve => require(['@/views/Attendance/_attendanceteam'], resolve),
|
|
|
|
|
|
|
|
meta: {title: '考勤小组'},
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
path: '/attendance/scheduling',
|
|
|
|
|
|
|
|
name: "Attendance_scheduling",
|
|
|
|
|
|
|
|
title: "排班计划",
|
|
|
|
|
|
|
|
icon: 'profile',
|
|
|
|
|
|
|
|
hide: false,
|
|
|
|
|
|
|
|
component: resolve => require(['@/views/Attendance/_scheduling'], resolve),
|
|
|
|
|
|
|
|
meta: {title: '排班计划'},
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
]
|
|
|
|
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
path: '/mySettings',
|
|
|
|
path: '/mySettings',
|
|
|
|
name: "MySettings",
|
|
|
|
name: "MySettings",
|
|
|
|