| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251 |
- // ********************************************************************************************************************
- // 后台管理主页
- const Admin = () => import('views/admin/Admin')
- const AdminGateway = () => import('views/admin/AdminGateway')
- const AdminDubboService = () => import('views/admin/AdminDubboService')
- const AdminSpringCloudService = () => import('views/admin/AdminSpringCloudService')
- const AdminBackendLog = () => import('views/admin/AdminBackendLog')
- const AdminAccessLog = () => import('views/admin/AdminAccessLog')
- const AdminRuntimeLog = () => import('views/admin/AdminRuntimeLog')
- const AdminSiteConfig = () => import('views/admin/AdminSiteConfig')
- const AdminUserList = () => import('views/admin/AdminUserList')
- const AdminVideoList = () => import('views/admin/AdminVideoList')
- const AdminAvatarList = () => import('views/admin/AdminAvatarList')
- // ********************************************************************************************************************
- // 用户后台主页
- const MyIndex = () => import('views/my/MyIndex')
- const MyProfile = () => import('views/my/MyProfile')
- const MyContact = () => import('views/my/MyContact')
- const MyRecord = () => import('views/my/MyRecord')
- const MyOAuth = () => import('views/my/MyOAuth')
- const MyRcmd = () => import('views/my/MyRcmd')
- const MyMessage = () => import('views/my/MyMessage')
- const MyVip = () => import('views/my/MyVip')
- const MyWallet = () => import('views/my/MyWallet')
- // ********************************************************************************************************************
- // 稿件后台主页
- const PostIndex = () => import('views/post/PostIndex')
- const PostAnalysis = () => import('views/post/PostAnalysis')
- const History = () => import('views/post/History')
- const AlbumPost = () => import('views/post/AlbumPost')
- // 稿件后台管理
- const VideoPost = () => import('views/post/VideoPost')
- const VideoPostEdit = () => import('views/post/VideoPostEdit')
- const ImagePost = () => import('views/post/ImagePost')
- const ImagePostEdit = () => import('views/post/ImagePostEdit')
- const ArticlePost = () => import('views/post/ArticlePost')
- const ArticlePostEdit = () => import('views/post/ArticlePostEdit')
- export default {
- path: '/background',
- name: 'Admin',
- component: Admin,
- meta: { needAuth: true },
- children: [
- {
- path: '',
- name: 'Admin',
- component: MyProfile,
- meta: { needAuth: true }
- },
- {
- path: '/background/account',
- name: 'Account',
- component: MyIndex,
- meta: { needAuth: true },
- children: [
- {
- path: '/background/account/profile',
- name: 'MyProfile',
- component: MyProfile,
- meta: { needAuth: true }
- },
- {
- path: '/background/account/record',
- name: 'MyRecord',
- component: MyRecord,
- meta: { needAuth: true }
- },
- {
- path: '/background/account/oauth',
- name: 'OAuth',
- component: MyOAuth,
- meta: { needAuth: true }
- }
- ]
- },
- {
- path: '/background/my',
- name: 'My',
- component: MyIndex,
- meta: { needAuth: true },
- children: [
- {
- path: '/background/my/album',
- name: 'AlbumPost',
- component: AlbumPost,
- meta: { needAuth: true }
- },
- {
- path: '/background/my/history',
- name: 'History',
- component: History,
- meta: { needAuth: true }
- },
- {
- path: '/background/my/vip',
- name: 'MyVip',
- component: MyVip,
- meta: { needAuth: true }
- },
- {
- path: '/background/my/wallet',
- name: 'MyWallet',
- component: MyWallet,
- meta: { needAuth: true }
- },
- {
- path: '/background/my/message',
- name: 'MyMessage',
- component: MyMessage,
- meta: { needAuth: true }
- },
- {
- path: '/background/my/rcmd',
- name: 'Rcmd',
- component: MyRcmd,
- meta: { needAuth: true }
- },
- {
- path: '/background/my/contact',
- name: 'MyContact',
- component: MyContact,
- meta: { needAuth: true }
- }
- ]
- },
- {
- path: '/background/post',
- name: 'Post',
- component: PostIndex,
- meta: { needAuth: true },
- children: [
- {
- path: '/background/post/video',
- name: 'VideoPost',
- component: VideoPost,
- meta: { needAuth: true }
- },
- {
- path: '/background/post/video/edit/:videoId',
- name: 'VideoPostEdit',
- component: VideoPostEdit,
- meta: { needAuth: true }
- },
- {
- path: '/background/post/image',
- name: 'ImagePost',
- component: ImagePost,
- meta: { needAuth: true }
- },
- {
- path: '/background/post/image/edit/:albumId',
- name: 'ImagePostEdit',
- component: ImagePostEdit,
- meta: { needAuth: true }
- },
- {
- path: '/background/post/article',
- name: 'ArticlePost',
- component: ArticlePost,
- meta: { needAuth: true }
- },
- {
- path: '/background/post/article/edit/:articleId',
- name: 'ArticlePostEdit',
- component: ArticlePostEdit,
- meta: { needAuth: true }
- }
- ]
- },
- {
- path: '/background/admin',
- name: 'Post',
- component: PostIndex,
- meta: { needAuth: true },
- children: [
- {
- path: '/background/admin/site',
- name: 'AdminSiteConfig',
- component: AdminSiteConfig,
- meta: { needAuth: true }
- },
- {
- path: '/background/admin/user',
- name: 'AdminUserList',
- component: AdminUserList,
- meta: { needAuth: true }
- },
- {
- path: '/background/admin/video',
- name: 'AdminVideoList',
- component: AdminVideoList,
- meta: { needAuth: true }
- },
- {
- path: '/background/admin/avatar',
- name: 'AdminAvatarList',
- component: AdminAvatarList,
- meta: { needAuth: true }
- }
- ]
- },
- {
- path: '/background/backend',
- name: 'Backend',
- component: PostIndex,
- meta: { needAuth: true },
- children: [
- {
- path: '/background/backend/gateway',
- name: 'Gateway',
- component: AdminGateway,
- meta: { needAuth: true }
- },
- {
- path: '/background/backend/dubbo_service',
- name: 'DubboService',
- component: AdminDubboService,
- meta: { needAuth: true }
- },
- {
- path: '/background/backend/springcloud_service',
- name: 'SpringCloudService',
- component: AdminSpringCloudService,
- meta: { needAuth: true }
- },
- {
- path: '/background/backend/access_log',
- name: 'AccessLog',
- component: AdminAccessLog,
- meta: { needAuth: true }
- },
- {
- path: '/background/backend/runtime_log',
- name: 'RuntimeLog',
- component: AdminRuntimeLog,
- meta: { needAuth: true }
- },
- {
- path: '/background/backend/realtime_log',
- name: 'Realtime',
- component: AdminBackendLog,
- meta: { needAuth: true }
- }
- ]
- }
- ]
- }
|