diff --git a/src/pages/frame/view/template/BlankTemplateView.vue b/src/pages/frame/view/template/BlankTemplateView.vue
deleted file mode 100644
index 310611e241b8abee31c7482511877bdd104b0072..0000000000000000000000000000000000000000
--- 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 28e77574e9e824dfd46ad2d1cf2e0653e370ab09..b4816a390a3bf7afe2a0c05485676edd408e1e14 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 3e2f10751e630d7cb1b8d4e089a39f7b3fee1b81..c015113d14ded991e4c507426b50d8ca577481f8 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 50ec493f93b22e431f8d12101a29a976f4bb2aaf..26b36584bdef171c92e6acff66a36a64b97c9f3e 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'),