|
@@ -43,8 +43,7 @@ import facilityLedger from '@/views/ledger/facility'
|
|
|
import propertyLedger from '@/views/ledger/property'
|
|
|
|
|
|
export default [
|
|
|
- { path: '/', name: '', component: LayoutMain ,children: [
|
|
|
- { path: '', name: 'blank', component: Dasboard }]},
|
|
|
+ { path: '/', name: '', component: LayoutMain, children: [{ path: '', name: 'blank', component: Dasboard }] },
|
|
|
{ path: '/login', name: 'Login', component: Login },
|
|
|
|
|
|
// 报警设置
|
|
@@ -121,8 +120,18 @@ export default [
|
|
|
component: LayoutMain,
|
|
|
children: [
|
|
|
{ path: '', name: 'Dasboard', component: Dasboard },
|
|
|
- { path: 'facility', name: 'facilityLedger', component: facilityLedger },
|
|
|
- { path: 'property', name: 'propertyLedger', component: propertyLedger },
|
|
|
+ {
|
|
|
+ path: 'facility',
|
|
|
+ name: 'facilityLedger',
|
|
|
+ component: facilityLedger,
|
|
|
+ meta: { keepAlive: false, breadcrumbs: [{ label: '台账管理' }, { label: '设备清单' }] }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: 'property',
|
|
|
+ name: 'propertyLedger',
|
|
|
+ component: propertyLedger,
|
|
|
+ meta: { keepAlive: false, breadcrumbs: [{ label: '台账管理' }, { label: '资产清单' }] }
|
|
|
+ },
|
|
|
{ path: 'cenotelist', name: 'Dasboard', component: Dasboard },
|
|
|
{ path: 'dimension', name: 'Dasboard', component: Dasboard },
|
|
|
{ path: 'rubbish', name: 'Dasboard', component: Dasboard },
|
|
@@ -198,6 +207,13 @@ export default [
|
|
|
path: '/system',
|
|
|
name: 'LayoutMain',
|
|
|
component: LayoutMain,
|
|
|
- children: [{ path: 'list', name: 'systemlist', component: systemLedger }]
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: 'list',
|
|
|
+ name: 'systemlist',
|
|
|
+ component: systemLedger,
|
|
|
+ meta: { keepAlive: false, breadcrumbs: [{ label: '系统管理' }, { label: '系统清单' }] }
|
|
|
+ }
|
|
|
+ ]
|
|
|
}
|
|
|
]
|