From cc7f03bcbb427ce334f6935311d22f36a61c21fd Mon Sep 17 00:00:00 2001 From: 鲁班七号 <9159450+luban-71@user.noreply.gitee.com> Date: 星期四, 20 七月 2023 11:52:48 +0800 Subject: [PATCH] 修改“我发布的”,为本级发出 --- src/layout/menu/index.js | 279 +++++++++++++++++++++++++++++++++++++++++++------------ 1 files changed, 215 insertions(+), 64 deletions(-) diff --git a/src/layout/menu/index.js b/src/layout/menu/index.js index dcea7d8..3fe6df2 100644 --- a/src/layout/menu/index.js +++ b/src/layout/menu/index.js @@ -1,12 +1,157 @@ -const menuData = [{ +const menu = { + adminMenu: [{ MenuTitle: "首页", Icon: "home", MenuID: "1", Children: [{ - MenuID: "11", - MenuTitle: "控制面板", - MenuPath: "/home", + MenuID: "11", + MenuTitle: "控制面板", + MenuPath: "/home", + }, + { + MenuID: "18", + MenuTitle: "实时气象", + MenuPath: "/wendy", }, + { + MenuID: "12", + MenuTitle: "我收到的", + MenuPath: "/list" + }, + { + MenuID: "14", + MenuTitle: "本级发出", + MenuPath: "/release" + }, + { + MenuID: "13", + MenuTitle: "数据统计", + MenuPath: "/audit" + } + ], + }, + { + 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: "31", + MenuTitle: "常规群发", + MenuPath: "/massSend", + }, + { + MenuID: "32", + MenuTitle: "短信记录", + MenuPath: "/msgRecord", + }, + { + MenuID: "33", + MenuTitle: "平级接收人管理", + MenuPath: "/samelevel", + }, + { + MenuID: "34", + MenuTitle: "原通讯录", + MenuPath: "/addressBook", + } + ], + }, + { + MenuTitle: "设置", + Icon: "setting", + MenuID: "4", + Children: [{ + MenuID: "41", + MenuTitle: "用户管理", + MenuPath: "/user", + }, + { + MenuID: "42", + MenuTitle: "短信平台设置", + MenuPath: "/smsSetting", + }, + // { + // MenuID: "43", + // MenuTitle: "菜单权限", + // MenuPath: "/menu", + // }, + ], + }, + ], + leaderMenu: [{ + MenuTitle: "首页", + Icon: "home", + MenuID: "1", + Children: [{ + MenuID: "11", + MenuTitle: "控制面板", + MenuPath: "/home", + }, + { + MenuID: "18", + MenuTitle: "实时气象", + MenuPath: "/wendy", + }, + { + MenuID: "13", + MenuTitle: "数据统计", + MenuPath: "/audit" + } + ], + }, + { + MenuTitle: "预警信息管理", + Icon: "mail", + MenuID: "2", + Children: [ + { + MenuID: "22", + MenuTitle: "信息审核", + MenuPath: "/msgReview", + }, + ], + } + ], + workerMenu: [{ + MenuTitle: "首页", + Icon: "home", + MenuID: "1", + Children: [{ + MenuID: "11", + MenuTitle: "控制面板", + MenuPath: "/home", + }, { MenuID: "18", MenuTitle: "实时气象", @@ -29,74 +174,80 @@ } ], }, - { - 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: "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: "33", - MenuTitle: "平级接收人管理", - MenuPath: "/samelevel", - }, - ], - }, - { - MenuTitle: "设置", - Icon: "setting", - MenuID: "4", - Children: [{ + { + MenuID: "32", + MenuTitle: "短信记录", + MenuPath: "/msgRecord", + }, + { + MenuID: "33", + MenuTitle: "平级接收人管理", + MenuPath: "/samelevel", + }, + { + MenuID: "34", + MenuTitle: "原通讯录", + MenuPath: "/addressBook", + } + ], + }, + { + MenuTitle: "设置", + Icon: "setting", + MenuID: "4", + Children: [{ MenuID: "41", MenuTitle: "用户管理", MenuPath: "/user", }, - { - MenuID: "42", - MenuTitle: "短信平台设置", - MenuPath: "/smssetting", - }, - { - MenuID: "43", - MenuTitle: "菜单权限", - MenuPath: "/munu", - }, - ], - }, -] + { + MenuID: "42", + MenuTitle: "短信平台设置", + MenuPath: "/smsSetting", + }, + // { + // MenuID: "43", + // MenuTitle: "菜单权限", + // MenuPath: "/menu", + // }, + ], + }, + ] +} -export default menuData; \ No newline at end of file +export default menu; \ No newline at end of file -- Gitblit v1.9.2