Selaa lähdekoodia

feat(web): 指标关联配置/指标映射管理 路由注册 + 健康配置菜单回退项

iwt 2 päivää sitten
vanhempi
sitoutus
1d4c1d83cb
2 muutettua tiedostoa jossa 14 lisäystä ja 0 poistoa
  1. 12 0
      cfc-web/src/router/index.js
  2. 2 0
      cfc-web/src/views/Layout.vue

+ 12 - 0
cfc-web/src/router/index.js

@@ -800,6 +800,18 @@ const routes = [
         component: () => import('@/views/admin/indicators'),
         meta: { title: '指标管理', perm: 'config:health' }
       },
+      {
+        path: 'indicator-correlations',
+        name: 'IndicatorCorrelations',
+        component: () => import('@/views/admin/IndicatorCorrelations.vue'),
+        meta: { title: '指标关联配置', perm: 'config:health' }
+      },
+      {
+        path: 'indicator-mappings',
+        name: 'IndicatorMappings',
+        component: () => import('@/views/admin/IndicatorMappings.vue'),
+        meta: { title: '指标映射管理', perm: 'config:health' }
+      },
       // ========== 虚拟服务商团队管理 ==========
       {
         path: 'virtual-teams',

+ 2 - 0
cfc-web/src/views/Layout.vue

@@ -330,6 +330,8 @@ export default {
                 { path: '/energy-rule', label: '能量规则管理', icon: 'el-icon-setting', perm: 'config:health' },
                 { path: '/energy-behavior-config', label: '能量行为配置', icon: 'el-icon-edit-outline', perm: 'config:health' },
                 { path: '/periodic-service-config', label: '周期性服务配置', icon: 'el-icon-refresh', perm: 'config:health' },
+                { path: '/indicator-correlations', label: '指标关联配置', icon: 'el-icon-connection', perm: 'config:health' },
+                { path: '/indicator-mappings', label: '指标映射管理', icon: 'el-icon-sort', perm: 'config:health' },
               ]},
             // --- 人生维度 ---
             { title: '人生维度', icon: 'el-icon-s-custom', perm: 'config:dimension',