|
@@ -116,7 +116,7 @@ export const asyncRouterMap = [{
|
|
meta: {
|
|
meta: {
|
|
title: '承兑人列表',
|
|
title: '承兑人列表',
|
|
icon: 'el-icon-s-help',
|
|
icon: 'el-icon-s-help',
|
|
- roles: ['admin', 'salesman', ]
|
|
|
|
|
|
+ roles: ['admin', 'salesman']
|
|
},
|
|
},
|
|
children: [{
|
|
children: [{
|
|
path: 'table',
|
|
path: 'table',
|
|
@@ -151,9 +151,15 @@ export const asyncRouterMap = [{
|
|
]
|
|
]
|
|
},
|
|
},
|
|
|
|
|
|
- {
|
|
|
|
- path: '/form',
|
|
|
|
- component: Layout,
|
|
|
|
|
|
+ {
|
|
|
|
+ path: '/form',
|
|
|
|
+ component: Layout,
|
|
|
|
+ redirect: '/form',
|
|
|
|
+ meta: {
|
|
|
|
+ title: '出票人列表',
|
|
|
|
+ icon: 'form',
|
|
|
|
+ roles: ['admin', 'salesman', 'supplier']
|
|
|
|
+ },
|
|
children: [{
|
|
children: [{
|
|
path: 'index',
|
|
path: 'index',
|
|
name: 'Form',
|
|
name: 'Form',
|
|
@@ -185,10 +191,16 @@ export const asyncRouterMap = [{
|
|
hidden: true
|
|
hidden: true
|
|
}
|
|
}
|
|
]
|
|
]
|
|
- },
|
|
|
|
|
|
+ },
|
|
|
|
+
|
|
{
|
|
{
|
|
path: '/delivery',
|
|
path: '/delivery',
|
|
- component: Layout,
|
|
|
|
|
|
+ component: Layout,
|
|
|
|
+ redirect: '/delivery',
|
|
|
|
+ meta: {
|
|
|
|
+ title: '供应商账号',
|
|
|
|
+ roles: ['admin', 'salesman']
|
|
|
|
+ },
|
|
children: [{
|
|
children: [{
|
|
path: 'index',
|
|
path: 'index',
|
|
name: 'delivery',
|
|
name: 'delivery',
|
|
@@ -210,12 +222,18 @@ export const asyncRouterMap = [{
|
|
hidden: true
|
|
hidden: true
|
|
}
|
|
}
|
|
]
|
|
]
|
|
- },
|
|
|
|
- {
|
|
|
|
- path: '/shipments',
|
|
|
|
- component: Layout,
|
|
|
|
|
|
+ },
|
|
|
|
+
|
|
|
|
+ {
|
|
|
|
+ path: '/shipments',
|
|
|
|
+ component: Layout,
|
|
|
|
+ redirect: '/shipments',
|
|
|
|
+ meta: {
|
|
|
|
+ title: '报表统计',
|
|
|
|
+ roles: ['admin', 'salesman']
|
|
|
|
+ },
|
|
children: [{
|
|
children: [{
|
|
- path: '/shipments/index',
|
|
|
|
|
|
+ path: 'index',
|
|
name: 'shipments',
|
|
name: 'shipments',
|
|
component: () => import('@/views/shipments/index'),
|
|
component: () => import('@/views/shipments/index'),
|
|
meta: {
|
|
meta: {
|
|
@@ -256,10 +274,16 @@ export const asyncRouterMap = [{
|
|
}
|
|
}
|
|
|
|
|
|
]
|
|
]
|
|
- },
|
|
|
|
- {
|
|
|
|
- path: '/management',
|
|
|
|
- component: Layout,
|
|
|
|
|
|
+ },
|
|
|
|
+
|
|
|
|
+ {
|
|
|
|
+ path: '/management',
|
|
|
|
+ component: Layout,
|
|
|
|
+ redirect: '/management',
|
|
|
|
+ meta: {
|
|
|
|
+ title: '业务管理员',
|
|
|
|
+ roles: ['admin']
|
|
|
|
+ },
|
|
children: [{
|
|
children: [{
|
|
path: 'index',
|
|
path: 'index',
|
|
name: 'management',
|
|
name: 'management',
|
|
@@ -271,10 +295,16 @@ export const asyncRouterMap = [{
|
|
}
|
|
}
|
|
},
|
|
},
|
|
]
|
|
]
|
|
- },
|
|
|
|
- {
|
|
|
|
- path: '/sucuirtyaudit',
|
|
|
|
- component: Layout,
|
|
|
|
|
|
+ },
|
|
|
|
+
|
|
|
|
+ {
|
|
|
|
+ path: '/sucuirtyaudit',
|
|
|
|
+ component: Layout,
|
|
|
|
+ redirect: '/sucuirtyaudit',
|
|
|
|
+ meta: {
|
|
|
|
+ title: '安全审计',
|
|
|
|
+ roles: ['admin']
|
|
|
|
+ },
|
|
children: [{
|
|
children: [{
|
|
path: 'index',
|
|
path: 'index',
|
|
name: 'sucuirtyaudit',
|
|
name: 'sucuirtyaudit',
|
|
@@ -318,10 +348,16 @@ export const asyncRouterMap = [{
|
|
}
|
|
}
|
|
|
|
|
|
]
|
|
]
|
|
- },
|
|
|
|
- {
|
|
|
|
- path: '/databackup',
|
|
|
|
- component: Layout,
|
|
|
|
|
|
+ },
|
|
|
|
+
|
|
|
|
+ {
|
|
|
|
+ path: '/databackup',
|
|
|
|
+ component: Layout,
|
|
|
|
+ redirect: '/databackup',
|
|
|
|
+ meta: {
|
|
|
|
+ title: '数据备份',
|
|
|
|
+ roles: ['admin']
|
|
|
|
+ },
|
|
children: [{
|
|
children: [{
|
|
path: 'index',
|
|
path: 'index',
|
|
name: 'databackup',
|
|
name: 'databackup',
|
|
@@ -332,10 +368,16 @@ export const asyncRouterMap = [{
|
|
roles: ['admin']
|
|
roles: ['admin']
|
|
}
|
|
}
|
|
}]
|
|
}]
|
|
- },
|
|
|
|
- {
|
|
|
|
- path: '/mine',
|
|
|
|
- component: Layout,
|
|
|
|
|
|
+ },
|
|
|
|
+
|
|
|
|
+ {
|
|
|
|
+ path: '/mine',
|
|
|
|
+ component: Layout,
|
|
|
|
+ redirect: '/mine',
|
|
|
|
+ meta: {
|
|
|
|
+ title: '个人资料',
|
|
|
|
+ roles: ['admin', 'salesman', 'supplier']
|
|
|
|
+ },
|
|
children: [{
|
|
children: [{
|
|
path: 'index',
|
|
path: 'index',
|
|
name: 'mine',
|
|
name: 'mine',
|