| 
									
										
										
										
											2021-04-30 10:28:37 +08:00
										 |  |  |  | <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="mainMenu_CQMS.aspx.cs" Inherits="FineUIPro.Web.mainMenu_CQMS" %> | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  | <!DOCTYPE html> | 
					
						
							|  |  |  |  | <html> | 
					
						
							|  |  |  |  | <head id="Head1" runat="server"> | 
					
						
							|  |  |  |  |     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | 
					
						
							|  |  |  |  |     <title>首页</title> | 
					
						
							|  |  |  |  |     <link href="../res/index/css/reset.css" rel="stylesheet" /> | 
					
						
							|  |  |  |  |     <link href="../res/index/css/home.css" rel="stylesheet" /> | 
					
						
							|  |  |  |  |     <link href="../res/index/css/swiper-3.4.2.min.css" rel="stylesheet" /> | 
					
						
							|  |  |  |  |     <style type="text/css"> | 
					
						
							|  |  |  |  |         * { | 
					
						
							|  |  |  |  |             box-sizing: border-box; | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         .flexV { | 
					
						
							|  |  |  |  |             flex-direction: column; | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         .wrap { | 
					
						
							|  |  |  |  |             height: 100%; | 
					
						
							|  |  |  |  |             padding: 15px; | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         .iteml { | 
					
						
							|  |  |  |  |             margin-left: 5px; | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         .itemb { | 
					
						
							|  |  |  |  |             margin-bottom: 5px; | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         .bottom-wrap { | 
					
						
							|  |  |  |  |             padding: 0; | 
					
						
							|  |  |  |  |             margin-bottom: 5px; | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |             .bottom-wrap:last-child { | 
					
						
							|  |  |  |  |                 margin-bottom: 0; | 
					
						
							|  |  |  |  |             } | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         .bw-b-bottom { | 
					
						
							|  |  |  |  |             width: 100%; | 
					
						
							|  |  |  |  |             height: 100%; | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         .bw-b-bottom-up { | 
					
						
							|  |  |  |  |             border-radius: 0; | 
					
						
							|  |  |  |  |             height: 100%; | 
					
						
							|  |  |  |  |             margin: 0; | 
					
						
							|  |  |  |  |             box-shadow: none; | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         .bw-item-content { | 
					
						
							|  |  |  |  |             padding: 5px; | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         .top { | 
					
						
							|  |  |  |  |             width: 100%; | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |             .top .item { | 
					
						
							|  |  |  |  |             } | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         .bw-b { | 
					
						
							|  |  |  |  |             width: 50%; | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         .bw-b-bottom-up { | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         .tab-wrap { | 
					
						
							|  |  |  |  |             left: auto; | 
					
						
							|  |  |  |  |             right: 15px; | 
					
						
							|  |  |  |  |             top: 5px; | 
					
						
							|  |  |  |  |             font-size: 12px; | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         .tab .t-item { | 
					
						
							|  |  |  |  |             width: auto; | 
					
						
							|  |  |  |  |             padding: 5px 10px; | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         .tit-item { | 
					
						
							|  |  |  |  |             padding: 0 10px; | 
					
						
							|  |  |  |  |             color: #fff; | 
					
						
							|  |  |  |  |             justify-content: space-between; | 
					
						
							|  |  |  |  |             font-size: 12px; | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         .tip-item { | 
					
						
							|  |  |  |  |             margin-left: 10px; | 
					
						
							|  |  |  |  |             align-items: center; | 
					
						
							|  |  |  |  |             font-size: 10px; | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         .tip { | 
					
						
							|  |  |  |  |             width: 25px; | 
					
						
							|  |  |  |  |             height: 13px; | 
					
						
							|  |  |  |  |             background-color: #258F76; | 
					
						
							|  |  |  |  |             border-radius: 2px; | 
					
						
							|  |  |  |  |             margin-right: 5px; | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         .tip-next { | 
					
						
							|  |  |  |  |             background-color: #92BF55; | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  |     </style> | 
					
						
							|  |  |  |  | </head> | 
					
						
							|  |  |  |  | <body> | 
					
						
							|  |  |  |  |     <div class="wrap flex flexV"> | 
					
						
							|  |  |  |  |         <div class="bottom-wrap flex1"> | 
					
						
							|  |  |  |  |             <div class="top flex"> | 
					
						
							|  |  |  |  |                 <div class="item flex1 flex flexV"> | 
					
						
							|  |  |  |  |                     <div class="bw-b-bottom" style="margin-bottom: 5px;"> | 
					
						
							|  |  |  |  |                         <div class="bw-b-bottom-up"> | 
					
						
							|  |  |  |  |                             <div class="bw-item-content flex"> | 
					
						
							|  |  |  |  |                                 <div id='one1' class="flex1" style="width: 100%; height: 100%;"></div> | 
					
						
							|  |  |  |  |                                 <div id='one2' class="flex1" style="width: 100%; height: 100%;"></div> | 
					
						
							|  |  |  |  |                                 <div id='one3' class="flex1" style="width: 100%; height: 100%;"></div> | 
					
						
							|  |  |  |  |                             </div> | 
					
						
							|  |  |  |  |                         </div> | 
					
						
							|  |  |  |  |                     </div> | 
					
						
							|  |  |  |  |                     <div class="bw-b-bottom"> | 
					
						
							|  |  |  |  |                         <div class="bw-b-bottom-up"> | 
					
						
							|  |  |  |  |                             <div class="bw-item-content flex flexV" style="padding: 0; position: relative;"> | 
					
						
							|  |  |  |  |                                 <div class="flex " style="position: absolute; width: 100%;"> | 
					
						
							|  |  |  |  |                                     <div class="flex flex1  tit-item"> | 
					
						
							|  |  |  |  |                                         <div class="tit">质量控制点统计</div> | 
					
						
							|  |  |  |  |                                         <div class="flex"> | 
					
						
							|  |  |  |  |                                             <div class="tip-item flex"> | 
					
						
							|  |  |  |  |                                                 <div class="tip"></div> | 
					
						
							|  |  |  |  |                                                 <div>已完成</div> | 
					
						
							|  |  |  |  |                                             </div> | 
					
						
							|  |  |  |  |                                             <div class="tip-item flex"> | 
					
						
							|  |  |  |  |                                                 <div class="tip tip-next"></div> | 
					
						
							|  |  |  |  |                                                 <div>未完成</div> | 
					
						
							|  |  |  |  |                                             </div> | 
					
						
							|  |  |  |  |                                         </div> | 
					
						
							|  |  |  |  |                                     </div> | 
					
						
							|  |  |  |  |                                 </div> | 
					
						
							|  |  |  |  |                                 <div class="flex flex1"> | 
					
						
							|  |  |  |  |                                     <div id='one4' class="flex1" style="width: 100%; height: 100%;"></div> | 
					
						
							|  |  |  |  |                                     <div id='one5' class="flex1" style="width: 100%; height: 100%;"></div> | 
					
						
							|  |  |  |  |                                     <div id='one6' class="flex1" style="width: 100%; height: 100%;"></div> | 
					
						
							|  |  |  |  |                                 </div> | 
					
						
							|  |  |  |  |                             </div> | 
					
						
							|  |  |  |  |                         </div> | 
					
						
							|  |  |  |  |                     </div> | 
					
						
							|  |  |  |  |                 </div> | 
					
						
							|  |  |  |  |                 <div class="item flex2 iteml"> | 
					
						
							|  |  |  |  |                     <div class="bw-b-bottom"> | 
					
						
							|  |  |  |  |                         <div class="bw-b-bottom-up"> | 
					
						
							|  |  |  |  |                             <div class="tab-wrap"> | 
					
						
							|  |  |  |  |                                 <div class="tab" data-value="2"> | 
					
						
							| 
									
										
										
										
											2024-04-23 17:04:35 +08:00
										 |  |  |  |                                     <div class="t-item active">施工分包商</div> | 
					
						
							| 
									
										
										
										
											2021-04-30 10:28:37 +08:00
										 |  |  |  |                                     <div class="spline"></div> | 
					
						
							| 
									
										
										
										
											2024-04-23 17:04:35 +08:00
										 |  |  |  |                                     <div class="t-item">单位工程</div> | 
					
						
							| 
									
										
										
										
											2021-04-30 10:28:37 +08:00
										 |  |  |  |                                     <div class="spline"></div> | 
					
						
							|  |  |  |  |                                     <div class="t-item">专业</div> | 
					
						
							|  |  |  |  |                                 </div> | 
					
						
							|  |  |  |  |                             </div> | 
					
						
							|  |  |  |  |                             <div class="bw-item-content"> | 
					
						
							|  |  |  |  |                                 <div id='two' style="width: 100%; height: 100%;"></div> | 
					
						
							|  |  |  |  |                             </div> | 
					
						
							|  |  |  |  |                         </div> | 
					
						
							|  |  |  |  |                     </div> | 
					
						
							|  |  |  |  |                 </div> | 
					
						
							|  |  |  |  |             </div> | 
					
						
							|  |  |  |  |         </div> | 
					
						
							|  |  |  |  |         <div class="bottom-wrap flex1"> | 
					
						
							|  |  |  |  |             <div class="top flex"> | 
					
						
							|  |  |  |  |                 <div class="item flex1"> | 
					
						
							|  |  |  |  |                     <div class="bw-b-bottom"> | 
					
						
							|  |  |  |  |                         <div class="bw-b-bottom-up"> | 
					
						
							|  |  |  |  |                             <div class="tab-wrap"> | 
					
						
							|  |  |  |  |                                 <div class="tab" data-value="3"> | 
					
						
							|  |  |  |  |                                     <div class="t-item active">施工分包商</div> | 
					
						
							|  |  |  |  |                                     <div class="spline"></div> | 
					
						
							|  |  |  |  |                                     <div class="t-item">专业</div> | 
					
						
							|  |  |  |  |                                 </div> | 
					
						
							|  |  |  |  |                             </div> | 
					
						
							|  |  |  |  |                             <div class="bw-item-content"> | 
					
						
							|  |  |  |  |                                 <div id='three' style="width: 100%; height: 95%;"></div> | 
					
						
							|  |  |  |  |                             </div> | 
					
						
							|  |  |  |  |                         </div> | 
					
						
							|  |  |  |  |                     </div> | 
					
						
							|  |  |  |  |                 </div> | 
					
						
							|  |  |  |  |                 <div class="item flex2 iteml"> | 
					
						
							|  |  |  |  |                     <div class="bw-b-bottom"> | 
					
						
							|  |  |  |  |                         <div class="bw-b-bottom-up"> | 
					
						
							|  |  |  |  |                             <div class="tab-wrap"> | 
					
						
							|  |  |  |  |                                 <div class="tab" data-value="4"> | 
					
						
							| 
									
										
										
										
											2024-04-23 17:04:35 +08:00
										 |  |  |  |                                     <div class="t-item active">单位工程</div> | 
					
						
							| 
									
										
										
										
											2021-04-30 10:28:37 +08:00
										 |  |  |  |                                 </div> | 
					
						
							|  |  |  |  |                             </div> | 
					
						
							|  |  |  |  |                             <div class="bw-item-content"> | 
					
						
							|  |  |  |  |                                 <div id='four' style="width: 100%; height: 100%;"></div> | 
					
						
							|  |  |  |  |                             </div> | 
					
						
							|  |  |  |  |                         </div> | 
					
						
							|  |  |  |  |                     </div> | 
					
						
							|  |  |  |  |                 </div> | 
					
						
							|  |  |  |  |             </div> | 
					
						
							|  |  |  |  |         </div> | 
					
						
							|  |  |  |  |     </div> | 
					
						
							|  |  |  |  | </body> | 
					
						
							|  |  |  |  | <script type="text/javascript" src="../res/index/js/jquery-3.4.1.min.js"></script> | 
					
						
							|  |  |  |  | <script type="text/javascript" src="../res/index/js/swiper-3.4.2.jquery.min.js"></script> | 
					
						
							|  |  |  |  | <script type="text/javascript" src="../res/index/js/echarts.min.js"></script> | 
					
						
							|  |  |  |  | <script type="text/javascript"> | 
					
						
							| 
									
										
										
										
											2023-10-31 15:22:02 +08:00
										 |  |  |  |     function category_One(id, title, dataNum, text) { | 
					
						
							| 
									
										
										
										
											2021-04-30 10:28:37 +08:00
										 |  |  |  |         // 基于准备好的dom,初始化echarts实例 | 
					
						
							|  |  |  |  |         var myChart = echarts.init(document.getElementById(id)) | 
					
						
							|  |  |  |  |         // 指定图表的配置项和数据 | 
					
						
							|  |  |  |  |         var option = { | 
					
						
							|  |  |  |  |             //tooltip: { | 
					
						
							|  |  |  |  |             //    formatter: '{a} <br/>{b} : {c}%' | 
					
						
							|  |  |  |  |             //}, | 
					
						
							|  |  |  |  |             title: { | 
					
						
							|  |  |  |  |                 left: 'center', | 
					
						
							|  |  |  |  |                 bottom: '0', | 
					
						
							|  |  |  |  |                 text: title, | 
					
						
							|  |  |  |  |                 textStyle: { | 
					
						
							|  |  |  |  |                     color: '#fff', | 
					
						
							|  |  |  |  |                     fontSize: 10, | 
					
						
							|  |  |  |  |                 }, | 
					
						
							|  |  |  |  |                 show: true | 
					
						
							|  |  |  |  |             }, | 
					
						
							| 
									
										
										
										
											2023-10-31 15:22:02 +08:00
										 |  |  |  |             graphic: { | 
					
						
							| 
									
										
										
										
											2021-04-30 10:28:37 +08:00
										 |  |  |  |                 type: "text", | 
					
						
							|  |  |  |  |                 left: "center", | 
					
						
							|  |  |  |  |                 bottom: "18%", | 
					
						
							|  |  |  |  |                 style: { | 
					
						
							|  |  |  |  |                     text: text, | 
					
						
							|  |  |  |  |                     textAlign: "center", | 
					
						
							|  |  |  |  |                     fill: "#fff", | 
					
						
							|  |  |  |  |                     fontSize: 10, | 
					
						
							|  |  |  |  |                     fontWeight: 100 | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |             }, | 
					
						
							|  |  |  |  |             series: [ | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     name: ' ', | 
					
						
							|  |  |  |  |                     center: ["50%", "50%"], | 
					
						
							|  |  |  |  |                     type: 'gauge', | 
					
						
							|  |  |  |  |                     radius: "90%", | 
					
						
							|  |  |  |  |                     axisLabel: { //文字样式(及“10”、“20”等文字样式) | 
					
						
							|  |  |  |  |                         fontSize: 8, | 
					
						
							|  |  |  |  |                         distance: 2 //文字离表盘的距离 | 
					
						
							|  |  |  |  |                     }, | 
					
						
							|  |  |  |  |                     pointer: { | 
					
						
							|  |  |  |  |                         show: true, | 
					
						
							|  |  |  |  |                         length: '70%', | 
					
						
							|  |  |  |  |                         width: 3 | 
					
						
							|  |  |  |  |                     }, | 
					
						
							|  |  |  |  |                     axisTick: { //刻度线样式(及短线样式) | 
					
						
							|  |  |  |  |                         length: 0 | 
					
						
							|  |  |  |  |                     }, | 
					
						
							|  |  |  |  |                     splitLine: { | 
					
						
							|  |  |  |  |                         length: 10, | 
					
						
							|  |  |  |  |                         lineStyle: { | 
					
						
							|  |  |  |  |                             color: 'rgba(255,255,255,.1)' | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                     }, | 
					
						
							|  |  |  |  |                     axisLine: { | 
					
						
							|  |  |  |  |                         lineStyle: { | 
					
						
							|  |  |  |  |                             color: [ //表盘颜色 | 
					
						
							|  |  |  |  |                                 [0.5, "#91C7AE"],//0-50%处的颜色 | 
					
						
							|  |  |  |  |                                 [0.7, "#63869E"],//51%-70%处的颜色 | 
					
						
							|  |  |  |  |                                 [1, "#88C8E2"],//70%-100%处的颜色 | 
					
						
							|  |  |  |  |                             ], | 
					
						
							|  |  |  |  |                             width: 8//表盘宽度 | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                     }, | 
					
						
							|  |  |  |  |                     min: 0, | 
					
						
							|  |  |  |  |                     max: 100, | 
					
						
							|  |  |  |  |                     detail: { | 
					
						
							|  |  |  |  |                         show: false, | 
					
						
							|  |  |  |  |                         formatter: '{value}%' | 
					
						
							|  |  |  |  |                     }, | 
					
						
							|  |  |  |  |                     data: [{ | 
					
						
							|  |  |  |  |                         value: dataNum, | 
					
						
							|  |  |  |  |                         name: '' | 
					
						
							|  |  |  |  |                     }] | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |             ] | 
					
						
							|  |  |  |  |         }; | 
					
						
							|  |  |  |  |         // 使用刚指定的配置项和数据显示图表。 | 
					
						
							|  |  |  |  |         myChart.setOption(option, true) | 
					
						
							|  |  |  |  |     } | 
					
						
							|  |  |  |  |     var one1 =<%=One1 %> | 
					
						
							|  |  |  |  |     var one2 =<%=One2 %> | 
					
						
							|  |  |  |  |     var one3 =<%=One3 %> | 
					
						
							| 
									
										
										
										
											2024-05-14 09:03:31 +08:00
										 |  |  |  |         category_One('one1', "施工质量一次共检合格率", one1, one1 + "%") | 
					
						
							| 
									
										
										
										
											2024-04-23 17:04:35 +08:00
										 |  |  |  |     category_One('one2', "焊接一次拍片合格率", one2, one2 + "%") | 
					
						
							| 
									
										
										
										
											2024-05-14 09:03:31 +08:00
										 |  |  |  |     category_One('one3', "质量巡检问题整改率", one3, one3 + "%") | 
					
						
							| 
									
										
										
										
											2021-04-30 10:28:37 +08:00
										 |  |  |  | </script> | 
					
						
							|  |  |  |  | <script type="text/javascript"> | 
					
						
							|  |  |  |  |     function category_six(id, title, xArr, data) { | 
					
						
							|  |  |  |  |         // 基于准备好的dom,初始化echarts实例 | 
					
						
							|  |  |  |  |         var myChart = echarts.init(document.getElementById(id)) | 
					
						
							|  |  |  |  |         // 指定图表的配置项和数据 | 
					
						
							|  |  |  |  |         var option = { | 
					
						
							|  |  |  |  |             title: { | 
					
						
							|  |  |  |  |                 left: '0', | 
					
						
							|  |  |  |  |                 top: '0', | 
					
						
							|  |  |  |  |                 text: '统计', | 
					
						
							|  |  |  |  |                 textStyle: { | 
					
						
							|  |  |  |  |                     color: '#fff', | 
					
						
							|  |  |  |  |                     fontSize: 12, | 
					
						
							|  |  |  |  |                     fontWeight: '300' | 
					
						
							|  |  |  |  |                 }, | 
					
						
							|  |  |  |  |                 show: true | 
					
						
							|  |  |  |  |             }, | 
					
						
							|  |  |  |  |             legend: { | 
					
						
							|  |  |  |  |                 left: 'right', | 
					
						
							|  |  |  |  |                 textStyle: {//图例文字的样式 | 
					
						
							|  |  |  |  |                     color: '#ffffff' | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |             }, | 
					
						
							|  |  |  |  |             tooltip: {}, | 
					
						
							|  |  |  |  |             dataset: { | 
					
						
							|  |  |  |  |                 source: [ | 
					
						
							|  |  |  |  |                     ['product', '2012', '2013', '2014'], | 
					
						
							|  |  |  |  |                     ['已整改', 2, 3, 5], | 
					
						
							|  |  |  |  |                     ['未整改', 6, 9, 3] | 
					
						
							|  |  |  |  |                 ] | 
					
						
							|  |  |  |  |             }, | 
					
						
							|  |  |  |  |             color: ['#258F76', '#92BF55'], | 
					
						
							|  |  |  |  |             graphic: { | 
					
						
							|  |  |  |  |                 type: "text", | 
					
						
							|  |  |  |  |                 left: "center", | 
					
						
							|  |  |  |  |                 top: "center", | 
					
						
							|  |  |  |  |                 style: { | 
					
						
							|  |  |  |  |                     text: "text", | 
					
						
							|  |  |  |  |                     textAlign: "center", | 
					
						
							|  |  |  |  |                     fill: "#fff", | 
					
						
							|  |  |  |  |                     fontSize: 12, | 
					
						
							|  |  |  |  |                     fontWeight: 700 | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |             }, | 
					
						
							|  |  |  |  |             series: [{ | 
					
						
							|  |  |  |  |                 type: 'pie', | 
					
						
							|  |  |  |  |                 center: ['18%', '58%'], | 
					
						
							|  |  |  |  |                 radius: ['60%', '80%'], | 
					
						
							|  |  |  |  |                 avoidLabelOverlap: false, | 
					
						
							|  |  |  |  |                 label: { | 
					
						
							|  |  |  |  |                     show: true, | 
					
						
							|  |  |  |  |                     position: 'inside', | 
					
						
							|  |  |  |  |                     formatter: function (data) { return data.percent.toFixed(2) + "%"; } | 
					
						
							|  |  |  |  |                 }, | 
					
						
							|  |  |  |  |                 itemStyle: { | 
					
						
							|  |  |  |  |                     normal: { | 
					
						
							|  |  |  |  |                         //opacity: 0.7, | 
					
						
							|  |  |  |  |                         borderWidth: 3, | 
					
						
							|  |  |  |  |                         borderColor: 'rgba(218,235,234, 1)' | 
					
						
							|  |  |  |  |                     } | 
					
						
							|  |  |  |  |                 }, | 
					
						
							|  |  |  |  |                 // No encode specified, by default, it is '2012'. | 
					
						
							|  |  |  |  |             }, { | 
					
						
							|  |  |  |  |                 type: 'pie', | 
					
						
							|  |  |  |  |                 radius: ['60%', '80%'], | 
					
						
							|  |  |  |  |                 center: ['50%', '58%'], | 
					
						
							|  |  |  |  |                 avoidLabelOverlap: false, | 
					
						
							|  |  |  |  |                 label: { | 
					
						
							|  |  |  |  |                     show: true, | 
					
						
							|  |  |  |  |                     position: 'inside', | 
					
						
							|  |  |  |  |                     formatter: function (data) { return data.percent.toFixed(2) + "%"; } | 
					
						
							|  |  |  |  |                 }, | 
					
						
							|  |  |  |  |                 itemStyle: { | 
					
						
							|  |  |  |  |                     normal: { | 
					
						
							|  |  |  |  |                         //opacity: 0.7, | 
					
						
							|  |  |  |  |                         borderWidth: 3, | 
					
						
							|  |  |  |  |                         borderColor: 'rgba(218,235,234, 1)' | 
					
						
							|  |  |  |  |                     } | 
					
						
							|  |  |  |  |                 }, | 
					
						
							|  |  |  |  |                 encode: { | 
					
						
							|  |  |  |  |                     itemName: 'product', | 
					
						
							|  |  |  |  |                     value: '2013' | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |             }, { | 
					
						
							|  |  |  |  |                 type: 'pie', | 
					
						
							|  |  |  |  |                 radius: ['60%', '80%'], | 
					
						
							|  |  |  |  |                 center: ['82%', '58%'], | 
					
						
							|  |  |  |  |                 avoidLabelOverlap: false, | 
					
						
							|  |  |  |  |                 label: { | 
					
						
							|  |  |  |  |                     show: true, | 
					
						
							|  |  |  |  |                     position: 'inside', | 
					
						
							|  |  |  |  |                     formatter: function (data) { return data.percent.toFixed(2) + "%"; } | 
					
						
							|  |  |  |  |                 }, | 
					
						
							|  |  |  |  |                 itemStyle: { | 
					
						
							|  |  |  |  |                     normal: { | 
					
						
							|  |  |  |  |                         //opacity: 0.7, | 
					
						
							|  |  |  |  |                         borderWidth: 3, | 
					
						
							|  |  |  |  |                         borderColor: 'rgba(218,235,234, 1)' | 
					
						
							|  |  |  |  |                     } | 
					
						
							|  |  |  |  |                 }, | 
					
						
							|  |  |  |  |                 encode: { | 
					
						
							|  |  |  |  |                     itemName: 'product', | 
					
						
							|  |  |  |  |                     value: '2014' | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |             }] | 
					
						
							|  |  |  |  |         }; | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         // 使用刚指定的配置项和数据显示图表。 | 
					
						
							|  |  |  |  |         myChart.setOption(option) | 
					
						
							|  |  |  |  |     } | 
					
						
							|  |  |  |  |     var xArr = ["已整改", "未整改"] | 
					
						
							|  |  |  |  |     var series = [ | 
					
						
							|  |  |  |  |         { value: 335, name: '人身伤害' }, | 
					
						
							|  |  |  |  |         { value: 310, name: '未遂事故' } | 
					
						
							|  |  |  |  |     ] | 
					
						
							|  |  |  |  |         //category_six('one4', "A类", xArr, ); | 
					
						
							|  |  |  |  | </script> | 
					
						
							|  |  |  |  | <script type="text/javascript"> | 
					
						
							|  |  |  |  |     function pie(id, data, title, text, needLegend) { | 
					
						
							|  |  |  |  |         var myChartPie = echarts.init(document.getElementById(id)); | 
					
						
							|  |  |  |  |         var needLegend = needLegend || false | 
					
						
							|  |  |  |  |         var optionPie = { | 
					
						
							|  |  |  |  |             tooltip: { | 
					
						
							|  |  |  |  |                 trigger: 'item', | 
					
						
							|  |  |  |  |                 show: true | 
					
						
							|  |  |  |  |             }, | 
					
						
							|  |  |  |  |             legend: { | 
					
						
							|  |  |  |  |                 show: needLegend, | 
					
						
							|  |  |  |  |                 selectedMode: false, | 
					
						
							|  |  |  |  |                 left: 'right', | 
					
						
							|  |  |  |  |                 orient: 'horizontal', | 
					
						
							|  |  |  |  |                 textStyle: {//图例文字的样式 | 
					
						
							|  |  |  |  |                     color: '#ffffff' | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |             }, | 
					
						
							|  |  |  |  |             title: { | 
					
						
							|  |  |  |  |                 left: 'center', | 
					
						
							|  |  |  |  |                 bottom: '0', | 
					
						
							|  |  |  |  |                 text: title, | 
					
						
							|  |  |  |  |                 textStyle: { | 
					
						
							|  |  |  |  |                     color: '#fff', | 
					
						
							|  |  |  |  |                     fontSize: 10, | 
					
						
							|  |  |  |  |                     fontWeight: '300' | 
					
						
							|  |  |  |  |                 }, | 
					
						
							|  |  |  |  |                 show: true | 
					
						
							|  |  |  |  |             }, | 
					
						
							|  |  |  |  |             graphic: { | 
					
						
							|  |  |  |  |                 type: "text", | 
					
						
							|  |  |  |  |                 left: "center", | 
					
						
							|  |  |  |  |                 top: "center", | 
					
						
							|  |  |  |  |                 style: { | 
					
						
							|  |  |  |  |                     text: text, | 
					
						
							|  |  |  |  |                     textAlign: "center", | 
					
						
							|  |  |  |  |                     fill: "#fff", | 
					
						
							|  |  |  |  |                     fontSize: 16, | 
					
						
							|  |  |  |  |                     fontWeight: 700 | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |             }, | 
					
						
							|  |  |  |  |             color: ['#258F76', '#92BF55'], | 
					
						
							|  |  |  |  |             series: [ | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     name: ' ', | 
					
						
							|  |  |  |  |                     hoverOffset: 0, | 
					
						
							|  |  |  |  |                     type: 'pie', | 
					
						
							|  |  |  |  |                     clickable: false, | 
					
						
							|  |  |  |  |                     radius: ['50%', '65%'], | 
					
						
							|  |  |  |  |                     avoidLabelOverlap: false, | 
					
						
							|  |  |  |  |                     label: { | 
					
						
							|  |  |  |  |                         show: false | 
					
						
							|  |  |  |  |                     }, | 
					
						
							|  |  |  |  |                     itemStyle: { | 
					
						
							|  |  |  |  |                         normal: { | 
					
						
							|  |  |  |  |                             //opacity: 0.7, | 
					
						
							|  |  |  |  |                             borderWidth: 3, | 
					
						
							|  |  |  |  |                             borderColor: 'rgba(218,235,234, 1)' | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                     }, | 
					
						
							|  |  |  |  |                     emphasis: { | 
					
						
							|  |  |  |  |                         label: { | 
					
						
							|  |  |  |  |                             show: true, | 
					
						
							|  |  |  |  |                             fontSize: '10', | 
					
						
							|  |  |  |  |                             fontWeight: 'bold' | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                     }, | 
					
						
							|  |  |  |  |                     labelLine: { | 
					
						
							|  |  |  |  |                         show: false | 
					
						
							|  |  |  |  |                     }, | 
					
						
							|  |  |  |  |                     data: data | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |             ] | 
					
						
							|  |  |  |  |         }; | 
					
						
							|  |  |  |  |         //为echarts对象加载数据 | 
					
						
							|  |  |  |  |         myChartPie.setOption(optionPie); | 
					
						
							|  |  |  |  |     } | 
					
						
							|  |  |  |  |     var one4 =<%=One4 %>; | 
					
						
							|  |  |  |  |     var data4 = [{ value: one4.num2, name: '已完成' }, | 
					
						
							|  |  |  |  |     { value: one4.num1, name: '未完成' }]; | 
					
						
							|  |  |  |  |     var data5 = [{ value: one4.num5, name: '已完成' }, | 
					
						
							|  |  |  |  |     { value: one4.num4, name: '未完成' }]; | 
					
						
							|  |  |  |  |     var data6 = [{ value: one4.num8, name: '已完成' }, | 
					
						
							|  |  |  |  |     { value: one4.num7, name: '未完成' }]; | 
					
						
							|  |  |  |  |     pie('one4', data4, "A类", one4.num3) | 
					
						
							|  |  |  |  |     pie('one5', data5, "B类", one4.num6) | 
					
						
							|  |  |  |  |     pie('one6', data6, "C类", one4.num9) | 
					
						
							|  |  |  |  | </script> | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  | <script type="text/javascript"> | 
					
						
							| 
									
										
										
										
											2023-10-31 15:22:02 +08:00
										 |  |  |  |     function category_Two(id, xArr, data, num) { | 
					
						
							| 
									
										
										
										
											2021-04-30 10:28:37 +08:00
										 |  |  |  |         // 基于准备好的dom,初始化echarts实例 | 
					
						
							|  |  |  |  |         var myChart = echarts.init(document.getElementById(id)) | 
					
						
							|  |  |  |  |         // 指定图表的配置项和数据 | 
					
						
							|  |  |  |  |         var option = { | 
					
						
							|  |  |  |  |             title: { | 
					
						
							|  |  |  |  |                 // left:'center', | 
					
						
							|  |  |  |  |                 text: '质量问题统计', | 
					
						
							|  |  |  |  |                 textStyle: { | 
					
						
							|  |  |  |  |                     color: '#fff', | 
					
						
							|  |  |  |  |                     fontWeight: 'normal', | 
					
						
							|  |  |  |  |                     fontSize: 12 | 
					
						
							|  |  |  |  |                 }, | 
					
						
							|  |  |  |  |                 show: true | 
					
						
							|  |  |  |  |             }, | 
					
						
							|  |  |  |  |             tooltip: {}, | 
					
						
							|  |  |  |  |             legend: { | 
					
						
							|  |  |  |  |                 left: '15%', | 
					
						
							|  |  |  |  |                 show: true, | 
					
						
							|  |  |  |  |                 textStyle: {//图例文字的样式 | 
					
						
							|  |  |  |  |                     color: '#ffffff', | 
					
						
							|  |  |  |  |                     fontSize: 10, | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |             }, | 
					
						
							| 
									
										
										
										
											2025-07-01 14:07:38 +08:00
										 |  |  |  |             dataZoom: [ | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     type: 'slider', | 
					
						
							|  |  |  |  |                     // start: 0, | 
					
						
							|  |  |  |  |                     // end: 60 | 
					
						
							|  |  |  |  |                     maxValueSpan: 6, | 
					
						
							|  |  |  |  |                     show: true, | 
					
						
							|  |  |  |  |                     xAxisIndex: [0], | 
					
						
							|  |  |  |  |                     bottom: 0, height: 10, | 
					
						
							|  |  |  |  |                     backgroundColor: 'rgba(0,0,0,0)', | 
					
						
							|  |  |  |  |                     borderColor: 'none', | 
					
						
							|  |  |  |  |                     brushSelect: false, | 
					
						
							|  |  |  |  |                     textStyle: { | 
					
						
							|  |  |  |  |                         color: 'rgba(0,0,0,0)' | 
					
						
							|  |  |  |  |                     }, | 
					
						
							|  |  |  |  |                     selectedDataBackground: { | 
					
						
							|  |  |  |  |                         areaStyle: { | 
					
						
							|  |  |  |  |                             color: 'red', | 
					
						
							|  |  |  |  |                             borderWidth: 0 | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                     }, | 
					
						
							|  |  |  |  |                     handleStyle: {  // 缩放手柄的样式 | 
					
						
							|  |  |  |  |                         color: "#0a1449" | 
					
						
							|  |  |  |  |                     }, | 
					
						
							|  |  |  |  |                     moveHandleStyle: { | 
					
						
							|  |  |  |  |                         color: '#0a1449' | 
					
						
							|  |  |  |  |                     } | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |             ], | 
					
						
							| 
									
										
										
										
											2021-04-30 10:28:37 +08:00
										 |  |  |  |             xAxis: { | 
					
						
							|  |  |  |  |                 axisTick: { | 
					
						
							|  |  |  |  |                     show: false | 
					
						
							|  |  |  |  |                 }, | 
					
						
							|  |  |  |  |                 axisLine: { | 
					
						
							|  |  |  |  |                     lineStyle: { | 
					
						
							|  |  |  |  |                         color: 'rgba(255, 255, 255, 0.3)', | 
					
						
							|  |  |  |  |                     } | 
					
						
							|  |  |  |  |                 }, | 
					
						
							|  |  |  |  |                 axisLabel: { | 
					
						
							|  |  |  |  |                     show: true, | 
					
						
							|  |  |  |  |                     textStyle: { | 
					
						
							|  |  |  |  |                         color: 'rgba(255, 255, 255, 0.8)' | 
					
						
							|  |  |  |  |                     }, | 
					
						
							|  |  |  |  |                     interval: 0, | 
					
						
							| 
									
										
										
										
											2025-07-01 14:07:38 +08:00
										 |  |  |  |                     rotate: -15,    | 
					
						
							| 
									
										
										
										
											2023-10-31 15:22:02 +08:00
										 |  |  |  |                     formatter: function (value) { | 
					
						
							|  |  |  |  |                         var ret = "";//拼接加\n返回的类目项   | 
					
						
							|  |  |  |  |                         var maxLength = num;//每项显示文字个数   | 
					
						
							|  |  |  |  |                         var valLength = value.length;//X轴类目项的文字个数   | 
					
						
							|  |  |  |  |                         var rowN = Math.ceil(valLength / maxLength); //类目项需要换行的行数   | 
					
						
							|  |  |  |  |                         if (rowN > 1)//如果类目项的文字大于maxLength,   | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             for (var i = 0; i < rowN; i++) { | 
					
						
							|  |  |  |  |                                 var temp = "";//每次截取的字符串   | 
					
						
							|  |  |  |  |                                 var start = i * maxLength;//开始截取的位置   | 
					
						
							|  |  |  |  |                                 var end = start + maxLength;//结束截取的位置   | 
					
						
							|  |  |  |  |                                 //这里也可以加一个是否是最后一行的判断,但是不加也没有影响,那就不加吧   | 
					
						
							|  |  |  |  |                                 //temp = value.substring(start, end) + "\n";   | 
					
						
							|  |  |  |  |                                 temp = value.substring(start, end) + (i == rowN - 1 ? "" : "\n"); | 
					
						
							|  |  |  |  |                                 ret += temp; //凭借最终的字符串   | 
					
						
							|  |  |  |  |                             } | 
					
						
							|  |  |  |  |                             return ret; | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         else { | 
					
						
							|  |  |  |  |                             return value; | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                     } | 
					
						
							| 
									
										
										
										
											2021-04-30 10:28:37 +08:00
										 |  |  |  |                 }, | 
					
						
							|  |  |  |  |                 type: 'category', | 
					
						
							|  |  |  |  |                 data: xArr, | 
					
						
							|  |  |  |  |                 boundaryGap: [0, 0.01], | 
					
						
							|  |  |  |  |             }, | 
					
						
							|  |  |  |  |             yAxis: { | 
					
						
							|  |  |  |  |                 axisTick: { | 
					
						
							|  |  |  |  |                     show: false | 
					
						
							|  |  |  |  |                 }, | 
					
						
							|  |  |  |  |                 axisLine: { | 
					
						
							|  |  |  |  |                     show: false, | 
					
						
							|  |  |  |  |                     lineStyle: { | 
					
						
							|  |  |  |  |                         color: 'rgba(255, 255, 255, 0.3)' | 
					
						
							|  |  |  |  |                     } | 
					
						
							|  |  |  |  |                 }, | 
					
						
							|  |  |  |  |                 axisLabel: { | 
					
						
							|  |  |  |  |                     show: true, | 
					
						
							|  |  |  |  |                     textStyle: { | 
					
						
							|  |  |  |  |                         color: 'rgba(255, 255, 255, 0.8)' | 
					
						
							|  |  |  |  |                     } | 
					
						
							| 
									
										
										
										
											2024-04-23 17:04:35 +08:00
										 |  |  |  |                 }, | 
					
						
							| 
									
										
										
										
											2021-04-30 10:28:37 +08:00
										 |  |  |  |             }, | 
					
						
							|  |  |  |  |             series: data, | 
					
						
							|  |  |  |  |             grid: { | 
					
						
							|  |  |  |  |                 top: '20%', | 
					
						
							|  |  |  |  |                 left: '0%', | 
					
						
							|  |  |  |  |                 right: '0%', | 
					
						
							|  |  |  |  |                 containLabel: true, | 
					
						
							|  |  |  |  |                 backgroundColor: 'rgba(0,162,233, 0.01)', | 
					
						
							|  |  |  |  |                 // borderColor: 'rgba(0,162,233, 1)' | 
					
						
							|  |  |  |  |             }, | 
					
						
							|  |  |  |  |             backgroundColor: 'rgba(0,162,233, 0.01)', | 
					
						
							|  |  |  |  |             textStyle: { | 
					
						
							|  |  |  |  |                 color: 'rgba(255, 255, 255, 0.3)' | 
					
						
							|  |  |  |  |             } | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         // 使用刚指定的配置项和数据显示图表。 | 
					
						
							|  |  |  |  |         myChart.setOption(option) | 
					
						
							|  |  |  |  |     } | 
					
						
							| 
									
										
										
										
											2024-04-23 17:04:35 +08:00
										 |  |  |  |     var two2 =<%=Two %>; | 
					
						
							| 
									
										
										
										
											2021-04-30 10:28:37 +08:00
										 |  |  |  |     //var xArr = ["分包1", "分包2", "分包3", "分包4", "分包5", "分包6", "分包7", "分包8", "分包9"] | 
					
						
							|  |  |  |  |     var xArr = two2.categories | 
					
						
							|  |  |  |  |     var data = [ | 
					
						
							|  |  |  |  |         { | 
					
						
							|  |  |  |  |             name: '未整改', | 
					
						
							|  |  |  |  |             type: 'bar', | 
					
						
							|  |  |  |  |             stack: '总量', | 
					
						
							|  |  |  |  |             barWidth: 40, | 
					
						
							|  |  |  |  |             //data: [3, 5, 8, 10, 6, 4, 5, 9, 12], | 
					
						
							|  |  |  |  |             data: two2.series[0].data, | 
					
						
							| 
									
										
										
										
											2024-04-23 17:04:35 +08:00
										 |  |  |  |             label: { //柱体上显示数值 | 
					
						
							|  |  |  |  |             show: true,//开启显示 | 
					
						
							| 
									
										
										
										
											2024-04-28 14:14:52 +08:00
										 |  |  |  |             position: ['40%', '50%'],//在上方显示 | 
					
						
							| 
									
										
										
										
											2024-04-23 17:04:35 +08:00
										 |  |  |  |             textStyle: {//数值样式 | 
					
						
							|  |  |  |  |                 fontSize: '20px', | 
					
						
							|  |  |  |  |                 color: '#fff' | 
					
						
							|  |  |  |  |             }, | 
					
						
							|  |  |  |  |             formatter: '{c}', | 
					
						
							|  |  |  |  |         }, | 
					
						
							| 
									
										
										
										
											2021-04-30 10:28:37 +08:00
										 |  |  |  |             itemStyle: { normal: { color: 'rgba(162,63,21, 1)' } } | 
					
						
							|  |  |  |  |         }, | 
					
						
							|  |  |  |  |         { | 
					
						
							|  |  |  |  |             name: '已整改', | 
					
						
							|  |  |  |  |             type: 'bar', | 
					
						
							|  |  |  |  |             stack: '总量', | 
					
						
							|  |  |  |  |             barWidth: 40, | 
					
						
							|  |  |  |  |             //data: [2, 7, 5, 9, 12, 9, 2, 8, 10], | 
					
						
							|  |  |  |  |             data: two2.series[1].data, | 
					
						
							| 
									
										
										
										
											2024-04-23 17:04:35 +08:00
										 |  |  |  |             label: { //柱体上显示数值 | 
					
						
							|  |  |  |  |             show: true,//开启显示 | 
					
						
							| 
									
										
										
										
											2024-04-28 14:14:52 +08:00
										 |  |  |  |             position: ['40%', '50%'],//在上方显示 | 
					
						
							| 
									
										
										
										
											2024-04-23 17:04:35 +08:00
										 |  |  |  |             textStyle: {//数值样式 | 
					
						
							|  |  |  |  |                 fontSize: '20px', | 
					
						
							|  |  |  |  |                 color: '#fff' | 
					
						
							|  |  |  |  |             }, | 
					
						
							|  |  |  |  |             formatter: '{c}', | 
					
						
							|  |  |  |  |         }, | 
					
						
							| 
									
										
										
										
											2021-04-30 10:28:37 +08:00
										 |  |  |  |             itemStyle: { normal: { color: 'rgba(206,143,135,1)' } } | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  |     ] | 
					
						
							| 
									
										
										
										
											2023-10-31 15:22:02 +08:00
										 |  |  |  |     category_Two('two', xArr, data, two2.xFontNum) | 
					
						
							| 
									
										
										
										
											2021-04-30 10:28:37 +08:00
										 |  |  |  | </script> | 
					
						
							|  |  |  |  | <script type="text/javascript"> | 
					
						
							|  |  |  |  |     function category_Three(id, xArr, series) { | 
					
						
							|  |  |  |  |         // 基于准备好的dom,初始化echarts实例 | 
					
						
							|  |  |  |  |         var myChart = echarts.init(document.getElementById(id)) | 
					
						
							|  |  |  |  |         // 指定图表的配置项和数据 | 
					
						
							|  |  |  |  |         var option = { | 
					
						
							|  |  |  |  |             title: { | 
					
						
							|  |  |  |  |                 left: 'center', | 
					
						
							|  |  |  |  |                 text: '作业许可数量统计', | 
					
						
							|  |  |  |  |                 textStyle: { | 
					
						
							|  |  |  |  |                     color: '#fff', | 
					
						
							|  |  |  |  |                     fontSize: 12, | 
					
						
							|  |  |  |  |                     fontWeight: '300' | 
					
						
							|  |  |  |  |                 }, | 
					
						
							|  |  |  |  |                 show: false | 
					
						
							|  |  |  |  |             }, | 
					
						
							|  |  |  |  |             tooltip: {}, | 
					
						
							|  |  |  |  |             legend: { | 
					
						
							|  |  |  |  |                 left: '3%', | 
					
						
							|  |  |  |  |                 orient: 'vertical', | 
					
						
							|  |  |  |  |                 top: '0', | 
					
						
							|  |  |  |  |                 show: true, | 
					
						
							|  |  |  |  |                 selectedMode: false, | 
					
						
							|  |  |  |  |                 textStyle: {//图例文字的样式 | 
					
						
							|  |  |  |  |                     color: '#ffffff', | 
					
						
							|  |  |  |  |                     fontSize: '10' | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |             }, | 
					
						
							| 
									
										
										
										
											2025-07-01 14:07:38 +08:00
										 |  |  |  |             dataZoom: [ | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     type: 'slider', | 
					
						
							|  |  |  |  |                     // start: 0, | 
					
						
							|  |  |  |  |                     // end: 60 | 
					
						
							|  |  |  |  |                     maxValueSpan: 6, | 
					
						
							|  |  |  |  |                     show: true, | 
					
						
							|  |  |  |  |                     yAxisIndex: [0], | 
					
						
							|  |  |  |  |                     left: 0, width: 10, height: '100%', | 
					
						
							|  |  |  |  |                     backgroundColor: 'rgba(0,0,0,0)', | 
					
						
							|  |  |  |  |                     borderColor: 'none', | 
					
						
							|  |  |  |  |                     brushSelect: false, | 
					
						
							|  |  |  |  |                     textStyle: { | 
					
						
							|  |  |  |  |                         color: 'rgba(0,0,0,0)' | 
					
						
							|  |  |  |  |                     }, | 
					
						
							|  |  |  |  |                     selectedDataBackground: { | 
					
						
							|  |  |  |  |                         areaStyle: { | 
					
						
							|  |  |  |  |                             color: 'red', | 
					
						
							|  |  |  |  |                             borderWidth: 0 | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                     }, | 
					
						
							|  |  |  |  |                     handleStyle: {  // 缩放手柄的样式 | 
					
						
							|  |  |  |  |                         color: "#0a1449" | 
					
						
							|  |  |  |  |                     }, | 
					
						
							|  |  |  |  |                     moveHandleStyle: { | 
					
						
							|  |  |  |  |                         color: '#0a1449' | 
					
						
							|  |  |  |  |                     } | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |             ], | 
					
						
							| 
									
										
										
										
											2021-04-30 10:28:37 +08:00
										 |  |  |  |             yAxis: { | 
					
						
							|  |  |  |  |                 axisTick: { | 
					
						
							|  |  |  |  |                     show: false | 
					
						
							|  |  |  |  |                 }, | 
					
						
							|  |  |  |  |                 axisLine: { | 
					
						
							|  |  |  |  |                     lineStyle: { | 
					
						
							|  |  |  |  |                         color: 'rgba(255, 255, 255, 0.3)', | 
					
						
							|  |  |  |  |                     } | 
					
						
							|  |  |  |  |                 }, | 
					
						
							|  |  |  |  |                 axisLabel: { | 
					
						
							|  |  |  |  |                     show: true, | 
					
						
							|  |  |  |  |                     textStyle: { | 
					
						
							|  |  |  |  |                         color: 'rgba(255, 255, 255, 0.8)' | 
					
						
							|  |  |  |  |                     } | 
					
						
							|  |  |  |  |                 }, | 
					
						
							|  |  |  |  |                 type: 'category', | 
					
						
							|  |  |  |  |                 data: xArr | 
					
						
							|  |  |  |  |             }, | 
					
						
							|  |  |  |  |             xAxis: { | 
					
						
							|  |  |  |  |                 axisTick: { | 
					
						
							|  |  |  |  |                     show: false | 
					
						
							|  |  |  |  |                 }, | 
					
						
							|  |  |  |  |                 axisLine: { | 
					
						
							|  |  |  |  |                     show: false, | 
					
						
							|  |  |  |  |                     lineStyle: { | 
					
						
							|  |  |  |  |                         color: 'rgba(255, 255, 255, 0.3)' | 
					
						
							|  |  |  |  |                     } | 
					
						
							|  |  |  |  |                 }, | 
					
						
							|  |  |  |  |                 axisLabel: { | 
					
						
							|  |  |  |  |                     show: true, | 
					
						
							|  |  |  |  |                     textStyle: { | 
					
						
							|  |  |  |  |                         color: 'rgba(255, 255, 255, 0.8)' | 
					
						
							|  |  |  |  |                     } | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |             }, | 
					
						
							|  |  |  |  |             series: series, | 
					
						
							|  |  |  |  |             grid: { | 
					
						
							|  |  |  |  |                 top: '25%', | 
					
						
							|  |  |  |  |                 left: '10', | 
					
						
							|  |  |  |  |                 right: '10', | 
					
						
							|  |  |  |  |                 bottom: '0%', | 
					
						
							|  |  |  |  |                 containLabel: true, | 
					
						
							|  |  |  |  |                 backgroundColor: 'rgba(0,162,233, 0.01)', | 
					
						
							|  |  |  |  |                 // borderColor: 'rgba(0,162,233, 1)' | 
					
						
							|  |  |  |  |             }, | 
					
						
							|  |  |  |  |             backgroundColor: 'rgba(0,162,233, 0.01)', | 
					
						
							|  |  |  |  |             textStyle: { | 
					
						
							|  |  |  |  |                 color: 'rgba(255, 255, 255, 0.3)' | 
					
						
							|  |  |  |  |             } | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         // 使用刚指定的配置项和数据显示图表。 | 
					
						
							|  |  |  |  |         myChart.setOption(option) | 
					
						
							|  |  |  |  |     } | 
					
						
							|  |  |  |  |     var three =<%=Three %>; | 
					
						
							|  |  |  |  |     //var xArr = ["分包1", "分包2", "分包3", "分包4", "分包5", "分包6"] | 
					
						
							|  |  |  |  |     var xArr = three.categories | 
					
						
							|  |  |  |  |     //var data = [12, 5, 28, 43, 22, 11] | 
					
						
							|  |  |  |  |     //var data1 = [21, 9, 12, 15, 8, 43] | 
					
						
							|  |  |  |  |     var series = [{ | 
					
						
							| 
									
										
										
										
											2024-05-14 09:03:31 +08:00
										 |  |  |  |         name: '施工质量一次共检合格率', | 
					
						
							| 
									
										
										
										
											2021-04-30 10:28:37 +08:00
										 |  |  |  |         type: 'bar', | 
					
						
							| 
									
										
										
										
											2023-10-31 15:22:02 +08:00
										 |  |  |  |         barGap: 0, | 
					
						
							| 
									
										
										
										
											2021-04-30 10:28:37 +08:00
										 |  |  |  |         data: three.series[0].data, | 
					
						
							| 
									
										
										
										
											2024-04-28 14:14:52 +08:00
										 |  |  |  |         label: { //柱体上显示数值 | 
					
						
							|  |  |  |  |             show: true,//开启显示 | 
					
						
							|  |  |  |  |             position: ['50%', '30%'],//在上方显示 | 
					
						
							|  |  |  |  |             textStyle: {//数值样式 | 
					
						
							|  |  |  |  |                 fontSize: '20px', | 
					
						
							|  |  |  |  |                 color: '#fff' | 
					
						
							|  |  |  |  |             }, | 
					
						
							|  |  |  |  |             formatter: '{c}', | 
					
						
							|  |  |  |  |         }, | 
					
						
							| 
									
										
										
										
											2021-04-30 10:28:37 +08:00
										 |  |  |  |         itemStyle: { normal: { color: 'rgba(43,155,176,1)' } } | 
					
						
							|  |  |  |  |     }, | 
					
						
							|  |  |  |  |     { | 
					
						
							| 
									
										
										
										
											2024-04-23 17:04:35 +08:00
										 |  |  |  |         name: '焊接一次拍片合格率', | 
					
						
							| 
									
										
										
										
											2021-04-30 10:28:37 +08:00
										 |  |  |  |         type: 'bar', | 
					
						
							|  |  |  |  |         data: three.series[1].data, | 
					
						
							| 
									
										
										
										
											2024-04-28 14:14:52 +08:00
										 |  |  |  |         label: { //柱体上显示数值 | 
					
						
							|  |  |  |  |             show: true,//开启显示 | 
					
						
							|  |  |  |  |             position: ['50%', '30%'],//在上方显示 | 
					
						
							|  |  |  |  |             textStyle: {//数值样式 | 
					
						
							|  |  |  |  |                 fontSize: '20px', | 
					
						
							|  |  |  |  |                 color: '#fff' | 
					
						
							|  |  |  |  |             }, | 
					
						
							|  |  |  |  |             formatter: '{c}', | 
					
						
							|  |  |  |  |         }, | 
					
						
							| 
									
										
										
										
											2023-10-31 15:22:02 +08:00
										 |  |  |  |         barCategoryGap: 10, | 
					
						
							| 
									
										
										
										
											2021-04-30 10:28:37 +08:00
										 |  |  |  |         itemStyle: { normal: { color: 'rgba(140,202,214, 1)' } } | 
					
						
							|  |  |  |  |     }] | 
					
						
							|  |  |  |  |     category_Three('three', xArr, series) | 
					
						
							|  |  |  |  | </script> | 
					
						
							|  |  |  |  | <script type="text/javascript"> | 
					
						
							|  |  |  |  |     function category(id, xArr, series) { | 
					
						
							|  |  |  |  |         // 基于准备好的dom,初始化echarts实例 | 
					
						
							|  |  |  |  |         var myChart = echarts.init(document.getElementById(id)) | 
					
						
							|  |  |  |  |         // 指定图表的配置项和数据 | 
					
						
							|  |  |  |  |         var option = { | 
					
						
							|  |  |  |  |             title: { | 
					
						
							|  |  |  |  |                 // left:'center', | 
					
						
							|  |  |  |  |                 text: '', | 
					
						
							|  |  |  |  |                 textStyle: { | 
					
						
							|  |  |  |  |                     color: '#fff', | 
					
						
							|  |  |  |  |                     fontWeight: 'normal', | 
					
						
							|  |  |  |  |                     fontSize: 12 | 
					
						
							|  |  |  |  |                 }, | 
					
						
							|  |  |  |  |                 show: false | 
					
						
							|  |  |  |  |             }, | 
					
						
							|  |  |  |  |             tooltip: {}, | 
					
						
							|  |  |  |  |             legend: { | 
					
						
							|  |  |  |  |                 left: '3%', | 
					
						
							|  |  |  |  |                 show: true, | 
					
						
							|  |  |  |  |                 selectedMode: false, | 
					
						
							|  |  |  |  |                 textStyle: {//图例文字的样式 | 
					
						
							|  |  |  |  |                     color: '#ffffff' | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |             }, | 
					
						
							| 
									
										
										
										
											2025-07-01 14:07:38 +08:00
										 |  |  |  |             dataZoom: [ | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     type: 'slider', | 
					
						
							|  |  |  |  |                     // start: 0, | 
					
						
							|  |  |  |  |                     // end: 60 | 
					
						
							|  |  |  |  |                     maxValueSpan: 6, | 
					
						
							|  |  |  |  |                     show: true, | 
					
						
							|  |  |  |  |                     xAxisIndex: [0], | 
					
						
							|  |  |  |  |                     bottom: 0, height: 10, | 
					
						
							|  |  |  |  |                     backgroundColor: 'rgba(0,0,0,0)', | 
					
						
							|  |  |  |  |                     borderColor: 'none', | 
					
						
							|  |  |  |  |                     brushSelect: false, | 
					
						
							|  |  |  |  |                     textStyle: { | 
					
						
							|  |  |  |  |                         color: 'rgba(0,0,0,0)' | 
					
						
							|  |  |  |  |                     }, | 
					
						
							|  |  |  |  |                     selectedDataBackground: { | 
					
						
							|  |  |  |  |                         areaStyle: { | 
					
						
							|  |  |  |  |                             color: 'red', | 
					
						
							|  |  |  |  |                             borderWidth: 0 | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                     }, | 
					
						
							|  |  |  |  |                     handleStyle: {  // 缩放手柄的样式 | 
					
						
							|  |  |  |  |                         color: "#0a1449" | 
					
						
							|  |  |  |  |                     }, | 
					
						
							|  |  |  |  |                     moveHandleStyle: { | 
					
						
							|  |  |  |  |                         color: '#0a1449' | 
					
						
							|  |  |  |  |                     } | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |             ], | 
					
						
							| 
									
										
										
										
											2021-04-30 10:28:37 +08:00
										 |  |  |  |             xAxis: { | 
					
						
							|  |  |  |  |                 axisTick: { | 
					
						
							|  |  |  |  |                     show: false | 
					
						
							|  |  |  |  |                 }, | 
					
						
							|  |  |  |  |                 axisLine: { | 
					
						
							|  |  |  |  |                     lineStyle: { | 
					
						
							|  |  |  |  |                         color: 'rgba(255, 255, 255, 0.3)' | 
					
						
							|  |  |  |  |                     } | 
					
						
							|  |  |  |  |                 }, | 
					
						
							|  |  |  |  |                 axisLabel: { | 
					
						
							|  |  |  |  |                     show: true, | 
					
						
							|  |  |  |  |                     textStyle: { | 
					
						
							|  |  |  |  |                         color: 'rgba(255, 255, 255, 0.8)' | 
					
						
							|  |  |  |  |                     }, | 
					
						
							|  |  |  |  |                     interval: 0, | 
					
						
							| 
									
										
										
										
											2025-07-01 14:07:38 +08:00
										 |  |  |  |                     rotate: -15, | 
					
						
							| 
									
										
										
										
											2023-10-31 15:22:02 +08:00
										 |  |  |  |                     formatter: function (value) { | 
					
						
							|  |  |  |  |                         var ret = "";//拼接加\n返回的类目项   | 
					
						
							|  |  |  |  |                         var maxLength = 5;//每项显示文字个数   | 
					
						
							|  |  |  |  |                         var valLength = value.length;//X轴类目项的文字个数   | 
					
						
							|  |  |  |  |                         var rowN = Math.ceil(valLength / maxLength); //类目项需要换行的行数   | 
					
						
							|  |  |  |  |                         if (rowN > 1)//如果类目项的文字大于maxLength,   | 
					
						
							|  |  |  |  |                         { | 
					
						
							|  |  |  |  |                             for (var i = 0; i < rowN; i++) { | 
					
						
							|  |  |  |  |                                 var temp = "";//每次截取的字符串   | 
					
						
							|  |  |  |  |                                 var start = i * maxLength;//开始截取的位置   | 
					
						
							|  |  |  |  |                                 var end = start + maxLength;//结束截取的位置   | 
					
						
							|  |  |  |  |                                 //这里也可以加一个是否是最后一行的判断,但是不加也没有影响,那就不加吧   | 
					
						
							|  |  |  |  |                                 //temp = value.substring(start, end) + "\n";   | 
					
						
							|  |  |  |  |                                 temp = value.substring(start, end) + (i == rowN - 1 ? "" : "\n"); | 
					
						
							|  |  |  |  |                                 ret += temp; //凭借最终的字符串   | 
					
						
							|  |  |  |  |                             } | 
					
						
							|  |  |  |  |                             return ret; | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                         else { | 
					
						
							|  |  |  |  |                             return value; | 
					
						
							|  |  |  |  |                         } | 
					
						
							|  |  |  |  |                     } | 
					
						
							| 
									
										
										
										
											2021-04-30 10:28:37 +08:00
										 |  |  |  |                 }, | 
					
						
							|  |  |  |  |                 type: 'category', | 
					
						
							|  |  |  |  |                 data: xArr | 
					
						
							|  |  |  |  |             }, | 
					
						
							|  |  |  |  |             yAxis: { | 
					
						
							|  |  |  |  |                 axisTick: { | 
					
						
							|  |  |  |  |                     show: false | 
					
						
							|  |  |  |  |                 }, | 
					
						
							|  |  |  |  |                 axisLine: { | 
					
						
							|  |  |  |  |                     show: false, | 
					
						
							|  |  |  |  |                     lineStyle: { | 
					
						
							|  |  |  |  |                         color: 'rgba(255, 255, 255, 0.3)' | 
					
						
							|  |  |  |  |                     } | 
					
						
							|  |  |  |  |                 }, | 
					
						
							|  |  |  |  |                 axisLabel: { | 
					
						
							|  |  |  |  |                     show: true, | 
					
						
							|  |  |  |  |                     textStyle: { | 
					
						
							|  |  |  |  |                         color: 'rgba(255, 255, 255, 0.8)' | 
					
						
							|  |  |  |  |                     } | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |             }, | 
					
						
							|  |  |  |  |             series: series, | 
					
						
							|  |  |  |  |             grid: { | 
					
						
							|  |  |  |  |                 top: '15%', | 
					
						
							|  |  |  |  |                 left: '0%', | 
					
						
							|  |  |  |  |                 right: '0%', | 
					
						
							| 
									
										
										
										
											2025-07-01 14:07:38 +08:00
										 |  |  |  |                 bottom: 28, | 
					
						
							| 
									
										
										
										
											2021-04-30 10:28:37 +08:00
										 |  |  |  |                 containLabel: true, | 
					
						
							|  |  |  |  |                 backgroundColor: 'rgba(0,162,233, 0.01)', | 
					
						
							|  |  |  |  |                 // borderColor: 'rgba(0,162,233, 1)' | 
					
						
							|  |  |  |  |             }, | 
					
						
							|  |  |  |  |             backgroundColor: 'rgba(0,162,233, 0.01)', | 
					
						
							|  |  |  |  |             textStyle: { | 
					
						
							|  |  |  |  |                 color: 'rgba(255, 255, 255, 0.3)' | 
					
						
							|  |  |  |  |             } | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         // 使用刚指定的配置项和数据显示图表。 | 
					
						
							|  |  |  |  |         myChart.setOption(option) | 
					
						
							|  |  |  |  |     } | 
					
						
							|  |  |  |  |     var four =<%=Four %>; | 
					
						
							|  |  |  |  |     //var xArr = ["单位工程1", "单位工程2", "单位工程3", "单位工程4", "单位工程5", "单位工程6", "单位工程7", "单位工程8", "单位工程9"] | 
					
						
							|  |  |  |  |     var xArr = four.categories | 
					
						
							|  |  |  |  |     //var data = [12, 5, 28, 43, 22, 11, 40, 21, 9] | 
					
						
							|  |  |  |  |     //var data1 = [21, 9, 12, 15, 8, 43, 17, 11, 22] | 
					
						
							|  |  |  |  |     var series = [{ | 
					
						
							| 
									
										
										
										
											2024-05-14 09:03:31 +08:00
										 |  |  |  |         name: '施工质量一次共检合格率', | 
					
						
							| 
									
										
										
										
											2021-04-30 10:28:37 +08:00
										 |  |  |  |         type: 'bar', | 
					
						
							| 
									
										
										
										
											2023-10-31 15:22:02 +08:00
										 |  |  |  |         barWidth: 30, | 
					
						
							|  |  |  |  |         barGap: 0, | 
					
						
							| 
									
										
										
										
											2021-04-30 10:28:37 +08:00
										 |  |  |  |         data: four.series[0].data, | 
					
						
							| 
									
										
										
										
											2024-04-23 17:04:35 +08:00
										 |  |  |  |         label: { //柱体上显示数值 | 
					
						
							|  |  |  |  |             show: true,//开启显示 | 
					
						
							|  |  |  |  |             position: ['0%', '50%'],//在上方显示 | 
					
						
							|  |  |  |  |             textStyle: {//数值样式 | 
					
						
							|  |  |  |  |                 fontSize: '20px', | 
					
						
							|  |  |  |  |                 color: '#fff' | 
					
						
							|  |  |  |  |             }, | 
					
						
							|  |  |  |  |             formatter: '{c}', | 
					
						
							|  |  |  |  |         }, | 
					
						
							| 
									
										
										
										
											2021-04-30 10:28:37 +08:00
										 |  |  |  |         itemStyle: { normal: { color: 'rgba(43,155,176,1)' } } | 
					
						
							|  |  |  |  |     }]; | 
					
						
							|  |  |  |  |     category('four', xArr, series) | 
					
						
							|  |  |  |  | </script> | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  | <script> | 
					
						
							|  |  |  |  |     $(".tab .t-item").click(function () { | 
					
						
							|  |  |  |  |         var $this = $(this) | 
					
						
							|  |  |  |  |         var index = $this.index() | 
					
						
							|  |  |  |  |         if ($this.hasClass('active') && index == 0) { | 
					
						
							|  |  |  |  |             return | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  |         var $tab = $this.closest(".tab") | 
					
						
							|  |  |  |  |         var value = $tab.attr("data-value") | 
					
						
							|  |  |  |  |         $tab.find(".t-item").removeClass('active'); | 
					
						
							|  |  |  |  |         $this.addClass('active') | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         var two =<%=Two %>; | 
					
						
							|  |  |  |  |         var two2 =<%=Two2 %>; | 
					
						
							|  |  |  |  |         var two3 =<%=Two3 %>; | 
					
						
							|  |  |  |  |         var two4 =<%=Two4 %>; | 
					
						
							|  |  |  |  |         var three =<%=Three %>; | 
					
						
							|  |  |  |  |         var three2 =<%=Three2 %>; | 
					
						
							|  |  |  |  |         var four =<%=Four %>; | 
					
						
							|  |  |  |  |         var four2 =<%=Four2 %>; | 
					
						
							|  |  |  |  |         var num = 5; | 
					
						
							|  |  |  |  |         if (value == 2) { | 
					
						
							|  |  |  |  |             var xArr = two.categories | 
					
						
							|  |  |  |  |             var data = [ | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     name: '未整改', | 
					
						
							|  |  |  |  |                     type: 'bar', | 
					
						
							|  |  |  |  |                     stack: '总量', | 
					
						
							|  |  |  |  |                     //data: [3, 5, 8, 10, 6, 4, 5, 9, 12], | 
					
						
							|  |  |  |  |                     data: two.series[0].data, | 
					
						
							| 
									
										
										
										
											2024-04-23 17:04:35 +08:00
										 |  |  |  |                     label: { //柱体上显示数值 | 
					
						
							|  |  |  |  |             show: true,//开启显示 | 
					
						
							| 
									
										
										
										
											2024-04-28 14:14:52 +08:00
										 |  |  |  |             position: ['40%', '50%'],//在上方显示 | 
					
						
							| 
									
										
										
										
											2024-04-23 17:04:35 +08:00
										 |  |  |  |             textStyle: {//数值样式 | 
					
						
							|  |  |  |  |                 fontSize: '20px', | 
					
						
							|  |  |  |  |                 color: '#fff' | 
					
						
							|  |  |  |  |             }, | 
					
						
							|  |  |  |  |             formatter: '{c}', | 
					
						
							|  |  |  |  |         }, | 
					
						
							| 
									
										
										
										
											2021-04-30 10:28:37 +08:00
										 |  |  |  |                     itemStyle: { normal: { color: 'rgba(162,63,21, 1)' } } | 
					
						
							|  |  |  |  |                 }, | 
					
						
							|  |  |  |  |                 { | 
					
						
							|  |  |  |  |                     name: '已整改', | 
					
						
							|  |  |  |  |                     type: 'bar', | 
					
						
							|  |  |  |  |                     stack: '总量', | 
					
						
							|  |  |  |  |                     //data: [2, 7, 5, 9, 12, 9, 2, 8, 10], | 
					
						
							|  |  |  |  |                     data: two.series[1].data, | 
					
						
							| 
									
										
										
										
											2024-04-23 17:04:35 +08:00
										 |  |  |  |                     label: { //柱体上显示数值 | 
					
						
							|  |  |  |  |             show: true,//开启显示 | 
					
						
							| 
									
										
										
										
											2024-04-28 14:14:52 +08:00
										 |  |  |  |             position: ['40%', '50%'],//在上方显示 | 
					
						
							| 
									
										
										
										
											2024-04-23 17:04:35 +08:00
										 |  |  |  |             textStyle: {//数值样式 | 
					
						
							|  |  |  |  |                 fontSize: '20px', | 
					
						
							|  |  |  |  |                 color: '#fff' | 
					
						
							|  |  |  |  |             }, | 
					
						
							|  |  |  |  |             formatter: '{c}', | 
					
						
							|  |  |  |  |         }, | 
					
						
							| 
									
										
										
										
											2021-04-30 10:28:37 +08:00
										 |  |  |  |                     itemStyle: { normal: { color: 'rgba(206,143,135,1)' } } | 
					
						
							|  |  |  |  |                 } | 
					
						
							|  |  |  |  |             ]; | 
					
						
							|  |  |  |  |             num = two.xFontNum; | 
					
						
							|  |  |  |  |             if (index == 2) { | 
					
						
							|  |  |  |  |                 //xArr = ["单位工程1", "单位工程2", "单位工程3", "单位工程4", "单位工程5", "单位工程6", "单位工程7", "单位工程8", "单位工程9"] | 
					
						
							|  |  |  |  |                 xArr = two2.categories | 
					
						
							|  |  |  |  |                 data = [ | 
					
						
							|  |  |  |  |                     { | 
					
						
							|  |  |  |  |                         name: '未整改', | 
					
						
							|  |  |  |  |                         type: 'bar', | 
					
						
							|  |  |  |  |                         stack: '总量', | 
					
						
							|  |  |  |  |                         //data: [13, 5, 18, 10, 6, 4, 5, 9, 22], | 
					
						
							|  |  |  |  |                         data: two2.series[0].data, | 
					
						
							| 
									
										
										
										
											2024-04-23 17:04:35 +08:00
										 |  |  |  |                         label: { //柱体上显示数值 | 
					
						
							|  |  |  |  |             show: true,//开启显示 | 
					
						
							| 
									
										
										
										
											2024-04-28 14:14:52 +08:00
										 |  |  |  |             position: ['40%', '50%'],//在上方显示 | 
					
						
							| 
									
										
										
										
											2024-04-23 17:04:35 +08:00
										 |  |  |  |             textStyle: {//数值样式 | 
					
						
							|  |  |  |  |                 fontSize: '20px', | 
					
						
							|  |  |  |  |                 color: '#fff' | 
					
						
							|  |  |  |  |             }, | 
					
						
							|  |  |  |  |             formatter: '{c}', | 
					
						
							|  |  |  |  |         }, | 
					
						
							| 
									
										
										
										
											2021-04-30 10:28:37 +08:00
										 |  |  |  |                         itemStyle: { normal: { color: 'rgba(162,63,21, 1)' } } | 
					
						
							|  |  |  |  |                     }, | 
					
						
							|  |  |  |  |                     { | 
					
						
							|  |  |  |  |                         name: '已整改', | 
					
						
							|  |  |  |  |                         type: 'bar', | 
					
						
							|  |  |  |  |                         stack: '总量', | 
					
						
							|  |  |  |  |                         //data: [2, 7, 15, 9, 12, 29, 12, 18, 10], | 
					
						
							|  |  |  |  |                         data: two2.series[1].data, | 
					
						
							| 
									
										
										
										
											2024-04-23 17:04:35 +08:00
										 |  |  |  |                         label: { //柱体上显示数值 | 
					
						
							|  |  |  |  |             show: true,//开启显示 | 
					
						
							| 
									
										
										
										
											2024-04-28 14:14:52 +08:00
										 |  |  |  |             position: ['40%', '50%'],//在上方显示 | 
					
						
							| 
									
										
										
										
											2024-04-23 17:04:35 +08:00
										 |  |  |  |             textStyle: {//数值样式 | 
					
						
							|  |  |  |  |                 fontSize: '20px', | 
					
						
							|  |  |  |  |                 color: '#fff' | 
					
						
							|  |  |  |  |             }, | 
					
						
							|  |  |  |  |             formatter: '{c}', | 
					
						
							|  |  |  |  |         }, | 
					
						
							| 
									
										
										
										
											2021-04-30 10:28:37 +08:00
										 |  |  |  |                         itemStyle: { normal: { color: 'rgba(206,143,135,1)' } } | 
					
						
							|  |  |  |  |                     } | 
					
						
							|  |  |  |  |                 ]; | 
					
						
							|  |  |  |  |                 num = two2.xFontNum; | 
					
						
							|  |  |  |  |             } | 
					
						
							|  |  |  |  |             else if (index == 4) { | 
					
						
							|  |  |  |  |                 //xArr = ["专业1", "专业2", "专业3", "专业4", "专业5", "专业6", "专业7", "专业8", "专业9"] | 
					
						
							|  |  |  |  |                 xArr = two3.categories | 
					
						
							|  |  |  |  |                 data = [ | 
					
						
							|  |  |  |  |                     { | 
					
						
							|  |  |  |  |                         name: '未整改', | 
					
						
							|  |  |  |  |                         type: 'bar', | 
					
						
							|  |  |  |  |                         stack: '总量', | 
					
						
							|  |  |  |  |                         //data: [23, 25, 18, 10, 16, 4, 5, 29, 2], | 
					
						
							|  |  |  |  |                         data: two3.series[0].data, | 
					
						
							| 
									
										
										
										
											2024-04-23 17:04:35 +08:00
										 |  |  |  |                         label: { //柱体上显示数值 | 
					
						
							|  |  |  |  |             show: true,//开启显示 | 
					
						
							| 
									
										
										
										
											2024-04-28 14:14:52 +08:00
										 |  |  |  |             position: ['40%', '50%'],//在上方显示 | 
					
						
							| 
									
										
										
										
											2024-04-23 17:04:35 +08:00
										 |  |  |  |             textStyle: {//数值样式 | 
					
						
							|  |  |  |  |                 fontSize: '20px', | 
					
						
							|  |  |  |  |                 color: '#fff' | 
					
						
							|  |  |  |  |             }, | 
					
						
							|  |  |  |  |             formatter: '{c}', | 
					
						
							|  |  |  |  |         }, | 
					
						
							| 
									
										
										
										
											2021-04-30 10:28:37 +08:00
										 |  |  |  |                         itemStyle: { normal: { color: 'rgba(162,63,21, 1)' } } | 
					
						
							|  |  |  |  |                     }, | 
					
						
							|  |  |  |  |                     { | 
					
						
							|  |  |  |  |                         name: '已整改', | 
					
						
							|  |  |  |  |                         type: 'bar', | 
					
						
							|  |  |  |  |                         stack: '总量', | 
					
						
							|  |  |  |  |                         //data: [2, 27, 15, 9, 12, 29, 32, 18, 1], | 
					
						
							|  |  |  |  |                         data: two3.series[1].data, | 
					
						
							| 
									
										
										
										
											2024-04-23 17:04:35 +08:00
										 |  |  |  |                         label: { //柱体上显示数值 | 
					
						
							|  |  |  |  |             show: true,//开启显示 | 
					
						
							| 
									
										
										
										
											2024-04-28 14:14:52 +08:00
										 |  |  |  |             position: ['40%', '50%'],//在上方显示 | 
					
						
							| 
									
										
										
										
											2024-04-23 17:04:35 +08:00
										 |  |  |  |             textStyle: {//数值样式 | 
					
						
							|  |  |  |  |                 fontSize: '20px', | 
					
						
							|  |  |  |  |                 color: '#fff' | 
					
						
							|  |  |  |  |             }, | 
					
						
							|  |  |  |  |             formatter: '{c}', | 
					
						
							|  |  |  |  |         }, | 
					
						
							| 
									
										
										
										
											2021-04-30 10:28:37 +08:00
										 |  |  |  |                         itemStyle: { normal: { color: 'rgba(206,143,135,1)' } } | 
					
						
							|  |  |  |  |                     } | 
					
						
							|  |  |  |  |                 ]; | 
					
						
							|  |  |  |  |                 num = two3.xFontNum; | 
					
						
							|  |  |  |  |             } | 
					
						
							| 
									
										
										
										
											2023-10-31 15:22:02 +08:00
										 |  |  |  |             category_Two('two', xArr, data, num) | 
					
						
							| 
									
										
										
										
											2021-04-30 10:28:37 +08:00
										 |  |  |  |         } | 
					
						
							|  |  |  |  |         else if (value == 3) { | 
					
						
							|  |  |  |  |             //var xArr = ["分包1", "分包2", "分包3", "分包4", "分包5", "分包6"] | 
					
						
							|  |  |  |  |             var xArr = three.categories | 
					
						
							|  |  |  |  |             //var data = [12, 5, 28, 43, 22, 11] | 
					
						
							|  |  |  |  |             //var data1 = [21, 9, 12, 15, 8, 43] | 
					
						
							|  |  |  |  |             var series = [{ | 
					
						
							| 
									
										
										
										
											2024-05-14 09:03:31 +08:00
										 |  |  |  |                 name: '施工质量一次共检合格率', | 
					
						
							| 
									
										
										
										
											2021-04-30 10:28:37 +08:00
										 |  |  |  |                 type: 'bar', | 
					
						
							|  |  |  |  |                 data: three.series[0].data, | 
					
						
							|  |  |  |  |                 itemStyle: { normal: { color: 'rgba(43,155,176,1)' } } | 
					
						
							|  |  |  |  |             }, | 
					
						
							|  |  |  |  |             { | 
					
						
							| 
									
										
										
										
											2024-04-28 14:14:52 +08:00
										 |  |  |  |                 name: '焊接一次拍片合格率', | 
					
						
							| 
									
										
										
										
											2021-04-30 10:28:37 +08:00
										 |  |  |  |                 type: 'bar', | 
					
						
							|  |  |  |  |                 data: three.series[1].data, | 
					
						
							|  |  |  |  |                 itemStyle: { normal: { color: 'rgba(140,202,214, 1)' } } | 
					
						
							|  |  |  |  |             }]; | 
					
						
							|  |  |  |  |             if (index == 2) { | 
					
						
							|  |  |  |  |                 //xArr = ["专业1", "专业2", "专业3", "专业4", "专业5", "专业6"] | 
					
						
							|  |  |  |  |                 xArr = three2.categories | 
					
						
							|  |  |  |  |                 series = [{ | 
					
						
							| 
									
										
										
										
											2024-05-14 09:03:31 +08:00
										 |  |  |  |                     name: '施工质量一次共检合格率', | 
					
						
							| 
									
										
										
										
											2021-04-30 10:28:37 +08:00
										 |  |  |  |                     type: 'bar', | 
					
						
							|  |  |  |  |                     data: three2.series[0].data, | 
					
						
							|  |  |  |  |                     itemStyle: { normal: { color: 'rgba(43,155,176,1)' } } | 
					
						
							|  |  |  |  |                 }, | 
					
						
							|  |  |  |  |                 { | 
					
						
							| 
									
										
										
										
											2024-04-28 14:14:52 +08:00
										 |  |  |  |                     name: '焊接一次拍片合格率', | 
					
						
							| 
									
										
										
										
											2021-04-30 10:28:37 +08:00
										 |  |  |  |                     type: 'bar', | 
					
						
							|  |  |  |  |                     data: three2.series[1].data, | 
					
						
							|  |  |  |  |                     itemStyle: { normal: { color: 'rgba(140,202,214, 1)' } } | 
					
						
							|  |  |  |  |                 }]; | 
					
						
							|  |  |  |  |             } | 
					
						
							|  |  |  |  |             category_Three('three', xArr, series) | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  |         else if (value == 4) { | 
					
						
							|  |  |  |  |             var xArr = four.categories | 
					
						
							|  |  |  |  |             var series = [{ | 
					
						
							| 
									
										
										
										
											2024-05-14 09:03:31 +08:00
										 |  |  |  |                 name: '施工质量一次共检合格率', | 
					
						
							| 
									
										
										
										
											2021-04-30 10:28:37 +08:00
										 |  |  |  |                 type: 'bar', | 
					
						
							|  |  |  |  |                 data: four.series[0].data, | 
					
						
							|  |  |  |  |                 itemStyle: { normal: { color: 'rgba(43,155,176,1)' } } | 
					
						
							|  |  |  |  |             }, | 
					
						
							|  |  |  |  |             { | 
					
						
							| 
									
										
										
										
											2024-04-28 14:14:52 +08:00
										 |  |  |  |                 name: '焊接一次拍片合格率', | 
					
						
							| 
									
										
										
										
											2021-04-30 10:28:37 +08:00
										 |  |  |  |                 type: 'bar', | 
					
						
							|  |  |  |  |                 data: four.series[1].data, | 
					
						
							|  |  |  |  |                 itemStyle: { normal: { color: 'rgba(140,202,214, 1)' } } | 
					
						
							|  |  |  |  |             }]; | 
					
						
							|  |  |  |  |             if (index == 2) { | 
					
						
							|  |  |  |  |                 xArr = four2.categories | 
					
						
							|  |  |  |  |                 series = [{ | 
					
						
							| 
									
										
										
										
											2024-05-14 09:03:31 +08:00
										 |  |  |  |                     name: '施工质量一次共检合格率', | 
					
						
							| 
									
										
										
										
											2023-10-31 15:22:02 +08:00
										 |  |  |  |                     type: 'bar', | 
					
						
							|  |  |  |  |                     data: four2.series[0].data, | 
					
						
							|  |  |  |  |                     itemStyle: { normal: { color: 'rgba(43,155,176,1)' } } | 
					
						
							|  |  |  |  |                 }, | 
					
						
							|  |  |  |  |                 { | 
					
						
							| 
									
										
										
										
											2024-04-28 14:14:52 +08:00
										 |  |  |  |                     name: '焊接一次拍片合格率', | 
					
						
							| 
									
										
										
										
											2023-10-31 15:22:02 +08:00
										 |  |  |  |                     type: 'bar', | 
					
						
							|  |  |  |  |                     data: four2.series[1].data, | 
					
						
							|  |  |  |  |                     itemStyle: { normal: { color: 'rgba(140,202,214, 1)' } } | 
					
						
							|  |  |  |  |                 }]; | 
					
						
							| 
									
										
										
										
											2021-04-30 10:28:37 +08:00
										 |  |  |  |             } | 
					
						
							|  |  |  |  |             category('four', xArr, series) | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  |     }) | 
					
						
							|  |  |  |  | </script> | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  | </html> | 
					
						
							|  |  |  |  | 
 |