|
@@ -8,6 +8,56 @@ const data = [
|
|
parentCode: null,
|
|
parentCode: null,
|
|
icon: 'el-icon-s-home',
|
|
icon: 'el-icon-s-home',
|
|
},
|
|
},
|
|
|
|
+ // 内容管理
|
|
|
|
+ {
|
|
|
|
+ module: 'content',
|
|
|
|
+ path: '',
|
|
|
|
+ title: '内容管理',
|
|
|
|
+ code: 'contentHome',
|
|
|
|
+ parentCode: null,
|
|
|
|
+ icon: 'el-icon-document-copy',
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ module: 'menus',
|
|
|
|
+ path: '/menus/home',
|
|
|
|
+ title: '菜单管理',
|
|
|
|
+ code: 'menus',
|
|
|
|
+ parentCode: 'contentHome',
|
|
|
|
+ icon: 'el-icon-s-grid',
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ module: 'imgNews',
|
|
|
|
+ path: '/imgNews/home',
|
|
|
|
+ title: '图片链接',
|
|
|
|
+ code: 'imgNews',
|
|
|
|
+ parentCode: 'contentHome',
|
|
|
|
+ icon: 'el-icon-s-marketing',
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ module: 'pages',
|
|
|
|
+ path: '/pages/home',
|
|
|
|
+ title: '单页管理',
|
|
|
|
+ code: 'pages',
|
|
|
|
+ parentCode: 'contentHome',
|
|
|
|
+ icon: 'el-icon-tickets',
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ module: 'contents',
|
|
|
|
+ path: '/contents/home',
|
|
|
|
+ title: '文章管理',
|
|
|
|
+ code: 'contents',
|
|
|
|
+ parentCode: 'contentHome',
|
|
|
|
+ icon: 'el-icon-document-copy',
|
|
|
|
+ },
|
|
|
|
+ // 文件管理
|
|
|
|
+ {
|
|
|
|
+ module: 'files',
|
|
|
|
+ path: '/files/home',
|
|
|
|
+ title: '文件管理',
|
|
|
|
+ code: 'filesHome',
|
|
|
|
+ parentCode: null,
|
|
|
|
+ icon: 'el-icon-folder',
|
|
|
|
+ },
|
|
{
|
|
{
|
|
module: 'gaf',
|
|
module: 'gaf',
|
|
path: '',
|
|
path: '',
|
|
@@ -64,55 +114,5 @@ const data = [
|
|
parentCode: 'gaf',
|
|
parentCode: 'gaf',
|
|
icon: 'el-icon-s-tools',
|
|
icon: 'el-icon-s-tools',
|
|
},
|
|
},
|
|
- // 内容管理
|
|
|
|
- {
|
|
|
|
- module: 'content',
|
|
|
|
- path: '',
|
|
|
|
- title: '内容管理',
|
|
|
|
- code: 'contentHome',
|
|
|
|
- parentCode: null,
|
|
|
|
- icon: 'el-icon-document-copy',
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- module: 'menus',
|
|
|
|
- path: '/menus/home',
|
|
|
|
- title: '菜单管理',
|
|
|
|
- code: 'menus',
|
|
|
|
- parentCode: 'contentHome',
|
|
|
|
- icon: 'el-icon-s-grid',
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- module: 'imgNews',
|
|
|
|
- path: '/imgNews/home',
|
|
|
|
- title: '图片链接',
|
|
|
|
- code: 'imgNews',
|
|
|
|
- parentCode: 'contentHome',
|
|
|
|
- icon: 'el-icon-s-marketing',
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- module: 'pages',
|
|
|
|
- path: '/pages/home',
|
|
|
|
- title: '单页管理',
|
|
|
|
- code: 'pages',
|
|
|
|
- parentCode: 'contentHome',
|
|
|
|
- icon: 'el-icon-tickets',
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- module: 'contents',
|
|
|
|
- path: '/contents/home',
|
|
|
|
- title: '文章管理',
|
|
|
|
- code: 'contents',
|
|
|
|
- parentCode: 'contentHome',
|
|
|
|
- icon: 'el-icon-document-copy',
|
|
|
|
- },
|
|
|
|
- // 文件管理
|
|
|
|
- {
|
|
|
|
- module: 'files',
|
|
|
|
- path: '/files/home',
|
|
|
|
- title: '文件管理',
|
|
|
|
- code: 'filesHome',
|
|
|
|
- parentCode: null,
|
|
|
|
- icon: 'el-icon-folder',
|
|
|
|
- },
|
|
|
|
];
|
|
];
|
|
module.exports.data = data;
|
|
module.exports.data = data;
|