From 1ee4a5341215f94128b66cee4893c7c937df509a Mon Sep 17 00:00:00 2001 From: zhouwx <1175765986@qq.com> Date: 星期一, 08 七月 2024 09:05:20 +0800 Subject: [PATCH] bug修改 --- src/layout/menu/index.js | 367 +++++++++++++++++++++++++++++++++++++++++++--------- 1 files changed, 302 insertions(+), 65 deletions(-) diff --git a/src/layout/menu/index.js b/src/layout/menu/index.js index dcea7d8..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,84 +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: "/torelease", + MenuPath: "/notice", }, - { - MenuID: "24", - MenuTitle: "信息发布", - MenuPath: "/report", - }, - { - MenuID: "22", - MenuTitle: "历史信息", - MenuPath: "/history", - }, - { - MenuID: "23", - MenuTitle: "叫应记录", - MenuPath: "/responses", - }, - ], - }, - { - 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: "/module", + MenuPath: "/massSend", }, - { - MenuID: "32", - MenuTitle: "短信记录", - MenuPath: "/", + { + 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: "/munu", - }, + 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