| | |
| | | */ |
| | | const menus = [ |
| | | { |
| | | key: 'index', |
| | | key: '/', |
| | | name: '首页', |
| | | path: '/app', |
| | | path: '/', |
| | | icon: 'home', |
| | | permKey: 'menu.home', |
| | | children: [{ |
| | | key: 'index_workbench', |
| | | permKey: '/index', |
| | | children: [ |
| | | { |
| | | key: '/index', |
| | | name: '工作台', |
| | | path: '/index/workbench', |
| | | permKey: '/index/workbench', |
| | | children: [] |
| | | }], |
| | | path: '/index', |
| | | permKey: '/index', |
| | | parentKey: '/', |
| | | children: [], |
| | | }, |
| | | { |
| | | key: '/index/rules', |
| | | name: '规章制度', |
| | | path: '/index/rules', |
| | | permKey: '/index/rules', |
| | | parentKey: '/', |
| | | children: [], |
| | | }, |
| | | ], |
| | | }, |
| | | // { |
| | | // key: 'collect', |
| | | // name: '信息采集', |
| | | // path: '/collect', |
| | | // icon: 'user', |
| | | // permKey: 'menu.users', |
| | | // children: [ |
| | | // { |
| | | // key: 'collect_jurisdictionPersonMgt', |
| | | // name: '辖区人口管理', |
| | | // path: '/collect/jurisdictionPersonMgt', |
| | | // permKey: 'collect_jurisdictionPersonMgt', |
| | | // children: [], |
| | | // }, |
| | | // { |
| | | // key: 'collect_personhouseMgt', |
| | | // name: '查人查房管理', |
| | | // path: '/collect/personhouseMgt', |
| | | // permKey: 'collect_personhouseMgt', |
| | | // children: [], |
| | | // } |
| | | // ], |
| | | // }, |
| | | { |
| | | key: 'workOffice', |
| | | name: '办公', |
| | | path: 'http://120.79.193.119:9090/', |
| | | icon: 'desktop', |
| | | permKey: 'workOffice', |
| | | children: [ |
| | | { |
| | | key: 'workOffice', |
| | | name: 'GitBilt', |
| | | path: 'http://120.79.193.119:9090/', |
| | | permKey: 'http://120.79.193.119:9090/', |
| | | children: [], |
| | | parentKey: 'workOffice', |
| | | type: 'open', |
| | | }, |
| | | { |
| | | key: 'workOffice', |
| | | name: 'Teambition', |
| | | path: 'https://account.teambition.com/login/password', |
| | | permKey: 'https://account.teambition.com/login/password', |
| | | children: [], |
| | | parentKey: 'workOffice', |
| | | type: 'open', |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | key: '/document', |
| | | name: '文档管理', |
| | | path: '/document', |
| | | icon: 'file', |
| | | permKey: 'document', |
| | | children: [ |
| | | { |
| | | key: '/document/create', |
| | | name: '新建文档', |
| | | path: '/document/create', |
| | | permKey: '/document/create', |
| | | parentKey: '/document', |
| | | children: [], |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | key: '/logManage', |
| | | name: '系统管理', |
| | | path: '/logManage', |
| | | icon: 'setting', |
| | | permKey: 'logManage', |
| | | children: [ |
| | | { |
| | | key: '/logManage/browseLog', |
| | | name: '浏览日志', |
| | | path: '/logManage/browseLog', |
| | | permKey: '/logManage/browseLog', |
| | | parentKey: '/logManage', |
| | | children: [], |
| | | }, |
| | | { |
| | | key: '/logManage/operLog', |
| | | name: '操作日志', |
| | | path: '/logManage/operLog', |
| | | permKey: '/logManage/operLog', |
| | | 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; |