|
@@ -1,8 +1,13 @@
|
|
-
|
|
|
|
export const menuData = [
|
|
export const menuData = [
|
|
- // 有子菜单 字菜单不分组的
|
|
|
|
{
|
|
{
|
|
- oneMenuName: "系统配置",
|
|
|
|
|
|
+ optionName: "首页",
|
|
|
|
+ iconClassName: "el-icon-document",
|
|
|
|
+ routerName: "index",
|
|
|
|
+ index: '-1',
|
|
|
|
+ disabled: false
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ optionName: "系统配置",
|
|
iconClassName: "el-icon-setting",
|
|
iconClassName: "el-icon-setting",
|
|
index: '0',
|
|
index: '0',
|
|
disabled: false, // 是否禁用
|
|
disabled: false, // 是否禁用
|
|
@@ -15,7 +20,7 @@ export const menuData = [
|
|
]
|
|
]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- oneMenuName: "设备管理",
|
|
|
|
|
|
+ optionName: "设备管理",
|
|
iconClassName: "el-icon-monitor",
|
|
iconClassName: "el-icon-monitor",
|
|
index: '1',
|
|
index: '1',
|
|
disabled: false, // 是否禁用
|
|
disabled: false, // 是否禁用
|
|
@@ -38,7 +43,7 @@ export const menuData = [
|
|
]
|
|
]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- oneMenuName: "区域管理",
|
|
|
|
|
|
+ optionName: "区域管理",
|
|
iconClassName: "el-icon-s-flag",
|
|
iconClassName: "el-icon-s-flag",
|
|
index: '2',
|
|
index: '2',
|
|
disabled: false,
|
|
disabled: false,
|
|
@@ -52,7 +57,7 @@ export const menuData = [
|
|
},
|
|
},
|
|
// 无子菜单的
|
|
// 无子菜单的
|
|
{
|
|
{
|
|
- oneMenuName: "消息管理",
|
|
|
|
|
|
+ optionName: "消息管理",
|
|
iconClassName: "el-icon-message",
|
|
iconClassName: "el-icon-message",
|
|
index: '3',
|
|
index: '3',
|
|
disabled: false,
|
|
disabled: false,
|
|
@@ -81,7 +86,7 @@ export const menuData = [
|
|
]
|
|
]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- oneMenuName: "树目录结构",
|
|
|
|
|
|
+ optionName: "树目录结构",
|
|
iconClassName: "el-icon-coordinate",
|
|
iconClassName: "el-icon-coordinate",
|
|
index: '4',
|
|
index: '4',
|
|
disabled: false,
|
|
disabled: false,
|
|
@@ -94,7 +99,7 @@ export const menuData = [
|
|
]
|
|
]
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- oneMenuName: "开发用模板",
|
|
|
|
|
|
+ optionName: "开发用模板",
|
|
iconClassName: "el-icon-menu",
|
|
iconClassName: "el-icon-menu",
|
|
index: '100',
|
|
index: '100',
|
|
disabled: false, // 是否禁用
|
|
disabled: false, // 是否禁用
|