From 4c2ed4aade3690505defc88aa04d005a32f6b74b Mon Sep 17 00:00:00 2001 From: guanj Date: Fri, 14 Nov 2025 09:51:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=A1=B5=E9=9D=A2=E5=91=8A?= =?UTF-8?q?=E8=AD=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/cockpit/F47Curve/index.vue | 10 +++++----- src/components/cockpit/directionStatistics/index.vue | 10 +++++----- .../exceedanceLevel/components/dailyTrendChart.vue | 6 +++--- src/components/cockpit/exceedanceLevel/index.vue | 10 +++++----- src/components/cockpit/governanceReport/index.vue | 10 +++++----- src/components/cockpit/gridSideStatistics/index.vue | 10 +++++----- src/components/cockpit/indicatorDetails/index.vue | 10 +++++----- .../cockpit/indicatorDistribution/index.vue | 10 +++++----- .../cockpit/indicatorFittingChart/index.vue | 11 ++++++----- .../components/harmonicRatio‌.vue | 6 +++--- .../cockpit/listOfMainMonitoringPoints/index.vue | 10 +++++----- src/components/cockpit/monitoringPointList/index.vue | 10 +++++----- src/components/cockpit/overLimitStatistics/index.vue | 10 +++++----- src/components/cockpit/sensitiveLoad/index.vue | 10 +++++----- src/components/cockpit/transientDetails/index.vue | 10 +++++----- .../cockpit/transientDistribution/index.vue | 10 +++++----- src/components/cockpit/transientStatistics/index.vue | 10 +++++----- src/components/cockpit/trendComparison/index.vue | 10 +++++----- src/views/pqs/cockpit/realTimeData/index.vue | 6 +++--- 19 files changed, 90 insertions(+), 89 deletions(-) diff --git a/src/components/cockpit/F47Curve/index.vue b/src/components/cockpit/F47Curve/index.vue index fc07852..79b05aa 100644 --- a/src/components/cockpit/F47Curve/index.vue +++ b/src/components/cockpit/F47Curve/index.vue @@ -42,11 +42,11 @@ import { useTimeCacheStore } from '@/stores/timeCache' import { analyseWave } from '@/api/common' const prop = defineProps({ - w: { type: String }, - h: { type: String }, - width: { type: String }, - height: { type: String }, - timeKey: { type: String }, + w: { type: [String, Number]}, + h: { type: [String, Number]}, + width: { type: [String, Number]}, + height: { type: [String, Number]}, + timeKey: { type: [String, Number]}, timeValue: { type: Object } }) diff --git a/src/components/cockpit/directionStatistics/index.vue b/src/components/cockpit/directionStatistics/index.vue index db3e904..0358c9a 100644 --- a/src/components/cockpit/directionStatistics/index.vue +++ b/src/components/cockpit/directionStatistics/index.vue @@ -18,11 +18,11 @@ import { useRoute } from 'vue-router' import { useTimeCacheStore } from '@/stores/timeCache' const prop = defineProps({ - w: { type: String }, - h: { type: String }, - width: { type: String }, - height: { type: String }, - timeKey: { type: String }, + w: { type: [String, Number]}, + h: { type: [String, Number]}, + width: { type: [String, Number]}, + height: { type: [String, Number]}, + timeKey: { type: [String, Number]}, timeValue: { type: Object } }) diff --git a/src/components/cockpit/exceedanceLevel/components/dailyTrendChart.vue b/src/components/cockpit/exceedanceLevel/components/dailyTrendChart.vue index 12a3056..c761d21 100644 --- a/src/components/cockpit/exceedanceLevel/components/dailyTrendChart.vue +++ b/src/components/cockpit/exceedanceLevel/components/dailyTrendChart.vue @@ -15,9 +15,9 @@ import { mainHeight } from '@/utils/layout' import { limitExtentDayData } from '@/api/harmonic-boot/cockpit/cockpit' const prop = defineProps({ - width: { type: String }, - height: { type: String }, - timeKey: { type: String }, + width: { type: [String, Number]}, + height: { type: [String, Number]}, + timeKey: { type: [String, Number]}, timeValue: { type: Object } }) diff --git a/src/components/cockpit/exceedanceLevel/index.vue b/src/components/cockpit/exceedanceLevel/index.vue index 99575d5..e05fa3a 100644 --- a/src/components/cockpit/exceedanceLevel/index.vue +++ b/src/components/cockpit/exceedanceLevel/index.vue @@ -29,11 +29,11 @@ import { useRoute } from 'vue-router' import { useTimeCacheStore } from '@/stores/timeCache' const prop = defineProps({ - w: { type: String }, - h: { type: String }, - width: { type: String }, - height: { type: String }, - timeKey: { type: String }, + w: { type: [String, Number]}, + h: { type: [String, Number]}, + width: { type: [String, Number]}, + height: { type: [String, Number]}, + timeKey: { type: [String, Number]}, timeValue: { type: Object } }) diff --git a/src/components/cockpit/governanceReport/index.vue b/src/components/cockpit/governanceReport/index.vue index 95f476b..4207b99 100644 --- a/src/components/cockpit/governanceReport/index.vue +++ b/src/components/cockpit/governanceReport/index.vue @@ -46,11 +46,11 @@ import { useRoute } from 'vue-router' import { useTimeCacheStore } from '@/stores/timeCache' const prop = defineProps({ - w: { type: String }, - h: { type: String }, - width: { type: String }, - height: { type: String }, - timeKey: { type: String }, + w: { type: [String, Number]}, + h: { type: [String, Number]}, + width: { type: [String, Number]}, + height: { type: [String, Number]}, + timeKey: { type: [String, Number]}, timeValue: { type: Object } }) const config = useConfig() diff --git a/src/components/cockpit/gridSideStatistics/index.vue b/src/components/cockpit/gridSideStatistics/index.vue index 8ec42cb..55ed8b0 100644 --- a/src/components/cockpit/gridSideStatistics/index.vue +++ b/src/components/cockpit/gridSideStatistics/index.vue @@ -32,11 +32,11 @@ import { useRoute } from 'vue-router' import { useTimeCacheStore } from '@/stores/timeCache' const prop = defineProps({ - w: { type: String }, - h: { type: String }, - width: { type: String }, - height: { type: String }, - timeKey: { type: String }, + w: { type: [String, Number]}, + h: { type: [String, Number]}, + width: { type: [String, Number]}, + height: { type: [String, Number]}, + timeKey: { type: [String, Number]}, timeValue: { type: Object } }) diff --git a/src/components/cockpit/indicatorDetails/index.vue b/src/components/cockpit/indicatorDetails/index.vue index b871452..cd5afb7 100644 --- a/src/components/cockpit/indicatorDetails/index.vue +++ b/src/components/cockpit/indicatorDetails/index.vue @@ -38,11 +38,11 @@ import { useRoute } from 'vue-router' import { useTimeCacheStore } from '@/stores/timeCache' const prop = defineProps({ - w: { type: String }, - h: { type: String }, - width: { type: String }, - height: { type: String }, - timeKey: { type: String }, + w: { type: [String, Number]}, + h: { type: [String, Number]}, + width: { type: [String, Number]}, + height: { type: [String, Number]}, + timeKey: { type: [String, Number]}, timeValue: { type: Object } }) diff --git a/src/components/cockpit/indicatorDistribution/index.vue b/src/components/cockpit/indicatorDistribution/index.vue index 6d2034a..b13e3d4 100644 --- a/src/components/cockpit/indicatorDistribution/index.vue +++ b/src/components/cockpit/indicatorDistribution/index.vue @@ -38,11 +38,11 @@ import { useRoute } from 'vue-router' import { useTimeCacheStore } from '@/stores/timeCache' const prop = defineProps({ - w: { type: String }, - h: { type: String }, - width: { type: String }, - height: { type: String }, - timeKey: { type: String }, + w: { type: [String, Number]}, + h: { type: [String, Number]}, + width: { type: [String, Number]}, + height: { type: [String, Number]}, + timeKey: { type: [String, Number]}, timeValue: { type: Object } }) diff --git a/src/components/cockpit/indicatorFittingChart/index.vue b/src/components/cockpit/indicatorFittingChart/index.vue index b0f34f8..65e76f0 100644 --- a/src/components/cockpit/indicatorFittingChart/index.vue +++ b/src/components/cockpit/indicatorFittingChart/index.vue @@ -26,13 +26,14 @@ import { getTimeOfTheMonth } from '@/utils/formatTime' import OverLimitDetails from '@/components/cockpit/indicatorFittingChart/components/overLimitDetails.vue' import { useRoute } from 'vue-router' import { useTimeCacheStore } from '@/stores/timeCache' +import { log } from 'console' const prop = defineProps({ - w: { type: String }, - h: { type: String }, - width: { type: String }, - height: { type: String }, - timeKey: { type: String }, + w: { type: [String, Number] }, + h: { type: [String, Number]}, + width: { type: [String, Number]}, + height: { type: [String, Number]}, + timeKey: { type: [String, Number]}, timeValue: { type: Object } }) const OverLimitDetailsRef = ref() diff --git a/src/components/cockpit/listOfMainMonitoringPoints/components/harmonicRatio‌.vue b/src/components/cockpit/listOfMainMonitoringPoints/components/harmonicRatio‌.vue index 166ed96..ae0bb58 100644 --- a/src/components/cockpit/listOfMainMonitoringPoints/components/harmonicRatio‌.vue +++ b/src/components/cockpit/listOfMainMonitoringPoints/components/harmonicRatio‌.vue @@ -82,9 +82,9 @@ import { getTimeOfTheMonth } from '@/utils/formatTime' import MyEchart from '@/components/echarts/MyEchart.vue' import { useConfig } from '@/stores/config' const prop = defineProps({ - width: { type: String }, - height: { type: String }, - timeKey: { type: String }, + width: { type: [String, Number]}, + height: { type: [String, Number]}, + timeKey: { type: [String, Number]}, timeValue: { type: Object } }) diff --git a/src/components/cockpit/listOfMainMonitoringPoints/index.vue b/src/components/cockpit/listOfMainMonitoringPoints/index.vue index 0105dcd..707290f 100644 --- a/src/components/cockpit/listOfMainMonitoringPoints/index.vue +++ b/src/components/cockpit/listOfMainMonitoringPoints/index.vue @@ -90,11 +90,11 @@ import { useTimeCacheStore } from '@/stores/timeCache' import { cslineList } from '@/api/harmonic-boot/cockpit/cockpit' const prop = defineProps({ - w: { type: String }, - h: { type: String }, - width: { type: String }, - height: { type: String }, - timeKey: { type: String }, + w: { type: [String, Number]}, + h: { type: [String, Number]}, + width: { type: [String, Number]}, + height: { type: [String, Number]}, + timeKey: { type: [String, Number]}, timeValue: { type: Object } }) diff --git a/src/components/cockpit/monitoringPointList/index.vue b/src/components/cockpit/monitoringPointList/index.vue index b347124..7c66941 100644 --- a/src/components/cockpit/monitoringPointList/index.vue +++ b/src/components/cockpit/monitoringPointList/index.vue @@ -20,11 +20,11 @@ import { useRoute } from 'vue-router' import { useTimeCacheStore } from '@/stores/timeCache' const prop = defineProps({ - w: { type: String }, - h: { type: String }, - width: { type: String }, - height: { type: String }, - timeKey: { type: String }, + w: { type: [String, Number]}, + h: { type: [String, Number]}, + width: { type: [String, Number]}, + height: { type: [String, Number]}, + timeKey: { type: [String, Number]}, timeValue: { type: Object } }) diff --git a/src/components/cockpit/overLimitStatistics/index.vue b/src/components/cockpit/overLimitStatistics/index.vue index 88b2c6d..9dc8fab 100644 --- a/src/components/cockpit/overLimitStatistics/index.vue +++ b/src/components/cockpit/overLimitStatistics/index.vue @@ -33,11 +33,11 @@ import { useTimeCacheStore } from '@/stores/timeCache' import { totalLimitStatisticsData } from '@/api/harmonic-boot/cockpit/cockpit' const prop = defineProps({ - w: { type: String }, - h: { type: String }, - width: { type: String }, - height: { type: String }, - timeKey: { type: String }, + w: { type: [String, Number]}, + h: { type: [String, Number]}, + width: { type: [String, Number]}, + height: { type: [String, Number]}, + timeKey: { type: [String, Number]}, timeValue: { type: Object } }) diff --git a/src/components/cockpit/sensitiveLoad/index.vue b/src/components/cockpit/sensitiveLoad/index.vue index 3d3aae8..5fb15c0 100644 --- a/src/components/cockpit/sensitiveLoad/index.vue +++ b/src/components/cockpit/sensitiveLoad/index.vue @@ -15,11 +15,11 @@ import { useRoute } from 'vue-router' import { useTimeCacheStore } from '@/stores/timeCache' const prop = defineProps({ - w: { type: String }, - h: { type: String }, - width: { type: String }, - height: { type: String }, - timeKey: { type: String }, + w: { type: [String, Number]}, + h: { type: [String, Number]}, + width: { type: [String, Number]}, + height: { type: [String, Number]}, + timeKey: { type: [String, Number]}, timeValue: { type: Object } }) diff --git a/src/components/cockpit/transientDetails/index.vue b/src/components/cockpit/transientDetails/index.vue index 31a1fea..8efcd71 100644 --- a/src/components/cockpit/transientDetails/index.vue +++ b/src/components/cockpit/transientDetails/index.vue @@ -50,11 +50,11 @@ import { useRoute } from 'vue-router' import { useTimeCacheStore } from '@/stores/timeCache' const prop = defineProps({ - w: { type: String }, - h: { type: String }, - width: { type: String }, - height: { type: String }, - timeKey: { type: String }, + w: { type: [String, Number]}, + h: { type: [String, Number]}, + width: { type: [String, Number]}, + height: { type: [String, Number]}, + timeKey: { type: [String, Number]}, timeValue: { type: Object } }) diff --git a/src/components/cockpit/transientDistribution/index.vue b/src/components/cockpit/transientDistribution/index.vue index 256f8de..b1944e2 100644 --- a/src/components/cockpit/transientDistribution/index.vue +++ b/src/components/cockpit/transientDistribution/index.vue @@ -25,11 +25,11 @@ import { useRoute } from 'vue-router' import { useTimeCacheStore } from '@/stores/timeCache' const prop = defineProps({ - w: { type: String }, - h: { type: String }, - width: { type: String }, - height: { type: String }, - timeKey: { type: String }, + w: { type: [String, Number]}, + h: { type: [String, Number]}, + width: { type: [String, Number]}, + height: { type: [String, Number]}, + timeKey: { type: [String, Number]}, timeValue: { type: Object } }) diff --git a/src/components/cockpit/transientStatistics/index.vue b/src/components/cockpit/transientStatistics/index.vue index 9857749..83d7d58 100644 --- a/src/components/cockpit/transientStatistics/index.vue +++ b/src/components/cockpit/transientStatistics/index.vue @@ -32,11 +32,11 @@ import { useRoute } from 'vue-router' import { useTimeCacheStore } from '@/stores/timeCache' const prop = defineProps({ - w: { type: String }, - h: { type: String }, - width: { type: String }, - height: { type: String }, - timeKey: { type: String }, + w: { type: [String, Number]}, + h: { type: [String, Number]}, + width: { type: [String, Number]}, + height: { type: [String, Number]}, + timeKey: { type: [String, Number]}, timeValue: { type: Object } }) diff --git a/src/components/cockpit/trendComparison/index.vue b/src/components/cockpit/trendComparison/index.vue index 133eee1..fab2df8 100644 --- a/src/components/cockpit/trendComparison/index.vue +++ b/src/components/cockpit/trendComparison/index.vue @@ -70,11 +70,11 @@ import { useConfig } from '@/stores/config' import { useRoute } from 'vue-router' import { useTimeCacheStore } from '@/stores/timeCache' const prop = defineProps({ - w: { type: String }, - h: { type: String }, - width: { type: String }, - height: { type: String }, - timeKey: { type: String }, + w: { type: [String, Number]}, + h: { type: [String, Number]}, + width: { type: [String, Number]}, + height: { type: [String, Number]}, + timeKey: { type: [String, Number]}, timeValue: { type: Object } }) diff --git a/src/views/pqs/cockpit/realTimeData/index.vue b/src/views/pqs/cockpit/realTimeData/index.vue index 5d9b704..5f373cc 100644 --- a/src/views/pqs/cockpit/realTimeData/index.vue +++ b/src/views/pqs/cockpit/realTimeData/index.vue @@ -48,9 +48,9 @@ import IframeDia from './iframeDia.vue' // }>() const prop = defineProps({ - width: { type: String }, - height: { type: String }, - timeKey: { type: String }, + width: { type: [String, Number]}, + height: { type: [String, Number]}, + timeKey: { type: [String, Number]}, timeValue: { type: Object } })