From ee198908383a75144bbeba87bdb811b8919480ee Mon Sep 17 00:00:00 2001 From: qinjie Date: Fri, 27 Aug 2021 18:01:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=B3=BB=E7=BB=9F=E9=A2=9C?= =?UTF-8?q?=E8=89=B2=E6=96=B9=E6=A1=88=EF=BC=8C=E6=96=B0=E5=A2=9E=E6=A1=A3?= =?UTF-8?q?=E6=A1=88=E7=AE=A1=E7=90=86=E8=B7=AF=E7=94=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config/defaultSettings.js | 2 +- src/config/router.config.js | 17 ++++++++++++++++- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/src/config/defaultSettings.js b/src/config/defaultSettings.js index 91268d5..6801019 100644 --- a/src/config/defaultSettings.js +++ b/src/config/defaultSettings.js @@ -14,7 +14,7 @@ export default { navTheme: 'dark', // theme for nav menu - primaryColor: '#5555ff', // primary color of ant design + primaryColor: '#1890ff', // primary color of ant design layout: 'topmenu', // nav menu position: `sidemenu` or `topmenu` contentWidth: 'Fluid', // layout of content: `Fluid` or `Fixed`, only works when layout is topmenu fixedHeader: false, // sticky header diff --git a/src/config/router.config.js b/src/config/router.config.js index da4b3a5..9dc1933 100644 --- a/src/config/router.config.js +++ b/src/config/router.config.js @@ -88,7 +88,7 @@ export const asyncRouterMap = [ path: '/project/add', name: 'ProjectForm', component: () => import('@/views/project/ProjectForm'), - meta: { title: '新增项目', keepAlive: true, permission: ['form'], show: false} + meta: { title: '新增项目', keepAlive: true, permission: ['form'], show: false } }, { path: '/project/unitSelect', @@ -137,6 +137,21 @@ export const asyncRouterMap = [ } ] }, + // 档案管理 + { + path: "/archives", + redirect: "/archives/user", + component: RouteView, + meta: { title: '档案管理', icon: 'profile', permission: ['form'] }, + children: [ + { + path: "/archives/user", + name: "archivesUser", + component: () => import('@/views/archives/user/Index'), + meta: { title: '人员档案', keepAlive: true, permission: ['form'] } + } + ] + }, // forms { path: '/form',