增加菜单

This commit is contained in:
Yuanjianghong 2021-08-23 16:49:55 +08:00
parent 7f4f7282d4
commit 0ee2b26b2f
2 changed files with 28 additions and 2 deletions

View File

@ -41,8 +41,7 @@ export function getProjectList (params) {
return request({ return request({
url: projectApi.list, url: projectApi.list,
method: 'get', method: 'get',
data: params, data: params
//Authorization: "eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6IjdhYTViMGZiLTkyOWQtNDhhZS04ODU1LWJkNzM5MjdlOTNiZCJ9.CZzowaB-w2krGpNttPZBNLfq1mw775Lh-sx1K8onfgSwNzA6bw-P7CqC4vgH29xjDv3ey4zEFDzV9pHnrAGrDA"
}) })
} }
// export function menuUpdateStatus (params) { // export function menuUpdateStatus (params) {

View File

@ -65,6 +65,33 @@ export const asyncRouterMap = [
} }
] ]
}, },
// 项目管理
{
path: '/project',
redirect: '/project/projectList',
component: RouteView,
meta: { title: '项目管理', icon: bxAnaalyse, permission: [ 'from' ] },
children: [
{
path: '/project/projectList',
name: 'projectList',
component: () => import('@/views/project/ProjectList'),
meta: { title: '自主项目', keepAlive: true, permission: [ 'form' ] }
},
{
path: '/form/step-form',
name: 'StepForm',
component: () => import('@/views/form/stepForm/StepForm'),
meta: { title: '系统推荐', keepAlive: true, permission: [ 'form' ] }
},
{
path: '/form/advanced-form',
name: 'AdvanceForm',
component: () => import('@/views/form/advancedForm/AdvancedForm'),
meta: { title: '终端培训', keepAlive: true, permission: [ 'form' ] }
}
]
},
// forms // forms
{ {
path: '/form', path: '/form',