From f3c5f315257062c75d710fa7d88e839da70eee28 Mon Sep 17 00:00:00 2001 From: LHD_HY <2872546851@qq.com> Date: Fri, 24 Oct 2025 18:33:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=9A=E7=BB=A9=E5=BA=93=E5=A2=9E=E5=88=A0?= =?UTF-8?q?=E6=94=B9=E6=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 72 ++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 71 insertions(+), 1 deletion(-) 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 } + } + ] + }, ]