From 54e23abb1db88b476a8438b5dec1b7bbf99c9d84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B0=B4=E8=90=BD=28YangLei=29?= Date: Sat, 3 Jul 2021 16:47:25 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=8E=BB=E6=8E=89=E6=97=A0=E7=94=A8?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=E5=92=8C=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../frame/view/template/BlankTemplateView.vue | 14 ------- src/pages/frame/view/template/index.js | 3 +- src/router/async/router.map.js | 2 - src/router/config.js | 38 +++++++++---------- 4 files changed, 18 insertions(+), 39 deletions(-) delete mode 100644 src/pages/frame/view/template/BlankTemplateView.vue diff --git a/src/pages/frame/view/template/BlankTemplateView.vue b/src/pages/frame/view/template/BlankTemplateView.vue deleted file mode 100644 index 310611e..0000000 --- a/src/pages/frame/view/template/BlankTemplateView.vue +++ /dev/null @@ -1,14 +0,0 @@ - - - diff --git a/src/pages/frame/view/template/index.js b/src/pages/frame/view/template/index.js index 28e7757..b4816a3 100644 --- a/src/pages/frame/view/template/index.js +++ b/src/pages/frame/view/template/index.js @@ -1,5 +1,4 @@ -import BlankTemplateView from './BlankTemplateView'; import PageTemplateView from './PageTemplateView'; import TabsTemplateView from './TabsTemplateView'; -export { BlankTemplateView, PageTemplateView, TabsTemplateView } +export { PageTemplateView, TabsTemplateView }; diff --git a/src/router/async/router.map.js b/src/router/async/router.map.js index 3e2f107..c015113 100644 --- a/src/router/async/router.map.js +++ b/src/router/async/router.map.js @@ -1,7 +1,6 @@ // 视图组件 const view = { tabs: () => import('@/pages/frame/view/template/TabsTemplateView'), - blank: () => import('@/pages/frame/view/template/BlankTemplateView'), page: () => import('@/pages/frame/view/template/PageTemplateView'), }; @@ -36,7 +35,6 @@ const routerMap = { }, dashboard: { name: 'Dashboard', - component: view.blank, }, workbench: { name: '工作台', diff --git a/src/router/config.js b/src/router/config.js index 50ec493..26b3658 100644 --- a/src/router/config.js +++ b/src/router/config.js @@ -1,4 +1,4 @@ -import { BlankTemplateView, PageTemplateView, TabsTemplateView } from '@/pages/frame/view/template'; +import { PageTemplateView, TabsTemplateView } from '@/pages/frame/view/template'; // 路由配置 const options = { @@ -42,7 +42,6 @@ const options = { meta: { icon: 'dashboard', }, - component: BlankTemplateView, children: [ { path: 'workbench', @@ -62,7 +61,7 @@ const options = { ], }, { - path: 'system_management', + path: 'system', name: '系统管理', meta: { icon: 'setting', @@ -73,29 +72,28 @@ const options = { component: PageTemplateView, children: [ { - path: 'menu_management', + path: 'menu', name: '菜单管理', component: () => import('@/pages/system/view/menu'), }, { - path: 'organization_management', + path: 'organization', name: '组织管理', - component: BlankTemplateView, children: [ { - path: 'job_management', + path: 'job', name: '岗位管理', component: () => import('@/pages/system/view/organization/jobsmanagement/Jobs.vue'), }, { - path: 'user_management', + path: 'user', name: '用户管理', component: () => import('@/pages/system/view/organization/usermanagement/User.vue'), }, { - path: 'org_management', + path: 'org', name: '机构管理', component: () => import('@/pages/system/view/organization/orgmanagement/Org.vue'), @@ -103,23 +101,22 @@ const options = { ], }, { - path: 'role_management', + path: 'role', name: '角色管理', component: () => import('@/pages/system/view/role'), }, { - path: 'parameter_management', + path: 'parameter', name: '参数管理', - component: BlankTemplateView, children: [ { - path: 'business_management', + path: 'business', name: '业务参数', component: () => import('@/pages/system/view/parameter/business/index.vue'), }, { - path: 'operation_management', + path: 'operation', name: '运维参数', component: () => import('@/pages/system/view/parameter/operation/index.vue'), @@ -127,31 +124,30 @@ const options = { ], }, { - path: 'log_management', + path: 'log', name: '日志管理', - component: BlankTemplateView, children: [ { - path: 'login_log', + path: 'login', name: '登录日志', - component: () => import('@/pages/system/view/log/login_log/index.vue'), + component: () => import('@/pages/system/view/log/login_log'), }, { - path: 'operation_log', + path: 'operation', name: '操作日志', component: () => import('@/pages/system/view/log/operation/index.vue'), }, ], }, { - path: 'task_management', + path: 'task', name: '任务管理', component: () => import('@/pages/system/view/task/index.vue'), }, ], }, { - path: 'user_center', + path: 'user', name: '个人中心', meta: { icon: 'user' }, component: () => import('@/pages/user/index.vue'), -- GitLab