|
@@ -98,7 +98,35 @@ export const constantRoutes = [
|
|
|
path: 'algoRun/:algoID',
|
|
|
component: () => import('@/views/algoManager/algorithm/algoRun.vue'),
|
|
|
name: 'AlgoRun',
|
|
|
- meta: { title: '算法运行', icon: 'user' }
|
|
|
+ meta: { title: '算法运行', icon: 'user',activeMenu: '/algorithm/algorithm' }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/algoManager',
|
|
|
+ component: Layout,
|
|
|
+ hidden: true,
|
|
|
+ redirect: 'noredirect',
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: 'algoRun2/:algoID',
|
|
|
+ component: () => import('@/views/algoManager/algorithm/algoRun.vue'),
|
|
|
+ name: 'AlgoRun',
|
|
|
+ meta: { title: '算法运行', icon: 'user',activeMenu: '/algorithm/algorithm2' }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/algoManager',
|
|
|
+ component: Layout,
|
|
|
+ hidden: true,
|
|
|
+ redirect: 'noredirect',
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: 'algoRun3/:algoID',
|
|
|
+ component: () => import('@/views/algoManager/algorithm/algoRun.vue'),
|
|
|
+ name: 'AlgoRun',
|
|
|
+ meta: { title: '算法运行', icon: 'user',activeMenu: '/algorithm/algorithm3' }
|
|
|
}
|
|
|
]
|
|
|
},
|
|
@@ -112,7 +140,36 @@ export const constantRoutes = [
|
|
|
path: 'result/:resultID',
|
|
|
component: () => import('@/views/algoManager/result'),
|
|
|
name: 'Result',
|
|
|
- meta: { title: '查看结果', icon: 'user' }
|
|
|
+ meta: { title: '查看结果', icon: 'user',activeMenu: '/algorithm/algorithm' }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/result',
|
|
|
+ component: Layout,
|
|
|
+ hidden: true,
|
|
|
+ redirect: 'noredirect',
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: 'result2/:resultID',
|
|
|
+ component: () => import('@/views/algoManager/result'),
|
|
|
+ name: 'Result2',
|
|
|
+ meta: { title: '查看结果', icon: 'user',activeMenu: '/algorithm/algorithm2' }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+
|
|
|
+ {
|
|
|
+ path: '/result',
|
|
|
+ component: Layout,
|
|
|
+ hidden: true,
|
|
|
+ redirect: 'noredirect',
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: 'result3/:resultID',
|
|
|
+ component: () => import('@/views/algoManager/result'),
|
|
|
+ name: 'Result3',
|
|
|
+ meta: { title: '查看结果', icon: 'user',activeMenu: '/algorithm/algorithm3' }
|
|
|
}
|
|
|
]
|
|
|
},
|