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 @@