From 179da42e2558959f2de13f9f0907b20d247823e9 Mon Sep 17 00:00:00 2001 From: cdf <857448963@qq.com> Date: Sat, 7 Dec 2024 14:00:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/photovoltaic.vue | 29 ++++++++++--------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/src/views/pqs/bearingCapacity/evaluationList/components/photovoltaic.vue b/src/views/pqs/bearingCapacity/evaluationList/components/photovoltaic.vue index a316c227..5b594e01 100644 --- a/src/views/pqs/bearingCapacity/evaluationList/components/photovoltaic.vue +++ b/src/views/pqs/bearingCapacity/evaluationList/components/photovoltaic.vue @@ -50,14 +50,14 @@ - -
- + + + -
+
@@ -326,18 +326,18 @@ const setEChart = (val: any, data: any, text: string, name: string) => { max: Math.ceil(Math.max(...data.map(item => item.value))), min: Math.floor(Math.min(...data.map(item => item.value))) }, - legend: { - data: ['A', 'B', 'C'] - // selectedMode: false, - }, + // legend: { + // data: ['A', 'B', 'C'] + // // selectedMode: false, + // }, grid: { top: '30px', left: '30px' }, - color: ['#FFCC33', '#00CC00', '#CC0000'], + color: ['#FFCC00', '#009900', '#CC0000'], series: [ { - name: 'A', + name: 'A相', type: 'line', // smooth: true, symbol: 'none', @@ -346,7 +346,7 @@ const setEChart = (val: any, data: any, text: string, name: string) => { .map(item => (item.value == 3.1415926 ? '' : item.value.toFixed(3))) }, { - name: 'B', + name: 'B相', type: 'line', // smooth: true, symbol: 'none', @@ -355,7 +355,7 @@ const setEChart = (val: any, data: any, text: string, name: string) => { .map(item => (item.value == 3.1415926 ? '' : item.value.toFixed(3))) }, { - name: 'C', + name: 'C相', type: 'line', // smooth: true, symbol: 'none', @@ -579,4 +579,7 @@ const handleNodeClick = (data: any, node: any) => { margin-top: 5px; color: blue; } +.el-select { + min-width: 80px; +}