From b8ee53055752530798d5d35f35dd7f50efc64546 Mon Sep 17 00:00:00 2001 From: guanj Date: Thu, 4 Dec 2025 09:37:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=A9=BE=E9=A9=B6=E8=88=B1zo?= =?UTF-8?q?om=E7=BC=A9=E6=94=BE=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cockpit/indicatorDistribution/index.vue | 6 ++--- .../cockpit/indicatorFittingChart/index.vue | 1 - src/views/pqs/cockpit/homePage/index.vue | 22 +++++++++++-------- 3 files changed, 16 insertions(+), 13 deletions(-) diff --git a/src/components/cockpit/indicatorDistribution/index.vue b/src/components/cockpit/indicatorDistribution/index.vue index 18946da..217fc7f 100644 --- a/src/components/cockpit/indicatorDistribution/index.vue +++ b/src/components/cockpit/indicatorDistribution/index.vue @@ -21,7 +21,7 @@ :options="echartList" :style="{ width: prop.width, - height: `calc(${prop.height} / 2 - ${headerHeight / 2}px + ${fullscreen ? 0 : 28}px )` + height: `calc(${prop.height} / 2 - ${headerHeight / 2}px + ${fullscreen ? 0 : 28}px )`, }" /> { type: 'category', name: '越限程度', nameLocation: 'middle', - nameGap: 30, + nameGap: 50, data: ['0-20%', '20-40%', '40-60%', '60-80%', '80-100%'], axisLine: { lineStyle: { @@ -206,7 +206,7 @@ const initProbabilityData = () => { type: 'category', name: '指标类型', nameLocation: 'middle', - nameGap: 30, + nameGap: 50, data: yAxisData, nameTextStyle: { color: '#111' diff --git a/src/components/cockpit/indicatorFittingChart/index.vue b/src/components/cockpit/indicatorFittingChart/index.vue index 49b9188..51a7867 100644 --- a/src/components/cockpit/indicatorFittingChart/index.vue +++ b/src/components/cockpit/indicatorFittingChart/index.vue @@ -26,7 +26,6 @@ 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, Number] }, diff --git a/src/views/pqs/cockpit/homePage/index.vue b/src/views/pqs/cockpit/homePage/index.vue index ed79d7a..7d76e4e 100644 --- a/src/views/pqs/cockpit/homePage/index.vue +++ b/src/views/pqs/cockpit/homePage/index.vue @@ -16,7 +16,6 @@ 设置 -