From 800ec7f0cf7aa4e1392840c19530780aa8820ed7 Mon Sep 17 00:00:00 2001 From: guanj Date: Thu, 27 Nov 2025 15:25:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B3=A2=E5=BD=A2=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/transientStatisticsDetail.vue | 3 +- src/components/echarts/rmsboxi.vue | 30 +- src/components/echarts/shushiboxi.vue | 263 +++++++----- .../tabs/components/waveFormAnalysis.vue | 376 +++++++++--------- 4 files changed, 383 insertions(+), 289 deletions(-) diff --git a/src/components/cockpit/transientStatistics/components/transientStatisticsDetail.vue b/src/components/cockpit/transientStatistics/components/transientStatisticsDetail.vue index 8d09521..723ecb2 100644 --- a/src/components/cockpit/transientStatistics/components/transientStatisticsDetail.vue +++ b/src/components/cockpit/transientStatistics/components/transientStatisticsDetail.vue @@ -149,7 +149,8 @@ const tableStore: any = new TableStore({ // 在打开弹窗时立即设置高度 nextTick(() => { if (waveFormAnalysisRef.value) { - waveFormAnalysisRef.value.setHeight(false, 360) + // waveFormAnalysisRef.value.setHeight(false, 360) + waveFormAnalysisRef.value.setHeight(1, 50, 1.8) } }) await analyseWave(row.id) diff --git a/src/components/echarts/rmsboxi.vue b/src/components/echarts/rmsboxi.vue index 09ddfbe..f9b5695 100644 --- a/src/components/echarts/rmsboxi.vue +++ b/src/components/echarts/rmsboxi.vue @@ -615,7 +615,7 @@ const initWave = (waveDatas: WaveData[] | null, time: string | null, type: strin enabled: true, itemDistance: 5, textStyle: { - fontSize: '14px', + fontSize: '12px', color: props.DColor ? '#000' : echartsColor.WordColor, rich: { a: { verticalAlign: 'middle' } }, padding: [0, 0, 0, 0] @@ -641,13 +641,13 @@ const initWave = (waveDatas: WaveData[] | null, time: string | null, type: strin title: { text: 'ms', textStyle: { - fontSize: '14px', + fontSize: '12px', color: props.DColor ? '#000' : echartsColor.WordColor }, enabled: true, align: 'high' }, - nameTextStyle: { fontSize: '14px' }, + nameTextStyle: { fontSize: '12px' }, labels: { formatter: function () { return this.value @@ -662,7 +662,7 @@ const initWave = (waveDatas: WaveData[] | null, time: string | null, type: strin onZero: false }, axisLabel: { - fontSize: '14px', + fontSize: '12px', color: props.DColor ? '#000' : echartsColor.WordColor, formatter: function (value: number) { if (valA.value != (value - 0).toFixed(0)) { @@ -689,7 +689,7 @@ const initWave = (waveDatas: WaveData[] | null, time: string | null, type: strin showLastLabel: true, opposite: false, nameTextStyle: { - fontSize: '14px', + fontSize: '12px', color: props.DColor ? '#000' : echartsColor.WordColor }, axisLine: { @@ -700,7 +700,7 @@ const initWave = (waveDatas: WaveData[] | null, time: string | null, type: strin onZero: false }, axisLabel: { - fontSize: '14px', + fontSize: '12px', color: props.DColor ? '#000' : echartsColor.WordColor, formatter: function (value: number) { return (value - 0).toFixed(2) @@ -718,7 +718,7 @@ const initWave = (waveDatas: WaveData[] | null, time: string | null, type: strin left: '1%', right: '45px', bottom: '40px', - top: '70px', + top: '60px', containLabel: true }, dataZoom: [ @@ -780,7 +780,7 @@ const initWave = (waveDatas: WaveData[] | null, time: string | null, type: strin show: true, position: [5, -20], color: '#000', - fontSize: '14px', + fontSize: '12px', fontWeight: 'bold', borderType: 'solid', borderWidth: 0.5, @@ -917,7 +917,7 @@ const drawPics = (waveDataTemp: WaveData, picHeight: string, step: number, show: enabled: true, itemDistance: 5, textStyle: { - fontSize: '14px', + fontSize: '12px', color: props.DColor ? '#000' : echartsColor.WordColor, rich: { a: { verticalAlign: 'middle' } }, padding: [0, 0, 0, 0] @@ -932,7 +932,7 @@ const drawPics = (waveDataTemp: WaveData, picHeight: string, step: number, show: title: { text: 'ms', textStyle: { - fontSize: '14px', + fontSize: '12px', color: props.DColor ? '#000' : echartsColor.WordColor }, enabled: true, @@ -943,7 +943,7 @@ const drawPics = (waveDataTemp: WaveData, picHeight: string, step: number, show: return this.value } }, - nameTextStyle: { fontSize: '14px' }, + nameTextStyle: { fontSize: '12px' }, splitLine: { show: false }, axisTick: { alignWithLabel: true }, axisLine: { @@ -953,7 +953,7 @@ const drawPics = (waveDataTemp: WaveData, picHeight: string, step: number, show: onZero: false }, axisLabel: { - fontSize: '14px', + fontSize: '12px', color: props.DColor ? '#000' : echartsColor.WordColor, formatter: function (value: number) { if (valB.value != (value - 0).toFixed(0)) { @@ -978,7 +978,7 @@ const drawPics = (waveDataTemp: WaveData, picHeight: string, step: number, show: showLastLabel: true, opposite: false, nameTextStyle: { - fontSize: '14px', + fontSize: '12px', color: props.DColor ? '#000' : echartsColor.WordColor }, axisLine: { @@ -989,7 +989,7 @@ const drawPics = (waveDataTemp: WaveData, picHeight: string, step: number, show: onZero: false }, axisLabel: { - fontSize: '14px', + fontSize: '12px', color: props.DColor ? '#000' : echartsColor.WordColor, formatter: function (value: number) { return (value - 0).toFixed(2) @@ -1007,7 +1007,7 @@ const drawPics = (waveDataTemp: WaveData, picHeight: string, step: number, show: left: '1%', right: '45px', bottom: '40px', - top: '70px', + top: '60px', containLabel: true }, dataZoom: [ diff --git a/src/components/echarts/shushiboxi.vue b/src/components/echarts/shushiboxi.vue index 606daa3..c92f929 100644 --- a/src/components/echarts/shushiboxi.vue +++ b/src/components/echarts/shushiboxi.vue @@ -1,7 +1,6 @@