@@ -29,7 +29,7 @@ export const asyncRouterMap = [
29
29
{
30
30
path : 'https://www.baidu.com/' ,
31
31
name : 'Monitor' ,
32
- meta : { title : '监控页' , target : '_blank' }
32
+ meta : { title : '监控页(外部) ' , target : '_blank' }
33
33
} ,
34
34
{
35
35
path : '/dashboard/workplace' ,
@@ -83,42 +83,6 @@ export const asyncRouterMap = [
83
83
component : ( ) => import ( '@/views/list/TableList' ) ,
84
84
meta : { title : '查询表格' , keepAlive : true , permission : [ 'table' ] }
85
85
} ,
86
- {
87
- path : '/list/tree-list' ,
88
- name : 'TreeList' ,
89
- component : ( ) => import ( '@/views/list/TreeList' ) ,
90
- meta : { title : '树目录表格' , keepAlive : true , permission : [ 'table' ] }
91
- } ,
92
- {
93
- path : '/list/edit-table' ,
94
- name : 'EditList' ,
95
- component : ( ) => import ( '@/views/list/TableInnerEditList' ) ,
96
- meta : { title : '内联编辑表格' , keepAlive : true , permission : [ 'table' ] }
97
- } ,
98
- {
99
- path : '/list/user-list' ,
100
- name : 'UserList' ,
101
- component : ( ) => import ( '@/views/list/UserList' ) ,
102
- meta : { title : '用户列表' , keepAlive : true , permission : [ 'table' ] }
103
- } ,
104
- {
105
- path : '/list/role-list' ,
106
- name : 'RoleList' ,
107
- component : ( ) => import ( '@/views/list/RoleList' ) ,
108
- meta : { title : '角色列表' , keepAlive : true , permission : [ 'table' ] }
109
- } ,
110
- {
111
- path : '/list/system-role' ,
112
- name : 'SystemRole' ,
113
- component : ( ) => import ( '@/views/role/RoleList' ) ,
114
- meta : { title : '角色列表2' , keepAlive : true , permission : [ 'table' ] }
115
- } ,
116
- {
117
- path : '/list/permission-list' ,
118
- name : 'PermissionList' ,
119
- component : ( ) => import ( '@/views/list/PermissionList' ) ,
120
- meta : { title : '权限列表' , keepAlive : true , permission : [ 'table' ] }
121
- } ,
122
86
{
123
87
path : '/list/basic-list' ,
124
88
name : 'BasicList' ,
@@ -305,7 +269,51 @@ export const asyncRouterMap = [
305
269
path : '/other/icon-selector' ,
306
270
name : 'TestIconSelect' ,
307
271
component : ( ) => import ( '@/views/other/IconSelectorView' ) ,
308
- meta : { title : 'IconSelector' , keepAlive : true , permission : [ 'dashboard' ] }
272
+ meta : { title : 'IconSelector' , icon : 'tool' , keepAlive : true , permission : [ 'dashboard' ] }
273
+ } ,
274
+ {
275
+ path : '/other/list' ,
276
+ component : RouteView ,
277
+ meta : { title : '业务布局' , icon : 'layout' , permission : [ 'support' ] } ,
278
+ redirect : '/other/list/tree-list' ,
279
+ children : [
280
+ {
281
+ path : '/other/list/tree-list' ,
282
+ name : 'TreeList' ,
283
+ component : ( ) => import ( '@/views/other/TreeList' ) ,
284
+ meta : { title : '树目录表格' , keepAlive : true }
285
+ } ,
286
+ {
287
+ path : '/other/list/edit-table' ,
288
+ name : 'EditList' ,
289
+ component : ( ) => import ( '@/views/other/TableInnerEditList' ) ,
290
+ meta : { title : '内联编辑表格' , keepAlive : true }
291
+ } ,
292
+ {
293
+ path : '/other/list/user-list' ,
294
+ name : 'UserList' ,
295
+ component : ( ) => import ( '@/views/other/UserList' ) ,
296
+ meta : { title : '用户列表' , keepAlive : true }
297
+ } ,
298
+ {
299
+ path : '/other/list/role-list' ,
300
+ name : 'RoleList' ,
301
+ component : ( ) => import ( '@/views/other/RoleList' ) ,
302
+ meta : { title : '角色列表' , keepAlive : true }
303
+ } ,
304
+ {
305
+ path : '/other/list/system-role' ,
306
+ name : 'SystemRole' ,
307
+ component : ( ) => import ( '@/views/role/RoleList' ) ,
308
+ meta : { title : '角色列表2' , keepAlive : true }
309
+ } ,
310
+ {
311
+ path : '/other/list/permission-list' ,
312
+ name : 'PermissionList' ,
313
+ component : ( ) => import ( '@/views/other/PermissionList' ) ,
314
+ meta : { title : '权限列表' , keepAlive : true }
315
+ }
316
+ ]
309
317
}
310
318
]
311
319
}
0 commit comments