From c7bd1a3fd46b5d5f887ce4f674387294ee1e8ccd Mon Sep 17 00:00:00 2001 From: 马宇豪 <978517621@qq.com> Date: 星期二, 31 十月 2023 17:09:29 +0800 Subject: [PATCH] 添加手机校验 --- src/layout/menu/index.js | 296 +++++++++++++++++++++++++++++++++++++++++++++------------- 1 files changed, 227 insertions(+), 69 deletions(-) diff --git a/src/layout/menu/index.js b/src/layout/menu/index.js index f4df312..558103d 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,7 +20,7 @@ }, { MenuID: "14", - MenuTitle: "我发布的", + MenuTitle: "本级发出", MenuPath: "/release" }, { @@ -29,79 +30,236 @@ } ], }, - { - MenuTitle: "预警信息管理", - Icon: "mail", - MenuID: "2", - Children: [{ + { + MenuTitle: "预警信息管理", + Icon: "mail", + MenuID: "2", + Children: [{ MenuID: "21", MenuTitle: "信息编辑", - MenuPath: "/torelease", + 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: "33", - MenuTitle: "平级接收人管理", - MenuPath: "/samelevel", - }, - ], - }, - { - MenuTitle: "设置", - Icon: "setting", - MenuID: "4", + { + MenuID: "32", + MenuTitle: "短信记录", + MenuPath: "/msgRecord", + }, + { + MenuID: "33", + MenuTitle: "平级接收人管理", + MenuPath: "/samelevel", + }, + { + MenuID: "34", + MenuTitle: "原通讯录", + MenuPath: "/addressBook", + } + ], + }, + { + 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", + // }, + ], + }, + ], + 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: "/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: "实时气象", + 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: "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: "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; \ No newline at end of file -- Gitblit v1.9.2