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; }