From ca2f9321ad532ccfcee782aebe83639c24d6d18f Mon Sep 17 00:00:00 2001 From: songguoqiang <765017469@qq.com> Date: Mon, 22 Apr 2024 09:43:09 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E9=A6=96=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/home/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/home/index.vue b/src/views/home/index.vue index 10732ff..96e2701 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -473,7 +473,7 @@ const getInvoiceCharts = async (factory, data) => { ]) }else if(factory == 'TZ'){ - let TZTJAGOAL = data.TJACT.map((item) => data.TJAGOAL+'%') + let TZTJAGOAL = data.TJACT.map((item) => data.TJAGOAL) let TZHFGOAL = data.HFACT.map((item) => data.HFGOAL) let TZJGGOAL = data.JGACT.map((item) => data.JGGOAL) set(lineOptionsData3, 'series', [{ @@ -483,7 +483,7 @@ const getInvoiceCharts = async (factory, data) => { itemStyle: {}, animationDuration: 2800, animationEasing: 'quadraticOut', - data: data.JGACT + data: data.TJACT }, { name: '目标', From 089daca8723bdfd1064fdfc5efd6ca9587db8a2c Mon Sep 17 00:00:00 2001 From: songguoqiang <765017469@qq.com> Date: Mon, 22 Apr 2024 13:21:52 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E9=A6=96=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/home/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/home/index.vue b/src/views/home/index.vue index 96e2701..e977cfd 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -324,7 +324,7 @@ const lineOptionsData = reactive(lineOptions) as EChartsOption const getInvoiceCharts = async (factory, data) => { console.log( data) if (factory == 'ZS') { - let ZSTJAGOAL = data.TJACT.map((item) => data.TJAGOAL+'%') + let ZSTJAGOAL = data.TJACT.map((item) => data.TJAGOAL) let ZSHFGOAL = data.HFACT.map((item) => data.HFGOAL) let ZSJGGOAL = data.JGACT.map((item) => data.JGGOAL) set(lineOptionsData1, 'series', [{ @@ -398,7 +398,7 @@ const getInvoiceCharts = async (factory, data) => { ]) }else if(factory == 'ZP'){ - let ZPTJAGOAL = data.TJACT.map((item) => data.TJAGOAL+'%') + let ZPTJAGOAL = data.TJACT.map((item) => data.TJAGOAL) let ZPHFGOAL = data.HFACT.map((item) => data.HFGOAL) let ZPJGGOAL = data.JGACT.map((item) => data.JGGOAL) set(lineOptionsData2, 'series', [{