|
@@ -71,58 +71,57 @@ export const asyncRouterMap = [
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
-
|
|
|
// list
|
|
|
{
|
|
|
path: '/list',
|
|
|
name: 'list',
|
|
|
component: RouteView,
|
|
|
redirect: '/list/table-list',
|
|
|
- meta: { title: '列表页', icon: 'table', permission: [ 'table' ] },
|
|
|
+ meta: { title: 'menu.list', icon: 'table', permission: [ 'table' ] },
|
|
|
children: [
|
|
|
{
|
|
|
path: '/list/table-list/:pageNo([1-9]\\d*)?',
|
|
|
name: 'TableListWrapper',
|
|
|
hideChildrenInMenu: true, // 强制显示 MenuItem 而不是 SubMenu
|
|
|
component: () => import('@/views/list/TableList'),
|
|
|
- meta: { title: '查询表格', keepAlive: true, permission: [ 'table' ] }
|
|
|
+ meta: { title: 'menu.list.table-list', keepAlive: true, permission: [ 'table' ] }
|
|
|
},
|
|
|
{
|
|
|
path: '/list/basic-list',
|
|
|
name: 'BasicList',
|
|
|
component: () => import('@/views/list/BasicList'),
|
|
|
- meta: { title: '标准列表', keepAlive: true, permission: [ 'table' ] }
|
|
|
+ meta: { title: 'menu.list.basic-list', keepAlive: true, permission: [ 'table' ] }
|
|
|
},
|
|
|
{
|
|
|
path: '/list/card',
|
|
|
name: 'CardList',
|
|
|
component: () => import('@/views/list/CardList'),
|
|
|
- meta: { title: '卡片列表', keepAlive: true, permission: [ 'table' ] }
|
|
|
+ meta: { title: 'menu.list.card-list', keepAlive: true, permission: [ 'table' ] }
|
|
|
},
|
|
|
{
|
|
|
path: '/list/search',
|
|
|
name: 'SearchList',
|
|
|
component: () => import('@/views/list/search/SearchLayout'),
|
|
|
redirect: '/list/search/article',
|
|
|
- meta: { title: '搜索列表', keepAlive: true, permission: [ 'table' ] },
|
|
|
+ meta: { title: 'menu.list.search-list', keepAlive: true, permission: [ 'table' ] },
|
|
|
children: [
|
|
|
{
|
|
|
path: '/list/search/article',
|
|
|
name: 'SearchArticles',
|
|
|
component: () => import('../views/list/search/Article'),
|
|
|
- meta: { title: '搜索列表(文章)', permission: [ 'table' ] }
|
|
|
+ meta: { title: 'menu.list.search-list.articles', permission: [ 'table' ] }
|
|
|
},
|
|
|
{
|
|
|
path: '/list/search/project',
|
|
|
name: 'SearchProjects',
|
|
|
component: () => import('../views/list/search/Projects'),
|
|
|
- meta: { title: '搜索列表(项目)', permission: [ 'table' ] }
|
|
|
+ meta: { title: 'menu.list.search-list.projects', permission: [ 'table' ] }
|
|
|
},
|
|
|
{
|
|
|
path: '/list/search/application',
|
|
|
name: 'SearchApplications',
|
|
|
component: () => import('../views/list/search/Applications'),
|
|
|
- meta: { title: '搜索列表(应用)', permission: [ 'table' ] }
|
|
|
+ meta: { title: 'menu.list.search-list.applications', permission: [ 'table' ] }
|
|
|
}
|
|
|
]
|
|
|
}
|