|
|
@@ -233,7 +233,15 @@ export default {
|
|
|
getMenus() {
|
|
|
let menus = [
|
|
|
{ active: false, name: '数据可视化', path: '/chart1', icon: 'fas fa-globe-asia' },
|
|
|
- { active: false, name: '数据输出', path: '/chart2', icon: 'fas fa-chart-line' },
|
|
|
+ {
|
|
|
+ active: false,
|
|
|
+ name: '数据统计',
|
|
|
+ icon: 'fas fa-chart-line',
|
|
|
+ children: [
|
|
|
+ { active: false, name: '描述性统计', path: '/chart-pie', icon: 'fas fa-chart-bar' },
|
|
|
+ { active: false, name: '其他统计', path: '/chart2', icon: 'fas fa-chart-pie' }
|
|
|
+ ]
|
|
|
+ },
|
|
|
{ active: false, name: '数据分析', path: '/chart3', icon: 'fas fa-chart-area' },
|
|
|
{
|
|
|
active: false,
|
|
|
@@ -260,16 +268,16 @@ export default {
|
|
|
{ active: false, name: '基地分布', path: '/baseStatList', icon: 'fas fa-bars' },
|
|
|
{ active: false, name: '技术交易', path: '/techTradeStatList', icon: 'fas fa-bars' }
|
|
|
]
|
|
|
- },
|
|
|
- {
|
|
|
- active: false,
|
|
|
- name: '指标体系管理',
|
|
|
- icon: 'fas fa-bars',
|
|
|
- children: [
|
|
|
- { active: false, name: '指标列表', path: '/metricList', icon: 'fas fa-bars' },
|
|
|
- { active: false, name: '指标编辑', path: '/metricEdit', icon: 'fas fa-bars' }
|
|
|
- ]
|
|
|
}
|
|
|
+ // {
|
|
|
+ // active: false,
|
|
|
+ // name: '指标体系管理',
|
|
|
+ // icon: 'fas fa-bars',
|
|
|
+ // children: [
|
|
|
+ // { active: false, name: '指标列表', path: '/metricList', icon: 'fas fa-bars' },
|
|
|
+ // { active: false, name: '指标编辑', path: '/metricEdit', icon: 'fas fa-bars' }
|
|
|
+ // ]
|
|
|
+ // }
|
|
|
];
|
|
|
function setId(parentId, menus) {
|
|
|
menus.forEach((i, idx) => {
|