From 40852401907ce5d59171920c1b2db4b23dcc4691 Mon Sep 17 00:00:00 2001
From: liyj <1003249715@qq.com>
Date: Wed, 06 May 2020 16:16:08 +0800
Subject: [PATCH] 新增钉钉入库
---
src/menu/menu.data.js | 109 +++++++++++++++++++++++++++++++++++++++++++-----------
1 files changed, 87 insertions(+), 22 deletions(-)
diff --git a/src/menu/menu.data.js b/src/menu/menu.data.js
index 18f6622..ea7a8d4 100644
--- a/src/menu/menu.data.js
+++ b/src/menu/menu.data.js
@@ -17,16 +17,17 @@
path: '/index',
permKey: '/index',
parentKey: '/',
- children: []
+ children: [],
},
{
key: '/index/rules',
name: '规章制度',
path: '/index/rules',
permKey: '/index/rules',
- children: []
- }
- ]
+ parentKey: '/',
+ children: [],
+ },
+ ],
},
{
key: 'workOffice',
@@ -37,21 +38,32 @@
children: [
{
key: 'workOffice',
- name: 'GitBilt',
- path: 'http://120.79.193.119:9090/',
- permKey: 'http://120.79.193.119:9090/',
- children: [],
- type: 'open'
- },
- {
- key: 'workOffice',
name: 'Teambition',
path: 'https://account.teambition.com/login/password',
permKey: 'https://account.teambition.com/login/password',
children: [],
- type: 'open'
- }
- ]
+ parentKey: 'workOffice',
+ type: 'open',
+ },
+ {
+ key: 'workOffice',
+ name: '钉钉',
+ path: 'https://im.dingtalk.com/',
+ permKey: 'https://im.dingtalk.com/',
+ children: [],
+ parentKey: 'workOffice',
+ type: 'open',
+ },
+ {
+ key: 'workOffice',
+ name: 'GitBilt',
+ path: 'http://120.79.193.119:9090/',
+ permKey: 'http://120.79.193.119:9090/',
+ children: [],
+ parentKey: 'workOffice',
+ type: 'open',
+ },
+ ],
},
{
key: '/document',
@@ -65,9 +77,10 @@
name: '新建文档',
path: '/document/create',
permKey: '/document/create',
- children: []
- }
- ]
+ parentKey: '/document',
+ children: [],
+ },
+ ],
},
{
key: '/logManage',
@@ -81,10 +94,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