|  | @@ -300,10 +300,16 @@
 | 
	
		
			
				|  |  |                      },
 | 
	
		
			
				|  |  |                      formatter: function(value) {
 | 
	
		
			
				|  |  |                          var res = value;
 | 
	
		
			
				|  |  | -                        if(res.length > 10) {
 | 
	
		
			
				|  |  | -                            res = res.substring(0, 10) + "..";
 | 
	
		
			
				|  |  | +                        if(res.length > 6) {
 | 
	
		
			
				|  |  | +                            res = res.substring(0, 5) + "..";
 | 
	
		
			
				|  |  |                          }
 | 
	
		
			
				|  |  |                          return res;
 | 
	
		
			
				|  |  | +                    },
 | 
	
		
			
				|  |  | +                    rich: {
 | 
	
		
			
				|  |  | +                        ellipsis: {
 | 
	
		
			
				|  |  | +                            width: 100, // 控制显示宽度
 | 
	
		
			
				|  |  | +                            overflow: 'break',
 | 
	
		
			
				|  |  | +                        }
 | 
	
		
			
				|  |  |                      }
 | 
	
		
			
				|  |  |                  }
 | 
	
		
			
				|  |  |              }
 | 
	
	
		
			
				|  | @@ -428,33 +434,36 @@
 | 
	
		
			
				|  |  |                      }
 | 
	
		
			
				|  |  |                      return res;
 | 
	
		
			
				|  |  |                  }
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  | -        },
 | 
	
		
			
				|  |  | -        dataZoom: [
 | 
	
		
			
				|  |  | -            {
 | 
	
		
			
				|  |  | -                brushSelect:false,
 | 
	
		
			
				|  |  | -                start: 0,
 | 
	
		
			
				|  |  | -                end: 10,
 | 
	
		
			
				|  |  | -                type: 'slider',
 | 
	
		
			
				|  |  | -                show: true,
 | 
	
		
			
				|  |  | -                handleSize: 0,
 | 
	
		
			
				|  |  | -                realtime: true,
 | 
	
		
			
				|  |  | -                showDetail: false,
 | 
	
		
			
				|  |  | -                // filterMode: 'empty',
 | 
	
		
			
				|  |  | -                yAxisIndex: [0,1],
 | 
	
		
			
				|  |  | -                width: 10,
 | 
	
		
			
				|  |  | -                height: '80%',
 | 
	
		
			
				|  |  | -                right: '5%',
 | 
	
		
			
				|  |  | -                bottom:'2%'
 | 
	
		
			
				|  |  |              },
 | 
	
		
			
				|  |  | -        ],
 | 
	
		
			
				|  |  | +            margin: 10,
 | 
	
		
			
				|  |  | +        },
 | 
	
		
			
				|  |  | +        // dataZoom: [
 | 
	
		
			
				|  |  | +        //     {
 | 
	
		
			
				|  |  | +        //         brushSelect:false,
 | 
	
		
			
				|  |  | +        //         start: 0,
 | 
	
		
			
				|  |  | +        //         end: 10,
 | 
	
		
			
				|  |  | +        //         type: 'slider',
 | 
	
		
			
				|  |  | +        //         show: true,
 | 
	
		
			
				|  |  | +        //         handleSize: 0,
 | 
	
		
			
				|  |  | +        //         realtime: true,
 | 
	
		
			
				|  |  | +        //         showDetail: false,
 | 
	
		
			
				|  |  | +        //         // filterMode: 'empty',
 | 
	
		
			
				|  |  | +        //         yAxisIndex: [0,1],
 | 
	
		
			
				|  |  | +        //         width: 10,
 | 
	
		
			
				|  |  | +        //         height: '80%',
 | 
	
		
			
				|  |  | +        //         right: '5%',
 | 
	
		
			
				|  |  | +        //         bottom:'2%'
 | 
	
		
			
				|  |  | +        //     },
 | 
	
		
			
				|  |  | +        // ],
 | 
	
		
			
				|  |  |          series: [
 | 
	
		
			
				|  |  |              {
 | 
	
		
			
				|  |  |                  name: '情况',
 | 
	
		
			
				|  |  |                  type: 'bar',
 | 
	
		
			
				|  |  |                  stack: 'total',
 | 
	
		
			
				|  |  |                  label: {
 | 
	
		
			
				|  |  | -                    show: true
 | 
	
		
			
				|  |  | +                    show: true,
 | 
	
		
			
				|  |  | +                    // position: 'insideLeft',
 | 
	
		
			
				|  |  | +                    align: 'left'
 | 
	
		
			
				|  |  |                  },
 | 
	
		
			
				|  |  |                  emphasis: {
 | 
	
		
			
				|  |  |                      focus: 'series'
 | 
	
	
		
			
				|  | @@ -734,10 +743,16 @@
 | 
	
		
			
				|  |  |                      },
 | 
	
		
			
				|  |  |                      formatter: function(value) {
 | 
	
		
			
				|  |  |                          var res = value;
 | 
	
		
			
				|  |  | -                        if(res.length > 10) {
 | 
	
		
			
				|  |  | -                            res = res.substring(0, 10) + "..";
 | 
	
		
			
				|  |  | +                        if(res.length > 6) {
 | 
	
		
			
				|  |  | +                            res = res.substring(0, 5) + "..";
 | 
	
		
			
				|  |  |                          }
 | 
	
		
			
				|  |  |                          return res;
 | 
	
		
			
				|  |  | +                    },
 | 
	
		
			
				|  |  | +                    rich: {
 | 
	
		
			
				|  |  | +                        ellipsis: {
 | 
	
		
			
				|  |  | +                            width: 100, // 控制显示宽度
 | 
	
		
			
				|  |  | +                            overflow: 'break',
 | 
	
		
			
				|  |  | +                        }
 | 
	
		
			
				|  |  |                      }
 | 
	
		
			
				|  |  |                  }
 | 
	
		
			
				|  |  |              }
 | 
	
	
		
			
				|  | @@ -961,14 +976,14 @@
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |              // 工程收入情况
 | 
	
		
			
				|  |  |              const gcsrqk_chart_option = gcsrqkChart.getOption();
 | 
	
		
			
				|  |  | -            gcsrqk_chart_option.dataZoom[0].start = 0;
 | 
	
		
			
				|  |  | -            gcsrqk_chart_option.dataZoom[0].end = computedPosition(sr_tenders.length);
 | 
	
		
			
				|  |  | +            // gcsrqk_chart_option.dataZoom[0].start = 0;
 | 
	
		
			
				|  |  | +            // gcsrqk_chart_option.dataZoom[0].end = computedPosition(sr_tenders.length);
 | 
	
		
			
				|  |  |              gcsrqk_chart_option.series[0].data = [sr_chart_option_data.end_ds_tp, sr_chart_option_data.end_sf_tp, sr_chart_option_data.end_yf_tp, sr_chart_option_data.end_gather_tp, sr_chart_option_data.contract_price];
 | 
	
		
			
				|  |  | -            if (sr_tenders.length >= 8) {
 | 
	
		
			
				|  |  | -                gcsrqk_chart_option.dataZoom[0].show = true;
 | 
	
		
			
				|  |  | -            } else {
 | 
	
		
			
				|  |  | -                gcsrqk_chart_option.dataZoom[0].show = false;
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  | +            // if (sr_tenders.length >= 8) {
 | 
	
		
			
				|  |  | +            //     gcsrqk_chart_option.dataZoom[0].show = true;
 | 
	
		
			
				|  |  | +            // } else {
 | 
	
		
			
				|  |  | +            //     gcsrqk_chart_option.dataZoom[0].show = false;
 | 
	
		
			
				|  |  | +            // }
 | 
	
		
			
				|  |  |              gcsrqkChart.setOption(gcsrqk_chart_option);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |              const cb_chart_option_data = {
 | 
	
	
		
			
				|  | @@ -1042,7 +1057,7 @@
 | 
	
		
			
				|  |  |                      });
 | 
	
		
			
				|  |  |                      // 找出最近的一个had_ys为true值
 | 
	
		
			
				|  |  |                      if (hadYsDatas.length > 0) {
 | 
	
		
			
				|  |  | -                        c4.ys_tp = hadYsDatas[hadYsDatas.length - 1].ys_tp + c4.ys_tp;
 | 
	
		
			
				|  |  | +                        c4.ys_tp = ZhCalc.add(hadYsDatas[hadYsDatas.length - 1].ys_tp, c4.ys_tp);
 | 
	
		
			
				|  |  |                      }
 | 
	
		
			
				|  |  |                      // if (!c4.had_ys) {
 | 
	
		
			
				|  |  |                      //     const hadYsDatas = _.filter(new_yingsf_option_data, function (item) {
 | 
	
	
		
			
				|  | @@ -1059,7 +1074,7 @@
 | 
	
		
			
				|  |  |                      });
 | 
	
		
			
				|  |  |                      // 找出最近的一个had_yf为true值
 | 
	
		
			
				|  |  |                      if (hadYfDatas.length > 0) {
 | 
	
		
			
				|  |  | -                        c4.yf_tp = hadYfDatas[hadYfDatas.length - 1].yf_tp + c4.yf_tp;
 | 
	
		
			
				|  |  | +                        c4.yf_tp = ZhCalc.add(hadYfDatas[hadYfDatas.length - 1].yf_tp, c4.yf_tp);
 | 
	
		
			
				|  |  |                      }
 | 
	
		
			
				|  |  |                      // if (!c4.had_yf) {
 | 
	
		
			
				|  |  |                      //     const hadYfDatas = _.filter(new_yingsf_option_data, function (item) {
 | 
	
	
		
			
				|  | @@ -1099,7 +1114,7 @@
 | 
	
		
			
				|  |  |                      });
 | 
	
		
			
				|  |  |                      // 找出最近的一个had_ys为true值
 | 
	
		
			
				|  |  |                      if (hadYsDatas.length > 0) {
 | 
	
		
			
				|  |  | -                        c4.ys_tp = hadYsDatas[hadYsDatas.length - 1].ys_tp + c4.ys_tp;
 | 
	
		
			
				|  |  | +                        c4.ys_tp = ZhCalc.add(hadYsDatas[hadYsDatas.length - 1].ys_tp, c4.ys_tp);
 | 
	
		
			
				|  |  |                      }
 | 
	
		
			
				|  |  |                      // if (!c4.had_ys) {
 | 
	
		
			
				|  |  |                      //     const hadYsDatas = _.filter(new_yisf_option_data, function (item) {
 | 
	
	
		
			
				|  | @@ -1116,7 +1131,7 @@
 | 
	
		
			
				|  |  |                      });
 | 
	
		
			
				|  |  |                      // 找出最近的一个had_yf为true值
 | 
	
		
			
				|  |  |                      if (hadYfDatas.length > 0) {
 | 
	
		
			
				|  |  | -                        c4.yf_tp = hadYfDatas[hadYfDatas.length - 1].yf_tp + c4.yf_tp;
 | 
	
		
			
				|  |  | +                        c4.yf_tp = ZhCalc.add(hadYfDatas[hadYfDatas.length - 1].yf_tp, c4.yf_tp);
 | 
	
		
			
				|  |  |                      }
 | 
	
		
			
				|  |  |                      // if (!c4.had_yf) {
 | 
	
		
			
				|  |  |                      //     const hadYfDatas = _.filter(new_yisf_option_data, function (item) {
 |