yanghao 8 hours ago
parent
commit
9b4888bda3

+ 2 - 1
src/layout/components/Menu/src/components/useRenderMenuItem.tsx

@@ -33,7 +33,8 @@ export const useRenderMenuItem = () =>
                 '产品管理',
                 '视频设备',
                 '视频配置',
-                '通道管理'
+                '通道管理',
+                '监控中心'
               ].includes(v.meta?.title)
             )
           } else if (currentSource === 'qhse') {

+ 11 - 16
src/views/oli-connection/monitoring/detail.vue

@@ -2,13 +2,7 @@
 import { computed, ref } from 'vue'
 import { useRoute } from 'vue-router'
 import { IotDeviceApi } from '@/api/pms/device'
-import {
-  Odometer,
-  CircleCheckFilled,
-  CircleCloseFilled,
-  DataLine,
-  TrendCharts
-} from '@element-plus/icons-vue'
+import { Odometer, CircleCheckFilled, CircleCloseFilled, DataLine } from '@element-plus/icons-vue'
 import { AnimatedCountTo } from '@/components/AnimatedCountTo'
 import { neonColors } from '@/utils/td-color'
 import dayjs from 'dayjs'
@@ -146,16 +140,17 @@ const dimensionsContent = computed(() => [
     icon: DataLine,
     value: gatewayDimensions.value,
     countColor: 'text-blue-600',
-    countBg: 'bg-blue-50'
-  },
-  {
-    label: '中航北斗',
-    icon: TrendCharts,
-    value: carDimensions.value,
-    countColor: 'text-indigo-600',
-    countBg: 'bg-indigo-50',
-    judgment: true
+    countBg: 'bg-blue-50',
+    judgment: false
   }
+  // {
+  //   label: '中航北斗',
+  //   icon: TrendCharts,
+  //   value: carDimensions.value,
+  //   countColor: 'text-indigo-600',
+  //   countBg: 'bg-indigo-50',
+  //   judgment: true
+  // }
 ])
 
 const disabledDimensions = ref<string[]>(['online', 'vehicle_name'])