|
|
@@ -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'])
|