From 5fa91a72406d2e6b30694e302725840eda20a8ef Mon Sep 17 00:00:00 2001 From: cwchen <1048842385@qq.com> Date: Mon, 27 Oct 2025 16:49:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=80=E6=9C=AF=E6=96=B9=E6=A1=88=E5=BA=93?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 42 +++++++++++++++---- .../enterpriseLibrary/personnel/index.vue | 2 +- 2 files changed, 36 insertions(+), 8 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 37e31e4..0bb2521 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -229,7 +229,7 @@ export const dynamicRoutes = [ path: 'index', component: () => import('@/views/enterpriseLibrary/personnel/index'), name: 'Personnel', - meta: { title: '人员库', activeMenu: '/enterpriseLibrary/personnel', noCache: true } + meta: { title: '人员库', activeMenu: '/enterpriseLibrary/enterprise', noCache: true } } ] }, @@ -243,7 +243,7 @@ export const dynamicRoutes = [ path: 'index', component: () => import('@/views/enterpriseLibrary/personnel/components/PersonnelForm'), name: 'PersonnelForm', - meta: { title: '新增人员', activeMenu: '/enterpriseLibrary/personnel', noCache: true } + meta: { title: '新增人员', activeMenu: '/enterpriseLibrary/enterprise', noCache: true } } ] }, @@ -257,7 +257,7 @@ export const dynamicRoutes = [ path: 'index', component: () => import('@/views/enterpriseLibrary/personnel/components/PersonnelForm'), name: 'PersonnelEditForm', - meta: { title: '编辑人员', activeMenu: '/enterpriseLibrary/personnel', noCache: true } + meta: { title: '编辑人员', activeMenu: '/enterpriseLibrary/enterprise', noCache: true } } ] }, @@ -271,7 +271,7 @@ export const dynamicRoutes = [ path: 'index', component: () => import('@/views/enterpriseLibrary/personnel/components/PersonnelDetail'), name: 'PersonnelDetail', - meta: { title: '人员详情', activeMenu: '/enterpriseLibrary/personnel', noCache: true } + meta: { title: '人员详情', activeMenu: '/enterpriseLibrary/enterprise', noCache: true } } ] }, @@ -285,7 +285,7 @@ export const dynamicRoutes = [ path: 'index', component: () => import('@/views/enterpriseLibrary/technical/index'), name: 'Technical', - meta: { title: '技术方案库', activeMenu: '/enterpriseLibrary/technical', noCache: true } + meta: { title: '技术方案库', activeMenu: '/enterpriseLibrary/enterprise', noCache: true } } ] }, @@ -299,7 +299,35 @@ export const dynamicRoutes = [ path: 'index', component: () => import('@/views/enterpriseLibrary/technical/components/TechnicalForm'), name: 'TechnicalAdd', - meta: { title: '新增方案', activeMenu: '/enterpriseLibrary/technical', noCache: true } + meta: { title: '新增方案', activeMenu: '/enterpriseLibrary/enterprise', noCache: true } + } + ] + }, + { + path: '/technicalEdit', + component: Layout, + hidden: true, + permissions: ['enterpriseLibrary:technical:edit'], + children: [ + { + path: 'index', + component: () => import('@/views/enterpriseLibrary/technical/components/TechnicalForm'), + name: 'TechnicalAdd', + meta: { title: '修改方案', activeMenu: '/enterpriseLibrary/enterprise', noCache: true } + } + ] + }, + { + path: '/technicalDetail', + component: Layout, + hidden: true, + permissions: ['enterpriseLibrary:technical:detail'], + children: [ + { + path: 'index', + component: () => import('@/views/enterpriseLibrary/technical/components/TechnicalForm'), + name: 'TechnicalAdd', + meta: { title: '方案详情', activeMenu: '/enterpriseLibrary/enterprise', noCache: true } } ] }, @@ -313,7 +341,7 @@ export const dynamicRoutes = [ path: 'index', component: () => import('@/views/enterpriseLibrary/tool/index'), name: 'Tool', - meta: { title: '工器具库', activeMenu: '/enterpriseLibrary/tool', noCache: true } + meta: { title: '工器具库', activeMenu: '/enterpriseLibrary/enterprise', noCache: true } } ] }, diff --git a/src/views/enterpriseLibrary/personnel/index.vue b/src/views/enterpriseLibrary/personnel/index.vue index b200091..01a0526 100644 --- a/src/views/enterpriseLibrary/personnel/index.vue +++ b/src/views/enterpriseLibrary/personnel/index.vue @@ -451,7 +451,7 @@ export default { } span { - font-size: 16px; + font-size: 14px; white-space: nowrap; }