diff --git a/src/router/index.js b/src/router/index.js index 6fc0ab0..7ab6c1d 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -260,7 +260,77 @@ export const dynamicRoutes = [ meta: { title: '人员详情', activeMenu: '/enterpriseLibrary/personnel', noCache: true } } ] - } + }, + { + path: '/performanceList', + component: Layout, + hidden: true, + permissions: ['enterpriseLibrary:performance:list'], + children: [ + { + path: 'index', + component: () => import('@/views/enterpriseLibrary/performance/index'), + name: 'Performance', + meta: { title: '业绩库列表', activeMenu: '/enterpriseLibrary/performance', noCache: true } + } + ] + }, + { + path: '/performanceForm', + component: Layout, + hidden: true, + permissions: ['enterpriseLibrary:performance:add'], + children: [ + { + path: 'index', + component: () => import('@/views/enterpriseLibrary/performance/components/PerformanceForm'), + name: 'PerformanceForm', + meta: { title: '新增业绩库', activeMenu: '/enterpriseLibrary/performance', noCache: true } + } + ] + }, + { + path: '/performanceDetail', + component: Layout, + hidden: true, + permissions: ['enterpriseLibrary:performance:detail'], + children: [ + { + path: 'index', + component: () => import('@/views/enterpriseLibrary/performance/components/PerformanceDetail'), + name: 'PerformanceDetail', + meta: { title: '业绩库详情', activeMenu: '/enterpriseLibrary/performance', noCache: true } + } + ] + }, + { + path: '/performanceEdit', + component: Layout, + hidden: true, + permissions: ['enterpriseLibrary:performance:edit'], + children: [ + { + path: 'index', + component: () => import('@/views/enterpriseLibrary/performance/components/PerformanceEdit'), + name: 'PerformanceEdit', + meta: { title: '编辑业绩库', activeMenu: '/enterpriseLibrary/performance', noCache: true } + } + ] + }, + { + path: '/financeForm', + component: Layout, + hidden: true, + permissions: ['enterpriseLibrary:finance:add'], + children: [ + { + path: 'index', + component: () => import('@/views/enterpriseLibrary/finance/components/FinanceForm'), + name: 'FinanceForm', + meta: { title: '新增业绩库', activeMenu: '/enterpriseLibrary/finance', noCache: true } + } + ] + }, ]