|
|
@@ -83,64 +83,64 @@ export const asyncRoutes = [
|
|
|
]
|
|
|
},
|
|
|
{
|
|
|
- path: '/bz/base',
|
|
|
+ path: '/place',
|
|
|
component: Layout,
|
|
|
- name: 'bz',
|
|
|
+ name: 'place',
|
|
|
meta: {
|
|
|
title: '文旅场所管理',
|
|
|
icon: 'el-icon-receiving',
|
|
|
authorities: ['bz.data.type.find']
|
|
|
},
|
|
|
- redirect: '/bz/data',
|
|
|
+ redirect: '/place/baseInfo',
|
|
|
children: [
|
|
|
{
|
|
|
- path: 'type',
|
|
|
- name: 'BzDataType',
|
|
|
- component: () => import('@/views/base/category'),
|
|
|
- meta: { title: '分类管理', authorities: ['bz.data.type.find'] }
|
|
|
- },
|
|
|
- {
|
|
|
path: 'baseInfo',
|
|
|
- name: 'BzBaseInfo',
|
|
|
- component: () => import('@/views/base/baseInfo'),
|
|
|
- meta: { title: '基础数据管理', authorities: ['bz.data.info.find'] }
|
|
|
- },
|
|
|
- {
|
|
|
- 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: '景区', authorities: ['bz.base.scenery.find'] }
|
|
|
- },
|
|
|
- {
|
|
|
- path: 'holidayVillage',
|
|
|
- name: 'BzBaseHolidayVillage',
|
|
|
- component: () => import('@/views/bz/base/holidayVillage/index'),
|
|
|
- meta: { title: '度假村', authorities: ['bz.base.holiday.village.find'] }
|
|
|
- },
|
|
|
- {
|
|
|
- path: 'hotel',
|
|
|
- name: 'BzBaseHotel',
|
|
|
- component: () => import('@/views/bz/base/hotel/index'),
|
|
|
- meta: { title: '酒店', authorities: ['bz.base.hotel.find'] }
|
|
|
- },
|
|
|
- {
|
|
|
- path: 'homeStay',
|
|
|
- name: 'BzBaseHomeStay',
|
|
|
- component: () => import('@/views/bz/base/homeStay/index'),
|
|
|
- meta: { title: '民宿', authorities: ['bz.base.home.stay.find'] }
|
|
|
+ name: 'PlaceBaseInfo',
|
|
|
+ component: () => import('@/views/place/baseInfo'),
|
|
|
+ meta: { title: '文旅场所管理', authorities: ['bz.data.info.find'] }
|
|
|
},
|
|
|
{
|
|
|
- path: 'tourist',
|
|
|
- name: 'BzBaseTourist',
|
|
|
- component: () => import('@/views/bz/base/tourist/index'),
|
|
|
- meta: { title: '旅行社', authorities: ['bz.base.tourist.find'] }
|
|
|
+ path: 'category',
|
|
|
+ name: 'PlaceCategory',
|
|
|
+ component: () => import('@/views/place/category'),
|
|
|
+ meta: { title: '文旅场所分类管理', authorities: ['bz.data.type.find'] }
|
|
|
}
|
|
|
+ // {
|
|
|
+ // 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: '景区', authorities: ['bz.base.scenery.find'] }
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // path: 'holidayVillage',
|
|
|
+ // name: 'BzBaseHolidayVillage',
|
|
|
+ // component: () => import('@/views/bz/base/holidayVillage/index'),
|
|
|
+ // meta: { title: '度假村', authorities: ['bz.base.holiday.village.find'] }
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // path: 'hotel',
|
|
|
+ // name: 'BzBaseHotel',
|
|
|
+ // component: () => import('@/views/bz/base/hotel/index'),
|
|
|
+ // meta: { title: '酒店', authorities: ['bz.base.hotel.find'] }
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // path: 'homeStay',
|
|
|
+ // name: 'BzBaseHomeStay',
|
|
|
+ // component: () => import('@/views/bz/base/homeStay/index'),
|
|
|
+ // meta: { title: '民宿', authorities: ['bz.base.home.stay.find'] }
|
|
|
+ // },
|
|
|
+ // {
|
|
|
+ // path: 'tourist',
|
|
|
+ // name: 'BzBaseTourist',
|
|
|
+ // component: () => import('@/views/bz/base/tourist/index'),
|
|
|
+ // meta: { title: '旅行社', authorities: ['bz.base.tourist.find'] }
|
|
|
+ // }
|
|
|
]
|
|
|
},
|
|
|
{
|