From 51e018b660f9de5d18a52cd95a9f82cc37630772 Mon Sep 17 00:00:00 2001 From: HeHaonan <1822907900@qq.com> Date: Wed, 28 Aug 2024 17:20:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/bostonAnalysis.vue | 33 ++++++++++--------- 1 file changed, 18 insertions(+), 15 deletions(-) diff --git a/src/views/portraitModel/components/bostonAnalysis.vue b/src/views/portraitModel/components/bostonAnalysis.vue index f7b53db..c2a6a01 100644 --- a/src/views/portraitModel/components/bostonAnalysis.vue +++ b/src/views/portraitModel/components/bostonAnalysis.vue @@ -1705,20 +1705,7 @@ const getData = () => { ); } } - // else { - // console.log(789); - // chart1OptionData.value = JSON.parse('[]'); - // // console.log(JSON.parse(res.data.stepSevenC),'666'); - // chart2OptionData.value = JSON.parse('[]'); - // quadrant1.value = ""; - // quadrant2.value = ""; - // quadrant3.value = ""; - // quadrant4.value = ""; - // quadrant1Color.value = ""; - // quadrant2Color.value = ""; - // quadrant3Color.value = ""; - // quadrant4Color.value = ""; - // } + // step2Data.value[14].params = res.data.stepTenA; // step2Data.value[15].params = res.data.stepTenB; @@ -1880,7 +1867,23 @@ const getData = () => { markArea4Error.value = false; } } - } + }else { + console.log(789); + chart1OptionData.value = JSON.parse('[]'); + // console.log(JSON.parse(res.data.stepSevenC),'666'); + chart2OptionData.value = JSON.parse('[]'); + quadrant1.value = ""; + quadrant2.value = ""; + quadrant3.value = ""; + quadrant4.value = ""; + quadrant1Color.value = ""; + quadrant2Color.value = ""; + quadrant3Color.value = ""; + quadrant4Color.value = ""; + step3EchartInit(); + step4EchartInit(); + step5EchartInit(); + } }) .catch((error) => {}); };