From 57ffebab5fded6f5236bd1b40c4b4e7a6d4ae07f Mon Sep 17 00:00:00 2001
From: zhouwx <1175765986@qq.com>
Date: Wed, 31 Jul 2024 09:50:09 +0800
Subject: [PATCH] 驱动下载
---
src/layout/menu/index.js | 368 ++++++++++++++++++++++++++++++++++++++++++---------
1 files changed, 300 insertions(+), 68 deletions(-)
diff --git a/src/layout/menu/index.js b/src/layout/menu/index.js
index 44cb324..604b631 100644
--- a/src/layout/menu/index.js
+++ b/src/layout/menu/index.js
@@ -1,12 +1,13 @@
-const menuData = [{
+const menu = {
+ adminMenu: [{
MenuTitle: "首页",
Icon: "home",
MenuID: "1",
Children: [{
- MenuID: "11",
- MenuTitle: "控制面板",
- MenuPath: "/home",
- },
+ MenuID: "11",
+ MenuTitle: "控制面板",
+ MenuPath: "/home",
+ },
{
MenuID: "18",
MenuTitle: "实时气象",
@@ -19,89 +20,320 @@
},
{
MenuID: "14",
- MenuTitle: "我发布的",
+ MenuTitle: "本级发出",
MenuPath: "/release"
},
{
MenuID: "13",
MenuTitle: "数据统计",
- MenuPath: "/audit"
+ MenuPath: "/dataStatistic"
}
],
},
- {
- MenuTitle: "预警信息管理",
- Icon: "mail",
- MenuID: "2",
- Children: [{
+ {
+ MenuTitle: "预警信息管理",
+ Icon: "mail",
+ MenuID: "2",
+ Children: [{
MenuID: "21",
MenuTitle: "信息编辑",
MenuPath: "/notice",
},
- {
- MenuID: "22",
- MenuTitle: "信息审核",
- MenuPath: "/msgReview",
- },
- {
- MenuID: "23",
- MenuTitle: "信息发布",
- MenuPath: "/report",
- },
- {
- MenuID: "24",
- MenuTitle: "历史信息",
- MenuPath: "/history",
- },
- {
- MenuID: "25",
- MenuTitle: "叫应记录",
- MenuPath: "/callRecord",
- },
- ],
- },
- {
- MenuTitle: "短信管理",
- Icon: "message",
- MenuID: "3",
- Children: [{
+ {
+ MenuID: "22",
+ MenuTitle: "信息审核",
+ MenuPath: "/msgReview",
+ },
+ {
+ MenuID: "23",
+ MenuTitle: "信息发布",
+ MenuPath: "/report",
+ },
+ {
+ MenuID: "24",
+ MenuTitle: "历史信息",
+ MenuPath: "/history",
+ },
+ {
+ MenuID: "25",
+ MenuTitle: "叫应记录",
+ MenuPath: "/callRecord",
+ },
+ ],
+ },
+ {
+ MenuTitle: "短信管理",
+ Icon: "message",
+ MenuID: "3",
+ Children: [{
MenuID: "31",
MenuTitle: "常规群发",
MenuPath: "/massSend",
},
- {
- MenuID: "32",
- MenuTitle: "短信记录",
- MenuPath: "/msgRecord",
+ {
+ MenuID: "32",
+ MenuTitle: "短信记录",
+ MenuPath: "/msgRecord",
+ },
+ {
+ MenuID: "33",
+ MenuTitle: "(旧)平级接收人管理",
+ MenuPath: "/samelevel",
+ },
+ {
+ MenuID: "34",
+ MenuTitle: "(旧)平级接收人分组",
+ MenuPath: "/samelevelGroup",
+ },
+ {
+ MenuID: "35",
+ MenuTitle: "原通讯录",
+ MenuPath: "/addressBook",
+ }
+ ],
+ },
+ {
+ MenuTitle: "通讯录管理",
+ Icon: "book",
+ MenuID: "5",
+ Children: [{
+ MenuID: "51",
+ MenuTitle: "责任人管理",
+ MenuPath: "/contactors",
},
- {
- MenuID: "33",
- MenuTitle: "平级接收人管理",
- MenuPath: "/samelevel",
- },
- ],
- },
- {
- MenuTitle: "设置",
- Icon: "setting",
- MenuID: "4",
+ {
+ MenuID: "52",
+ MenuTitle: "组织架构维护",
+ MenuPath: "/structure",
+ }
+ ],
+ },
+ {
+ MenuTitle: "设置",
+ Icon: "setting",
+ MenuID: "4",
+ Children: [
+ {
+ MenuID: "43",
+ MenuTitle: "响应措施管理",
+ MenuPath: "/reactionManage",
+ },
+ {
+ MenuID: "41",
+ MenuTitle: "用户管理",
+ MenuPath: "/user",
+ },
+ {
+ MenuID: "42",
+ MenuTitle: "短信平台设置",
+ MenuPath: "/smsSetting",
+ },
+ {
+ MenuID: "44",
+ MenuTitle: "App版本控制",
+ MenuPath: "/appfile",
+ },
+ // {
+ // MenuID: "43",
+ // MenuTitle: "菜单权限",
+ // MenuPath: "/menu",
+ // },
+ ],
+ },
+ ],
+ leaderMenu: [{
+ MenuTitle: "首页",
+ Icon: "home",
+ MenuID: "1",
Children: [{
- MenuID: "41",
- MenuTitle: "用户管理",
- MenuPath: "/user",
+ MenuID: "11",
+ MenuTitle: "控制面板",
+ MenuPath: "/home",
+ },
+ {
+ MenuID: "18",
+ MenuTitle: "实时气象",
+ MenuPath: "/wendy",
},
{
- MenuID: "42",
- MenuTitle: "短信平台设置",
- MenuPath: "/smsSetting",
- },
- // {
- // MenuID: "43",
- // MenuTitle: "菜单权限",
- // MenuPath: "/menu",
- // },
+ MenuID: "13",
+ MenuTitle: "数据统计",
+ MenuPath: "/dataStatistic"
+ }
],
},
-]
+ {
+ MenuTitle: "预警信息管理",
+ Icon: "mail",
+ MenuID: "2",
+ Children: [
+ {
+ MenuID: "22",
+ MenuTitle: "信息审核",
+ MenuPath: "/msgReview",
+ },
+ ],
+ },
+ {
+ MenuTitle: "短信管理",
+ Icon: "message",
+ MenuID: "3",
+ Children: [{
+ MenuID: "31",
+ MenuTitle: "常规群发",
+ MenuPath: "/massSend",
+ }
+ ],
+ },
+ {
+ MenuTitle: "通讯录管理",
+ Icon: "book",
+ MenuID: "5",
+ Children: [{
+ MenuID: "51",
+ MenuTitle: "责任人管理",
+ MenuPath: "/contactors",
+ },
+ {
+ MenuID: "52",
+ MenuTitle: "组织架构维护",
+ MenuPath: "/structure",
+ }
+ ],
+ },
+ ],
+ workerMenu: [{
+ MenuTitle: "首页",
+ Icon: "home",
+ MenuID: "1",
+ Children: [{
+ MenuID: "11",
+ MenuTitle: "控制面板",
+ MenuPath: "/home",
+ },
+ {
+ MenuID: "18",
+ MenuTitle: "实时气象",
+ MenuPath: "/wendy",
+ },
+ {
+ MenuID: "12",
+ MenuTitle: "我收到的",
+ MenuPath: "/list"
+ },
+ {
+ MenuID: "14",
+ MenuTitle: "本级发出",
+ MenuPath: "/release"
+ },
+ {
+ MenuID: "13",
+ MenuTitle: "数据统计",
+ MenuPath: "/dataStatistic"
+ }
+ ],
+ },
+ {
+ MenuTitle: "预警信息管理",
+ Icon: "mail",
+ MenuID: "2",
+ Children: [{
+ MenuID: "21",
+ MenuTitle: "信息编辑",
+ MenuPath: "/notice",
+ },
+ {
+ MenuID: "23",
+ MenuTitle: "信息发布",
+ MenuPath: "/report",
+ },
+ {
+ MenuID: "24",
+ MenuTitle: "历史信息",
+ MenuPath: "/history",
+ },
+ {
+ MenuID: "25",
+ MenuTitle: "叫应记录",
+ MenuPath: "/callRecord",
+ },
+ ],
+ },
+ {
+ MenuTitle: "短信管理",
+ Icon: "message",
+ MenuID: "3",
+ Children: [{
+ MenuID: "31",
+ MenuTitle: "常规群发",
+ MenuPath: "/massSend",
+ },
+ {
+ MenuID: "32",
+ MenuTitle: "短信记录",
+ MenuPath: "/msgRecord",
+ },
+ {
+ MenuID: "33",
+ MenuTitle: "(旧)平级接收人管理",
+ MenuPath: "/samelevel",
+ },
+ {
+ MenuID: "34",
+ MenuTitle: "(旧)平级接收人分组",
+ MenuPath: "/samelevelGroup",
+ },
+ {
+ MenuID: "35",
+ MenuTitle: "原通讯录",
+ MenuPath: "/addressBook",
+ }
+ ],
+ },
+ {
+ MenuTitle: "通讯录管理",
+ Icon: "book",
+ MenuID: "5",
+ Children: [{
+ MenuID: "51",
+ MenuTitle: "责任人管理",
+ MenuPath: "/contactors",
+ },
+ {
+ MenuID: "52",
+ MenuTitle: "组织架构维护",
+ MenuPath: "/structure",
+ }
+ ],
+ },
+ {
+ MenuTitle: "设置",
+ Icon: "setting",
+ MenuID: "4",
+ Children: [
+ {
+ MenuID: "43",
+ MenuTitle: "响应措施管理",
+ MenuPath: "/reactionManage",
+ },
+ {
+ MenuID: "41",
+ MenuTitle: "用户管理",
+ MenuPath: "/user",
+ },
+ {
+ MenuID: "42",
+ MenuTitle: "短信平台设置",
+ MenuPath: "/smsSetting",
+ },
+ // {
+ // MenuID: "43",
+ // MenuTitle: "菜单权限",
+ // MenuPath: "/menu",
+ // },
+ ],
+ },
+ ]
+}
-export default menuData;
\ No newline at end of file
+export default menu;
--
Gitblit v1.9.2