From a48bbf35f33a60cccd6fceb20f062aed16f2a9d1 Mon Sep 17 00:00:00 2001 From: Lei OT Date: Fri, 8 Dec 2023 11:54:22 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E7=A7=BB=E5=8A=A8=E7=AB=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/DataPivot.jsx | 23 ++++++++++++--------- src/views/Home.jsx | 34 ++++++++++++++---------------- src/views/Sale_KPI.jsx | 46 +++++++++++++++++++++-------------------- 3 files changed, 53 insertions(+), 50 deletions(-) diff --git a/src/views/DataPivot.jsx b/src/views/DataPivot.jsx index 18193a8..95c7b8c 100644 --- a/src/views/DataPivot.jsx +++ b/src/views/DataPivot.jsx @@ -383,17 +383,18 @@ export default observer((props) => { size={'small'} title={'透视选项'} extra={ - - 预设: + + 预设: {quickOptions.map((ele, elei) => ( + + ))} - - + + } > @@ -407,7 +408,8 @@ export default observer((props) => { ))} */} - + {/* 行: */} + 行: @@ -467,9 +469,10 @@ export default observer((props) => { - + {/* 列: */} + - + 列: @@ -538,7 +541,7 @@ export default observer((props) => { 走势: {dataFieldAlias[lineConfig.yField].label} - + {
- -

{showDiff === false ? '走势' : '对比'}

- - - {searchValues.yearDiff && ( - - )} -
+ )} + {showDiff === false ? ( ) : ( - -

分类对比

- -
+ +

分类对比

+ +
{
- -

TOP

-
- -
-
+ +

TOP

+ +
{topSeriesSet.map((item) => item.graphVisible ? ( diff --git a/src/views/Sale_KPI.jsx b/src/views/Sale_KPI.jsx index 9738372..685046d 100644 --- a/src/views/Sale_KPI.jsx +++ b/src/views/Sale_KPI.jsx @@ -183,37 +183,39 @@ const Sale_KPI = () => {

年度业绩组成和走势

- + ({ ...row, SumML: row.yearML }))} /> - + - -

顾问业绩走势

- -
+ +

顾问业绩走势

+ + + +