|
@@ -33,23 +33,72 @@ import Layout from '@/layout'
|
|
|
|
|
|
|
|
export const asyncRoutes = [
|
|
export const asyncRoutes = [
|
|
|
{
|
|
{
|
|
|
|
|
+ path: '/bz/base',
|
|
|
|
|
+ component: Layout,
|
|
|
|
|
+ name: 'bz',
|
|
|
|
|
+ meta: {
|
|
|
|
|
+ title: '业务资源管理',
|
|
|
|
|
+ icon: 'el-icon-eleme',
|
|
|
|
|
+ authorities: ['bz.base.venue.find']
|
|
|
|
|
+ },
|
|
|
|
|
+ redirect: '/bz/base/venue',
|
|
|
|
|
+ children: [
|
|
|
|
|
+ {
|
|
|
|
|
+ path: 'venue',
|
|
|
|
|
+ name: 'BzBaseVenue',
|
|
|
|
|
+ component: () => import('@/views/bz/base/venue/index'),
|
|
|
|
|
+ meta: { title: '场馆', authorities: ['bz.base.venue.find'] }
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ path: 'scenery',
|
|
|
|
|
+ name: 'BzBaseScenery',
|
|
|
|
|
+ component: () => import('@/views/bz/base/scenery/index'),
|
|
|
|
|
+ meta: { title: '景区' }
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ path: 'holidayVillage',
|
|
|
|
|
+ name: 'BzBaseHolidayVillage',
|
|
|
|
|
+ component: () => import('@/views/bz/base/holidayVillage/index'),
|
|
|
|
|
+ meta: { title: '度假村' }
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ path: 'hotel',
|
|
|
|
|
+ name: 'BzBaseHotel',
|
|
|
|
|
+ component: () => import('@/views/bz/base/hotel/index'),
|
|
|
|
|
+ meta: { title: '酒店' }
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ path: 'homeStay',
|
|
|
|
|
+ name: 'BzBaseHomeStay',
|
|
|
|
|
+ component: () => import('@/views/bz/base/homeStay/index'),
|
|
|
|
|
+ meta: { title: '民宿' }
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ path: 'tourist',
|
|
|
|
|
+ name: 'BzBaseTourist',
|
|
|
|
|
+ component: () => import('@/views/bz/base/tourist/index'),
|
|
|
|
|
+ meta: { title: '旅行社' }
|
|
|
|
|
+ }
|
|
|
|
|
+ ]
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
path: '/appKey',
|
|
path: '/appKey',
|
|
|
component: Layout,
|
|
component: Layout,
|
|
|
name: 'AppKey',
|
|
name: 'AppKey',
|
|
|
- meta: { title: '接口', icon: 'el-icon-eleme' },
|
|
|
|
|
|
|
+ meta: { title: '接口', icon: 'el-icon-eleme', authorities: ['app.key.find', 'app.key.request.logs'] },
|
|
|
redirect: '/appKey/index',
|
|
redirect: '/appKey/index',
|
|
|
children: [
|
|
children: [
|
|
|
{
|
|
{
|
|
|
path: 'index',
|
|
path: 'index',
|
|
|
name: 'AppKeyIndex',
|
|
name: 'AppKeyIndex',
|
|
|
component: () => import('@/views/appKey/index'),
|
|
component: () => import('@/views/appKey/index'),
|
|
|
- meta: { title: 'AppKey管理' }
|
|
|
|
|
|
|
+ meta: { title: 'AppKey管理', authorities: ['app.key.find'] }
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
path: 'requestLogs',
|
|
path: 'requestLogs',
|
|
|
name: 'AppKeyRequestLogs',
|
|
name: 'AppKeyRequestLogs',
|
|
|
component: () => import('@/views/appKey/requestLogs'),
|
|
component: () => import('@/views/appKey/requestLogs'),
|
|
|
- meta: { title: '调用日志' }
|
|
|
|
|
|
|
+ meta: { title: '调用日志', authorities: ['app.key.request.logs'] }
|
|
|
}
|
|
}
|
|
|
]
|
|
]
|
|
|
},
|
|
},
|