修改系统颜色方案,新增档案管理路由

This commit is contained in:
qinjie 2021-08-27 18:01:25 +08:00
parent ece529ec06
commit ee19890838
2 changed files with 17 additions and 2 deletions

View File

@ -14,7 +14,7 @@
export default { export default {
navTheme: 'dark', // theme for nav menu 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` layout: 'topmenu', // nav menu position: `sidemenu` or `topmenu`
contentWidth: 'Fluid', // layout of content: `Fluid` or `Fixed`, only works when layout is topmenu contentWidth: 'Fluid', // layout of content: `Fluid` or `Fixed`, only works when layout is topmenu
fixedHeader: false, // sticky header fixedHeader: false, // sticky header

View File

@ -88,7 +88,7 @@ export const asyncRouterMap = [
path: '/project/add', path: '/project/add',
name: 'ProjectForm', name: 'ProjectForm',
component: () => import('@/views/project/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', 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 // forms
{ {
path: '/form', path: '/form',