|
|
@@ -28,8 +28,16 @@ module.exports = [
|
|
|
name: 'analysis',
|
|
|
component: './Dashboard/Analysis',
|
|
|
},
|
|
|
- { path: '/dashboard/monitor', name: 'monitor', component: './Dashboard/Monitor' },
|
|
|
- { path: '/dashboard/workplace', name: 'workplace', component: './Dashboard/Workplace' },
|
|
|
+ {
|
|
|
+ path: '/dashboard/monitor',
|
|
|
+ name: 'monitor',
|
|
|
+ component: './Dashboard/Monitor',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/dashboard/workplace',
|
|
|
+ name: 'workplace',
|
|
|
+ component: './Dashboard/Workplace',
|
|
|
+ },
|
|
|
],
|
|
|
},
|
|
|
// forms
|
|
|
@@ -84,16 +92,36 @@ module.exports = [
|
|
|
icon: 'table',
|
|
|
name: 'list',
|
|
|
routes: [
|
|
|
- { path: '/list/table-list', name: 'searchtable', component: './List/TableList' },
|
|
|
- { path: '/list/basic-list', name: 'basiclist', component: './List/BasicList' },
|
|
|
- { path: '/list/card-list', name: 'cardlist', component: './List/CardList' },
|
|
|
+ {
|
|
|
+ path: '/list/table-list',
|
|
|
+ name: 'searchtable',
|
|
|
+ component: './List/TableList',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/list/basic-list',
|
|
|
+ name: 'basiclist',
|
|
|
+ component: './List/BasicList',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/list/card-list',
|
|
|
+ name: 'cardlist',
|
|
|
+ component: './List/CardList',
|
|
|
+ },
|
|
|
{
|
|
|
path: '/list/search',
|
|
|
name: 'searchlist',
|
|
|
component: './List/List',
|
|
|
routes: [
|
|
|
- { path: '/list/search/articles', name: 'articles', component: './List/Articles' },
|
|
|
- { path: '/list/search/projects', name: 'projects', component: './List/Projects' },
|
|
|
+ {
|
|
|
+ path: '/list/search/articles',
|
|
|
+ name: 'articles',
|
|
|
+ component: './List/Articles',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/list/search/projects',
|
|
|
+ name: 'projects',
|
|
|
+ component: './List/Projects',
|
|
|
+ },
|
|
|
{
|
|
|
path: '/list/search/applications',
|
|
|
name: 'applications',
|
|
|
@@ -109,8 +137,16 @@ module.exports = [
|
|
|
icon: 'profile',
|
|
|
routes: [
|
|
|
// profile
|
|
|
- { path: '/profile/basic', name: 'basic', component: './Profile/BasicProfile' },
|
|
|
- { path: '/profile/advanced', name: 'advanced', component: './Profile/AdvancedProfile' },
|
|
|
+ {
|
|
|
+ path: '/profile/basic',
|
|
|
+ name: 'basic',
|
|
|
+ component: './Profile/BasicProfile',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/profile/advanced',
|
|
|
+ name: 'advanced',
|
|
|
+ component: './Profile/AdvancedProfile',
|
|
|
+ },
|
|
|
],
|
|
|
},
|
|
|
{
|
|
|
@@ -119,7 +155,11 @@ module.exports = [
|
|
|
path: '/result',
|
|
|
routes: [
|
|
|
// result
|
|
|
- { path: '/result/success', name: 'success', component: './Result/Success' },
|
|
|
+ {
|
|
|
+ path: '/result/success',
|
|
|
+ name: 'success',
|
|
|
+ component: './Result/Success',
|
|
|
+ },
|
|
|
{ path: '/result/fail', name: 'fail', component: './Result/Error' },
|
|
|
],
|
|
|
},
|
|
|
@@ -129,9 +169,21 @@ module.exports = [
|
|
|
path: '/exception',
|
|
|
routes: [
|
|
|
// exception
|
|
|
- { path: '/exception/403', name: 'not-permission', component: './Exception/403' },
|
|
|
- { path: '/exception/404', name: 'not-find', component: './Exception/404' },
|
|
|
- { path: '/exception/500', name: 'server-error', component: './Exception/500' },
|
|
|
+ {
|
|
|
+ path: '/exception/403',
|
|
|
+ name: 'not-permission',
|
|
|
+ component: './Exception/403',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/exception/404',
|
|
|
+ name: 'not-find',
|
|
|
+ component: './Exception/404',
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: '/exception/500',
|
|
|
+ name: 'server-error',
|
|
|
+ component: './Exception/500',
|
|
|
+ },
|
|
|
{
|
|
|
path: '/exception/trigger',
|
|
|
name: 'trigger',
|
|
|
@@ -172,7 +224,6 @@ module.exports = [
|
|
|
path: '/account/settings',
|
|
|
name: 'settings',
|
|
|
component: './Account/Settings/Info',
|
|
|
- // authority: ['admin'],
|
|
|
routes: [
|
|
|
{
|
|
|
path: '/account/settings',
|