Explorar o código

feat: add routes for dimension-config and knowledge-base

Ultraworked with Sisyphus

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Sisyphus hai 3 meses
pai
achega
5deb5e409d
Modificáronse 1 ficheiros con 15 adicións e 2 borrados
  1. 15 2
      cfc-web/src/router/index.js

+ 15 - 2
cfc-web/src/router/index.js

@@ -343,8 +343,21 @@ const routes = [
         path: 'activity-review',
         name: 'ActivityReview',
         component: () => import('@/views/admin/ActivityReview.vue'),
-        meta: { title: '活动审核', perm: 'activity:review' }
-      }
+        meta: { title: '活动审核', perm: 'activity:review' }
+      },
+      // ========== 维度配置 + 知识库管理 ==========
+      {
+        path: 'dimension-config',
+        name: 'DimensionConfig',
+        component: () => import('@/views/admin/dimension'),
+        meta: { title: '维度配置', perm: 'system:config' }
+      },
+      {
+        path: 'knowledge-base',
+        name: 'KnowledgeBase',
+        component: () => import('@/views/admin/knowledge'),
+        meta: { title: '知识库管理', perm: 'system:config' }
+      }
     ]
   }
 ]