From 0ee2b26b2f53f2402b86b5e28f5fe3a224cca289 Mon Sep 17 00:00:00 2001 From: Yuanjianghong Date: Mon, 23 Aug 2021 16:49:55 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=8F=9C=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/project/project.js | 3 +-- src/config/router.config.js | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 2 deletions(-) diff --git a/src/api/project/project.js b/src/api/project/project.js index 380a968..3f4aa31 100644 --- a/src/api/project/project.js +++ b/src/api/project/project.js @@ -41,8 +41,7 @@ export function getProjectList (params) { return request({ url: projectApi.list, method: 'get', - data: params, - //Authorization: "eyJhbGciOiJIUzUxMiJ9.eyJsb2dpbl91c2VyX2tleSI6IjdhYTViMGZiLTkyOWQtNDhhZS04ODU1LWJkNzM5MjdlOTNiZCJ9.CZzowaB-w2krGpNttPZBNLfq1mw775Lh-sx1K8onfgSwNzA6bw-P7CqC4vgH29xjDv3ey4zEFDzV9pHnrAGrDA" + data: params }) } // export function menuUpdateStatus (params) { diff --git a/src/config/router.config.js b/src/config/router.config.js index 35c941d..d513eb9 100644 --- a/src/config/router.config.js +++ b/src/config/router.config.js @@ -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 { path: '/form',