优化代码
This commit is contained in:
		
							parent
							
								
									a7079bb428
								
							
						
					
					
						commit
						8487571c3a
					
				@ -54,8 +54,6 @@ class BI014RiskPerformanceModel extends React.Component {
 | 
				
			|||||||
        this.chartCJ(ret?.Data.CHARTLIST[3]);
 | 
					        this.chartCJ(ret?.Data.CHARTLIST[3]);
 | 
				
			||||||
        this.chartZRDW(ret?.Data.CHARTLIST[2]);
 | 
					        this.chartZRDW(ret?.Data.CHARTLIST[2]);
 | 
				
			||||||
        this.chartQY(ret?.Data.CHARTLIST[4]);
 | 
					        this.chartQY(ret?.Data.CHARTLIST[4]);
 | 
				
			||||||
        // this.chartZYRW1(ret?.Data.CHARTZYRW1);
 | 
					 | 
				
			||||||
        // this.chartZYRW2(ret?.Data.CHARTZYRW2);
 | 
					 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
    });
 | 
					    });
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
@ -113,11 +111,6 @@ class BI014RiskPerformanceModel extends React.Component {
 | 
				
			|||||||
            itemWidth: 10,
 | 
					            itemWidth: 10,
 | 
				
			||||||
            itemHeight: 10,
 | 
					            itemHeight: 10,
 | 
				
			||||||
          },
 | 
					          },
 | 
				
			||||||
          // title: {
 | 
					 | 
				
			||||||
          //   text: "月度风险辨识统计走势",
 | 
					 | 
				
			||||||
          //   left: "center",
 | 
					 | 
				
			||||||
          //   top: "2%",
 | 
					 | 
				
			||||||
          // },
 | 
					 | 
				
			||||||
          tooltip: {
 | 
					          tooltip: {
 | 
				
			||||||
            trigger: "axis",
 | 
					            trigger: "axis",
 | 
				
			||||||
            axisPointer: {
 | 
					            axisPointer: {
 | 
				
			||||||
@ -259,7 +252,6 @@ class BI014RiskPerformanceModel extends React.Component {
 | 
				
			|||||||
          tooltip: {
 | 
					          tooltip: {
 | 
				
			||||||
            trigger: "axis",
 | 
					            trigger: "axis",
 | 
				
			||||||
            axisPointer: {
 | 
					            axisPointer: {
 | 
				
			||||||
              // 坐标轴指示器,坐标轴触发有效
 | 
					 | 
				
			||||||
              type: "shadow", // 默认为直线,可选为:'line' | 'shadow'
 | 
					              type: "shadow", // 默认为直线,可选为:'line' | 'shadow'
 | 
				
			||||||
            },
 | 
					            },
 | 
				
			||||||
          },
 | 
					          },
 | 
				
			||||||
@ -375,10 +367,6 @@ class BI014RiskPerformanceModel extends React.Component {
 | 
				
			|||||||
    let myChart = echarts.init(chartFXLB1);
 | 
					    let myChart = echarts.init(chartFXLB1);
 | 
				
			||||||
    myChart.setOption(
 | 
					    myChart.setOption(
 | 
				
			||||||
      {
 | 
					      {
 | 
				
			||||||
        // title: {
 | 
					 | 
				
			||||||
        //   text: "风险类别(等级)",
 | 
					 | 
				
			||||||
        //   left: "center",
 | 
					 | 
				
			||||||
        // },
 | 
					 | 
				
			||||||
        tooltip: {
 | 
					        tooltip: {
 | 
				
			||||||
          trigger: "axis",
 | 
					          trigger: "axis",
 | 
				
			||||||
          axisPointer: {
 | 
					          axisPointer: {
 | 
				
			||||||
 | 
				
			|||||||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
		Loading…
	
		Reference in New Issue
	
	Block a user