|
|
@@ -29,6 +29,8 @@ import CarSeries from '../views/parameter/CarSeries'
|
|
|
import CarType from '../views/parameter/components/Carseries/CarType'
|
|
|
// 平台模块
|
|
|
import PlatformModule from '../views/parameter/PlatformModule'
|
|
|
+// 平台版块
|
|
|
+import PlatformSection from '../views/parameter/components/PlatformModule/DetailPage'
|
|
|
//内容分类1
|
|
|
import ContentCategory1 from '../views/parameter/ContentCategory1'
|
|
|
//内容分类2
|
|
|
@@ -53,6 +55,7 @@ const routes = [
|
|
|
{
|
|
|
path: '/uploadRecord',
|
|
|
component: UploadRecord,
|
|
|
+ // meta用于面包屑
|
|
|
meta: [
|
|
|
{
|
|
|
name: "数据管理",
|
|
|
@@ -245,31 +248,121 @@ const routes = [
|
|
|
},
|
|
|
{
|
|
|
path: 'platformModule',
|
|
|
- component: PlatformModule
|
|
|
+ component: PlatformModule,
|
|
|
+ meta: [
|
|
|
+ {
|
|
|
+ name: "参数设置",
|
|
|
+ url: ''
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: "平台版块",
|
|
|
+ url: '/parameterIndex/platformModule'
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: 'section',
|
|
|
+ component: PlatformSection,
|
|
|
+ meta: [
|
|
|
+ {
|
|
|
+ name: "参数设置",
|
|
|
+ url: ''
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: "平台版块",
|
|
|
+ url: '/parameterIndex/platformModule'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: "版块管理",
|
|
|
+ url: ''
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ ]
|
|
|
},
|
|
|
{
|
|
|
path: 'contentCategory1',
|
|
|
- component: ContentCategory1
|
|
|
+ component: ContentCategory1,
|
|
|
+ meta: [
|
|
|
+ {
|
|
|
+ name: "参数设置",
|
|
|
+ url: ''
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: "稿件类别",
|
|
|
+ url: '/parameterIndex/contentCategory1'
|
|
|
+ }
|
|
|
+ ],
|
|
|
},
|
|
|
{
|
|
|
path: 'contentCategory2',
|
|
|
- component: ContentCategory2
|
|
|
+ component: ContentCategory2,
|
|
|
+ meta: [
|
|
|
+ {
|
|
|
+ name: "参数设置",
|
|
|
+ url: ''
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: "内容分类",
|
|
|
+ url: '/parameterIndex/contentCategory2'
|
|
|
+ }
|
|
|
+ ],
|
|
|
},
|
|
|
{
|
|
|
path: 'mediaPlatform',
|
|
|
- component: MediaPlatform
|
|
|
+ component: MediaPlatform,
|
|
|
+ meta: [
|
|
|
+ {
|
|
|
+ name: "参数设置",
|
|
|
+ url: ''
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: "媒体平台",
|
|
|
+ url: '/parameterIndex/mediaPlatform'
|
|
|
+ }
|
|
|
+ ],
|
|
|
},
|
|
|
{
|
|
|
path: 'grouping',
|
|
|
- component: Grouping
|
|
|
+ component: Grouping,
|
|
|
+ meta: [
|
|
|
+ {
|
|
|
+ name: "参数设置",
|
|
|
+ url: ''
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: "权限分组",
|
|
|
+ url: '/parameterIndex/grouping'
|
|
|
+ }
|
|
|
+ ],
|
|
|
},
|
|
|
{
|
|
|
path: 'linkUpload',
|
|
|
- component: LinkUpload
|
|
|
+ component: LinkUpload,
|
|
|
+ meta: [
|
|
|
+ {
|
|
|
+ name: "参数设置",
|
|
|
+ url: ''
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: "链接上传",
|
|
|
+ url: '/parameterIndex/linkUpload'
|
|
|
+ }
|
|
|
+ ],
|
|
|
},
|
|
|
{
|
|
|
path: 'commonParam',
|
|
|
- component: CommonParam
|
|
|
+ component: CommonParam,
|
|
|
+ meta: [
|
|
|
+ {
|
|
|
+ name: "参数设置",
|
|
|
+ url: ''
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: "常用设置",
|
|
|
+ url: '/parameterIndex/commonParam'
|
|
|
+ }
|
|
|
+ ],
|
|
|
}
|
|
|
]
|
|
|
}
|