|
@@ -91,6 +91,7 @@ import ElasticSearchInfo from "./views/bus/ElasticSearchInfo.vue" |
|
@@ -91,6 +91,7 @@ import ElasticSearchInfo from "./views/bus/ElasticSearchInfo.vue" |
91
|
import RouterBatch from "./views/bus/RouterBatch.vue"
|
91
|
import RouterBatch from "./views/bus/RouterBatch.vue"
|
92
|
import MessageManagement from "./views/bus/MessageManagement.vue"
|
92
|
import MessageManagement from "./views/bus/MessageManagement.vue"
|
93
|
import RouterManage from "./views/bus/RouterManage"
|
93
|
import RouterManage from "./views/bus/RouterManage"
|
|
|
94
|
+
|
94
|
//组件练习
|
95
|
//组件练习
|
95
|
//import Page7 from "./views/nav3/Page7.vue"
|
96
|
//import Page7 from "./views/nav3/Page7.vue"
|
96
|
|
97
|
|
|
@@ -112,14 +113,13 @@ let routes = [ |
|
@@ -112,14 +113,13 @@ let routes = [ |
112
|
},
|
113
|
},
|
113
|
{
|
114
|
{
|
114
|
path: '/',
|
115
|
path: '/',
|
115
|
- name: "主页",
|
|
|
116
|
- redirect: '/main',
|
116
|
+ redirect: '/login',
|
117
|
hidden: true
|
117
|
hidden: true
|
118
|
},
|
118
|
},
|
119
|
{
|
119
|
{
|
120
|
path: '/',
|
120
|
path: '/',
|
121
|
component: Home,
|
121
|
component: Home,
|
122
|
- name: 'INDEX',
|
122
|
+ name: '主页',
|
123
|
leaf: true,
|
123
|
leaf: true,
|
124
|
iconCls: 'el-icon-menu',
|
124
|
iconCls: 'el-icon-menu',
|
125
|
children: [
|
125
|
children: [
|
|
@@ -137,21 +137,21 @@ let routes = [ |
|
@@ -137,21 +137,21 @@ let routes = [ |
137
|
// ]
|
137
|
// ]
|
138
|
// },
|
138
|
// },
|
139
|
// { path: '/test', component: Main },
|
139
|
// { path: '/test', component: Main },
|
140
|
- // {
|
|
|
141
|
- // path: '/admin',
|
|
|
142
|
- // component: Home,
|
|
|
143
|
- // name: '系统设置',
|
|
|
144
|
- // iconCls: 'el-icon-setting',//图标样式class
|
|
|
145
|
- // children: [
|
|
|
146
|
- // {path: '/user', component: User, name: '用户管理'},
|
|
|
147
|
- // {path: '/role', component: Role, name: '组织机构'},
|
|
|
148
|
- // {path: '/perm', component: Perm, name: '权限管理'},
|
|
|
149
|
- // {path: '/log', component: LOG, name: '系统日志'},
|
|
|
150
|
- // {path: '/department', component: Department, name: '部门管理'},
|
|
|
151
|
- // {path: '/company', component: Company, name: '公司管理'},
|
|
|
152
|
- // {path: '/group', component: Group, name: '集团管理'}
|
|
|
153
|
- // ]
|
|
|
154
|
- // },
|
140
|
+ {
|
|
|
141
|
+ path: '/admin',
|
|
|
142
|
+ component: Home,
|
|
|
143
|
+ name: '系统设置',
|
|
|
144
|
+ iconCls: 'el-icon-setting',//图标样式class
|
|
|
145
|
+ children: [
|
|
|
146
|
+ {path: '/user', component: User, name: '用户管理'},
|
|
|
147
|
+ {path: '/role', component: Role, name: '组织机构'},
|
|
|
148
|
+ {path: '/perm', component: Perm, name: '权限管理'},
|
|
|
149
|
+ {path: '/log', component: LOG, name: '系统日志'},
|
|
|
150
|
+ {path: '/department', component: Department, name: '部门管理'},
|
|
|
151
|
+ {path: '/company', component: Company, name: '公司管理'},
|
|
|
152
|
+ {path: '/group', component: Group, name: '集团管理'}
|
|
|
153
|
+ ]
|
|
|
154
|
+ },
|
155
|
|
155
|
|
156
|
{
|
156
|
{
|
157
|
path: '/bus',
|
157
|
path: '/bus',
|
|
@@ -159,7 +159,7 @@ let routes = [ |
|
@@ -159,7 +159,7 @@ let routes = [ |
159
|
name: '消息控制中心',
|
159
|
name: '消息控制中心',
|
160
|
iconCls: 'el-icon-message',
|
160
|
iconCls: 'el-icon-message',
|
161
|
children: [
|
161
|
children: [
|
162
|
- // {path: '/userInfo', component: UserInfo, name: '用户关系管理'},
|
162
|
+ {path: '/userInfo', component: UserInfo, name: '用户关系管理'},
|
163
|
{path: '/server', component: Server, name: '服务器管理'},
|
163
|
{path: '/server', component: Server, name: '服务器管理'},
|
164
|
// {path: '/host', component: VirtualHost, name: '虚拟主机管理'},
|
164
|
// {path: '/host', component: VirtualHost, name: '虚拟主机管理'},
|
165
|
{path: '/queue', component: Queue, name: '队列管理'},
|
165
|
{path: '/queue', component: Queue, name: '队列管理'},
|
|
@@ -185,6 +185,15 @@ let routes = [ |
|
@@ -185,6 +185,15 @@ let routes = [ |
185
|
// {path: '/exchangeView', component: ExchangeView, name: '交换机监控'},
|
185
|
// {path: '/exchangeView', component: ExchangeView, name: '交换机监控'},
|
186
|
]
|
186
|
]
|
187
|
},
|
187
|
},
|
|
|
188
|
+ // {
|
|
|
189
|
+ // path: '/nav3',
|
|
|
190
|
+ // component: Home,
|
|
|
191
|
+ // name: '组件练习',
|
|
|
192
|
+ // iconCls: 'el-icon-view',
|
|
|
193
|
+ // children: [
|
|
|
194
|
+ // {path: '/page7', component: Page7, name: '组件'},
|
|
|
195
|
+ // ]
|
|
|
196
|
+ // },
|
188
|
|
197
|
|
189
|
|
198
|
|
190
|
// {
|
199
|
// {
|