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',