feat(src/router/modules/reagent.js): 子路由点击后,高亮主路由

duizhaopin_ui
duan 2 years ago
parent 2879b65997
commit 42ff14adc1

@ -36,56 +36,56 @@ const reagentRouter = [
name: 'StoreInfo', name: 'StoreInfo',
component: () => import('@/views/reagent/report/storeinfo/index'), component: () => import('@/views/reagent/report/storeinfo/index'),
hidden: true, hidden: true,
meta: { title: '库存信息总览', icon: '报表统计', classification: 'reagent' } meta: { title: '库存信息总览', icon: '报表统计', classification: 'reagent', activeMenu: '/reagent/report/index' }
}, },
{ {
path: 'reagentinfo', path: 'reagentinfo',
name: 'ReagentInfo', name: 'ReagentInfo',
component: () => import('@/views/reagent/report/reagentinfo/index'), component: () => import('@/views/reagent/report/reagentinfo/index'),
hidden: true, hidden: true,
meta: { title: '试剂信息详情', icon: '报表统计', classification: 'reagent' } meta: { title: '试剂信息详情', icon: '报表统计', classification: 'reagent', activeMenu: '/reagent/report/index' }
}, },
{ {
path: 'warehousinginfo', path: 'warehousinginfo',
name: 'WarehousingInfo', name: 'WarehousingInfo',
component: () => import('@/views/reagent/report/warehousinginfo/index'), component: () => import('@/views/reagent/report/warehousinginfo/index'),
hidden: true, hidden: true,
meta: { title: '入库信息查询', icon: '报表统计', classification: 'reagent' } meta: { title: '入库信息查询', icon: '报表统计', classification: 'reagent', activeMenu: '/reagent/report/index' }
}, },
{ {
path: 'inventoryconsuminfo', path: 'inventoryconsuminfo',
name: 'InventoryConsumInfo', name: 'InventoryConsumInfo',
component: () => import('@/views/reagent/report/inventoryconsum/index'), component: () => import('@/views/reagent/report/inventoryconsum/index'),
hidden: true, hidden: true,
meta: { title: '库存消耗', icon: '报表统计', classification: 'reagent' } meta: { title: '库存消耗', icon: '报表统计', classification: 'reagent', activeMenu: '/reagent/report/index' }
}, },
{ {
path: 'reagentconsuminfo', path: 'reagentconsuminfo',
name: 'ReagentConsumInfo', name: 'ReagentConsumInfo',
component: () => import('@/views/reagent/report/reagentconsum/index'), component: () => import('@/views/reagent/report/reagentconsum/index'),
hidden: true, hidden: true,
meta: { title: '试剂消耗', icon: '报表统计', classification: 'reagent' } meta: { title: '试剂消耗', icon: '报表统计', classification: 'reagent', activeMenu: '/reagent/report/index' }
}, },
{ {
path: 'userconsuminfo', path: 'userconsuminfo',
name: 'UserConsumInfo', name: 'UserConsumInfo',
component: () => import('@/views/reagent/report/userconsum/index'), component: () => import('@/views/reagent/report/userconsum/index'),
hidden: true, hidden: true,
meta: { title: '人员用量消耗', icon: '报表统计', classification: 'reagent' } meta: { title: '人员用量消耗', icon: '报表统计', classification: 'reagent', activeMenu: '/reagent/report/index' }
}, },
{ {
path: 'usefrequencyinfo', path: 'usefrequencyinfo',
name: 'UseFrequencyInfo', name: 'UseFrequencyInfo',
component: () => import('@/views/reagent/report/usefrequency/index'), component: () => import('@/views/reagent/report/usefrequency/index'),
hidden: true, hidden: true,
meta: { title: '使用频率', icon: '报表统计', classification: 'reagent' } meta: { title: '使用频率', icon: '报表统计', classification: 'reagent', activeMenu: '/reagent/report/index' }
}, },
{ {
path: 'recordinfo/:t', path: 'recordinfo/:t',
name: 'RecordInfo', name: 'RecordInfo',
component: () => import('@/views/reagent/report/record/index'), component: () => import('@/views/reagent/report/record/index'),
hidden: true, hidden: true,
meta: { title: '记录', icon: '报表统计', classification: 'reagent' } meta: { title: '记录', icon: '报表统计', classification: 'reagent', activeMenu: '/reagent/report/index' }
} }
] ]
}, },

Loading…
Cancel
Save