From fc68f6006949a91fced69951778a7c88859cbb6c Mon Sep 17 00:00:00 2001
From: Mr Ke <kelq@hugeinfo.com.cn>
Date: Wed, 06 May 2020 10:49:07 +0800
Subject: [PATCH] Merge branch 'master' of http://120.79.193.119:9090/r/huge/frontEnd/hugeOA
---
src/menu/menu.data.js | 99 +++++++++++++++++++++++++++++++++++++++----------
1 files changed, 78 insertions(+), 21 deletions(-)
diff --git a/src/menu/menu.data.js b/src/menu/menu.data.js
index ebd45cf..13aef07 100644
--- a/src/menu/menu.data.js
+++ b/src/menu/menu.data.js
@@ -5,27 +5,29 @@
*/
const menus = [
{
- key: 'index',
+ key: '/',
name: '首页',
- path: '/app',
+ path: '/',
icon: 'home',
- permKey: 'index',
+ permKey: '/index',
children: [
{
- key: 'index',
+ key: '/index',
name: '工作台',
path: '/index',
permKey: '/index',
- children: []
+ parentKey: '/',
+ children: [],
},
{
key: '/index/rules',
name: '规章制度',
path: '/index/rules',
permKey: '/index/rules',
- children: []
- }
- ]
+ parentKey: '/',
+ children: [],
+ },
+ ],
},
{
key: 'workOffice',
@@ -40,7 +42,8 @@
path: 'http://120.79.193.119:9090/',
permKey: 'http://120.79.193.119:9090/',
children: [],
- type: 'open'
+ parentKey: 'workOffice',
+ type: 'open',
},
{
key: 'workOffice',
@@ -48,12 +51,13 @@
path: 'https://account.teambition.com/login/password',
permKey: 'https://account.teambition.com/login/password',
children: [],
- type: 'open'
- }
- ]
+ parentKey: 'workOffice',
+ type: 'open',
+ },
+ ],
},
{
- key: 'document',
+ key: '/document',
name: '文档管理',
path: '/document',
icon: 'file',
@@ -64,12 +68,13 @@
name: '新建文档',
path: '/document/create',
permKey: '/document/create',
- children: []
- }
- ]
+ parentKey: '/document',
+ children: [],
+ },
+ ],
},
{
- key: 'logManage',
+ key: '/logManage',
name: '系统管理',
path: '/logManage',
icon: 'setting',
@@ -80,10 +85,62 @@
name: '浏览日志',
path: '/logManage/browseLog',
permKey: '/logManage/browseLog',
- children: []
- }
- ]
- }
+ parentKey: '/logManage',
+ children: [],
+ },
+ {
+ key: '/logManage/operLog',
+ name: '操作日志',
+ path: '/logManage/operLog',
+ permKey: '/logManage/operLog',
+ parentKey: '/logManage',
+ children: [],
+ },
+ {
+ key: '/logManage/rawler',
+ name: "爬虫词条管理",
+ path: "/logManage/rawler",
+ permKey: '/logManage/rawler',
+ parentKey: '/logManage',
+ children: [],
+ },
+ ],
+ },
+ {
+ key: 'administration',
+ name: '用户管理',
+ path: 'administration',
+ icon: 'team',
+ permKey: 'administration',
+ children: [
+ {
+ key: '/administration',
+ name: '用户中心',
+ path: 'http://120.79.193.119:9074/base/login.html#/',
+ permKey: 'http://120.79.193.119:9074/base/login.html#/',
+ children: [],
+ parentKey: 'administration',
+ type: 'open',
+ },
+ ],
+ },
+ {
+ key: 'personal',
+ name: '个人中心',
+ path: 'personal',
+ icon: 'user',
+ permKey: 'personal',
+ children: [
+ {
+ key: '/personal/information',
+ name: '个人信息',
+ path: '/personal/information',
+ permKey: '/personal/information',
+ children: [],
+ parentKey: 'personal',
+ },
+ ],
+ },
];
export default menus;
--
Gitblit v1.8.0