Просмотр исходного кода

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

Ultraworked with Sisyphus

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Sisyphus 3 месяцев назад
Родитель
Сommit
5deb5e409d
1 измененных файлов с 15 добавлено и 2 удалено
  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' }
+      }
     ]
   }
 ]