From aeb4d26b6c546f4abfcf31c636b70f40f2e49788 Mon Sep 17 00:00:00 2001 From: zhangherong <571457620@qq.com> Date: 星期六, 05 七月 2025 17:26:31 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- src/config/router.config.js | 295 ---------------------------------------------------------- 1 files changed, 1 insertions(+), 294 deletions(-) diff --git a/src/config/router.config.js b/src/config/router.config.js index 434e8f4..0396c22 100644 --- a/src/config/router.config.js +++ b/src/config/router.config.js @@ -12,276 +12,7 @@ component: TabLayout, meta: { title: '棣栭〉' }, redirect: '/dashboard/analysis', - children: [ - // // dashboard - // { - // path: '/dashboard', - // name: 'dashboard', - // redirect: '/dashboard/workplace', - // component: RouteView, - // meta: { title: '浠〃鐩�', icon: 'dashboard', permission: [ 'dashboard' ] }, - // children: [ - // { - // path: '/dashboard/analysis', - // name: 'Analysis', - // component: () => import('@/views/dashboard/Analysis'), - // meta: { title: '鍒嗘瀽椤�', permission: [ 'dashboard' ] } - // }, - // { - // path: '/dashboard/monitor', - // name: 'Monitor', - // hidden: true, - // component: () => import('@/views/dashboard/Monitor'), - // meta: { title: '鐩戞帶椤�', permission: [ 'dashboard' ] } - // }, - // { - // path: '/dashboard/workplace', - // name: 'Workplace', - // component: () => import('@/views/dashboard/Workplace'), - // meta: { title: '宸ヤ綔鍙�', permission: [ 'dashboard' ] } - // } - // ] - // }, - // - // // forms - // { - // path: '/form', - // redirect: '/form/basic-form', - // component: PageView, - // meta: { title: '琛ㄥ崟椤�', icon: 'form', permission: [ 'form' ] }, - // children: [ - // { - // path: '/form/base-form', - // name: 'BaseForm', - // component: () => import('@/views/form/BasicForm'), - // meta: { title: '鍩虹琛ㄥ崟', permission: [ 'form' ] } - // }, - // { - // path: '/form/step-form', - // name: 'StepForm', - // component: () => import('@/views/form/stepForm/StepForm'), - // meta: { title: '鍒嗘琛ㄥ崟', permission: [ 'form' ] } - // }, - // { - // path: '/form/advanced-form', - // name: 'AdvanceForm', - // component: () => import('@/views/form/advancedForm/AdvancedForm'), - // meta: { title: '楂樼骇琛ㄥ崟', permission: [ 'form' ] } - // } - // ] - // }, - // - // // list - // { - // path: '/list', - // name: 'list', - // component: PageView, - // redirect: '/list/query-list', - // meta: { title: '鍒楄〃椤�', icon: 'table', permission: [ 'table' ] }, - // children: [ - // { - // path: '/list/query-list', - // name: 'QueryList', - // component: () => import('@/views/list/TableList'), - // meta: { title: '鏌ヨ琛ㄦ牸', permission: [ 'table' ] } - // }, - // { - // path: '/list/edit-table', - // name: 'EditList', - // component: () => import('@/views/list/TableInnerEditList'), - // meta: { title: '鍐呰仈缂栬緫琛ㄦ牸', permission: [ 'table' ] } - // }, - // { - // path: '/list/user-list', - // name: 'UserList', - // component: () => import('@/views/list/UserList'), - // meta: { title: '鐢ㄦ埛鍒楄〃', permission: [ 'table' ] } - // }, - // { - // path: '/list/role-list', - // name: 'RoleList', - // component: () => import('@/views/list/RoleList'), - // meta: { title: '瑙掕壊鍒楄〃', permission: [ 'table' ] } - // }, - // { - // path: '/list/permission-list', - // name: 'PermissionList', - // component: () => import('@/views/list/PermissionList'), - // meta: { title: '鏉冮檺鍒楄〃', permission: [ 'table' ] } - // }, - // { - // path: '/list/basic-list', - // name: 'BasicList', - // component: () => import('@/views/list/StandardList'), - // meta: { title: '鏍囧噯鍒楄〃', permission: [ 'table' ] } - // }, - // { - // path: '/list/card', - // name: 'CardList', - // component: () => import('@/views/list/CardList'), - // meta: { title: '鍗$墖鍒楄〃', permission: [ 'table' ] } - // }, - // { - // path: '/list/search', - // name: 'SearchList', - // component: () => import('@/views/list/search/SearchLayout'), - // redirect: '/list/search/article', - // meta: { title: '鎼滅储鍒楄〃', permission: [ 'table' ] }, - // children: [ - // { - // path: '/list/search/article', - // name: 'SearchArticles', - // component: () => import('../views/list/TableList'), - // meta: { title: '鎼滅储鍒楄〃锛堟枃绔狅級', permission: [ 'table' ] } - // }, - // { - // path: '/list/search/project', - // name: 'SearchProjects', - // component: () => import('../views/list/TableList'), - // meta: { title: '鎼滅储鍒楄〃锛堥」鐩級', permission: [ 'table' ] } - // }, - // { - // path: '/list/search/application', - // name: 'SearchApplications', - // component: () => import('../views/list/TableList'), - // meta: { title: '鎼滅储鍒楄〃锛堝簲鐢級', permission: [ 'table' ] } - // }, - // ] - // }, - // ] - // }, - // - // // profile - // { - // path: '/profile', - // name: 'profile', - // component: RouteView, - // redirect: '/profile/basic', - // meta: { title: '璇︽儏椤�', icon: 'profile', permission: [ 'profile' ] }, - // children: [ - // { - // path: '/profile/basic', - // name: 'ProfileBasic', - // component: () => import('@/views/profile/basic/Index'), - // meta: { title: '鍩虹璇︽儏椤�', permission: [ 'profile' ] } - // }, - // { - // path: '/profile/advanced', - // name: 'ProfileAdvanced', - // component: () => import('@/views/profile/advanced/Advanced'), - // meta: { title: '楂樼骇璇︽儏椤�', permission: [ 'profile' ] } - // } - // ] - // }, - // - // // result - // { - // path: '/result', - // name: 'result', - // component: PageView, - // redirect: '/result/success', - // meta: { title: '缁撴灉椤�', icon: 'check-circle-o', permission: [ 'result' ] }, - // children: [ - // { - // path: '/result/success', - // name: 'ResultSuccess', - // component: () => import(/* webpackChunkName: "result" */ '@/views/result/Success'), - // meta: { title: '鎴愬姛', hiddenHeaderContent: true, permission: [ 'result' ] } - // }, - // { - // path: '/result/fail', - // name: 'ResultFail', - // component: () => import(/* webpackChunkName: "result" */ '@/views/result/Error'), - // meta: { title: '澶辫触', hiddenHeaderContent: true, permission: [ 'result' ] } - // } - // ] - // }, - // - // // Exception - // { - // path: '/exception', - // name: 'exception', - // component: RouteView, - // redirect: '/exception/403', - // meta: { title: '寮傚父椤�', icon: 'warning', permission: [ 'exception' ] }, - // children: [ - // { - // path: '/exception/403', - // name: 'Exception403', - // component: () => import(/* webpackChunkName: "fail" */ '@/views/exception/403'), - // meta: { title: '403', permission: [ 'exception' ] } - // }, - // { - // path: '/exception/404', - // name: 'Exception404', - // component: () => import(/* webpackChunkName: "fail" */ '@/views/exception/404'), - // meta: { title: '404', permission: [ 'exception' ] } - // }, - // { - // path: '/exception/500', - // name: 'Exception500', - // component: () => import(/* webpackChunkName: "fail" */ '@/views/exception/500'), - // meta: { title: '500', permission: [ 'exception' ] } - // } - // ] - // }, - // - // // account - // { - // path: '/account', - // component: RouteView, - // name: 'account', - // meta: { title: '涓汉椤�', icon: 'user', keepAlive: true, permission: [ 'user' ] }, - // children: [ - // { - // path: '/account/center', - // name: 'center', - // component: () => import('@/views/account/center/Index'), - // meta: { title: '涓汉涓績', keepAlive: true, permission: [ 'user' ] } - // }, - // { - // path: '/account/settings', - // name: 'settings', - // component: () => import('@/views/account/settings/Index'), - // meta: { title: '涓汉璁剧疆', hideHeader: true, keepAlive: true, permission: [ 'user' ] }, - // redirect: '/account/settings/base', - // alwaysShow: true, - // children: [ - // { - // path: '/account/settings/base', - // name: 'BaseSettings', - // component: () => import('@/views/account/settings/BaseSetting'), - // meta: { title: '鍩烘湰璁剧疆', hidden: true, keepAlive: true, permission: [ 'user' ] } - // }, - // { - // path: '/account/settings/security', - // name: 'SecuritySettings', - // component: () => import('@/views/account/settings/Security'), - // meta: { title: '瀹夊叏璁剧疆', hidden: true, keepAlive: true, permission: [ 'user' ] } - // }, - // { - // path: '/account/settings/custom', - // name: 'CustomSettings', - // component: () => import('@/views/account/settings/Custom'), - // meta: { title: '涓�у寲璁剧疆', hidden: true, keepAlive: true, permission: [ 'user' ] } - // }, - // { - // path: '/account/settings/binding', - // name: 'BindingSettings', - // component: () => import('@/views/account/settings/Binding'), - // meta: { title: '璐︽埛缁戝畾', hidden: true, keepAlive: true, permission: [ 'user' ] } - // }, - // { - // path: '/account/settings/notification', - // name: 'NotificationSettings', - // component: () => import('@/views/account/settings/Notification'), - // meta: { title: '鏂版秷鎭�氱煡', hidden: true, keepAlive: true, permission: [ 'user' ] } - // }, - // ] - // }, - // ] - // } - ] + children: [] }, { path: '*', redirect: '/404', hidden: true @@ -321,30 +52,6 @@ } ] }, - - // { - // path: '/', - // name: 'index', - // component: TabLayout, - // meta: {title: '棣栭〉'}, - // redirect: '/dashboard/workplace', - // children: [ - // { - // path: '/online', - // name: 'online', - // redirect: '/online', - // component: RouteView, - // meta: {title: '鍦ㄧ嚎寮�鍙�', icon: 'dashboard', permission: ['dashboard']}, - // children: [ - // { - // path: '/online/auto/:code', - // name: 'report', - // component: () => import('@/views/modules/online/cgreport/OnlCgreportAutoList') - // }, - // ] - // }, - // ] - // }, { // OAuth2 APP椤甸潰璺敱 -- Gitblit v1.9.3