| 
						
						
						
					 | 
					@ -1,42 +1,44 @@ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					<template> | 
					 | 
					 | 
					<template> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					  <div class='congestion'> | 
					 | 
					 | 
					  <div class="congestion"> | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					    <WgtTitle :title="'路段日感知事件'"></WgtTitle> | 
					 | 
					 | 
					    <WgtTitle :title="'路段日感知事件'"></WgtTitle> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    <div class="board"> | 
					 | 
					 | 
					    <div class="board"> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					      <Empty v-show="!dataList || dataList.length <= 0" text="暂无数据..."></Empty> | 
					 | 
					 | 
					      <Empty | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					      <div v-show="dataList && dataList.length > 0" style="width: 450px;" class="charts keep-ratio " id="railwayDay"> | 
					 | 
					 | 
					        v-show="!dataList || dataList.length <= 0" | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					      </div> | 
					 | 
					 | 
					        text="暂无数据..." | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					      ></Empty> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					      <div | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        v-show="dataList && dataList.length > 0" | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        style="width: 450px" | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        class="charts keep-ratio" | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        id="railwayDay" | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					      ></div> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    </div> | 
					 | 
					 | 
					    </div> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					  </div> | 
					 | 
					 | 
					  </div> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					</template> | 
					 | 
					 | 
					</template> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					<script> | 
					 | 
					 | 
					<script> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					
 | 
					 | 
					 | 
					import WgtTitle from "../../../widgets/title"; | 
				
			
			
				
				
			
		
	
		
		
			
				
					 | 
					 | 
					import WgtTitle from '../../../widgets/title' | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					import * as echarts from "echarts"; | 
					 | 
					 | 
					import * as echarts from "echarts"; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					import chartsStatistics from "./assets/charts"; | 
					 | 
					 | 
					import chartsStatistics from "./assets/charts"; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					import { getSectionPerceivedNumber } from '../../../../../../../api/event/perceiveEvent'; | 
					 | 
					 | 
					import { getSectionPerceivedNumber } from "../../../../../../../api/event/perceiveEvent"; | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					export default { | 
					 | 
					 | 
					export default { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					  name: 'RailWayDay', | 
					 | 
					 | 
					  name: "RailWayDay", | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					  components: { | 
					 | 
					 | 
					  components: { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					    WgtTitle | 
					 | 
					 | 
					    WgtTitle, | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					  }, | 
					 | 
					 | 
					  }, | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					  data() { | 
					 | 
					 | 
					  data() { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    return { | 
					 | 
					 | 
					    return { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					      dataList: [] | 
					 | 
					 | 
					      dataList: [], | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					    } | 
					 | 
					 | 
					    }; | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					  }, | 
					 | 
					 | 
					  }, | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					  created() { | 
					 | 
					 | 
					  created() {}, | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					
 | 
					 | 
					 | 
					  methods: {}, | 
				
			
			
				
				
			
		
	
		
		
			
				
					 | 
					 | 
					  }, | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					  methods: { | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					  }, | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					  mounted() { | 
					 | 
					 | 
					  mounted() { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    setTimeout(() => { | 
					 | 
					 | 
					    setTimeout(() => { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					      this.$nextTick(() => { | 
					 | 
					 | 
					      this.$nextTick(() => { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					        var myChart = echarts.init(document.getElementById('railwayDay')); | 
					 | 
					 | 
					        var myChart = echarts.init(document.getElementById("railwayDay")); | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					        getSectionPerceivedNumber().then((res) => { | 
					 | 
					 | 
					        getSectionPerceivedNumber().then((res) => { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					          if (res.code == 200) { | 
					 | 
					 | 
					          if (res.code == 200) { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            this.dataList = res.data; | 
					 | 
					 | 
					            this.dataList = res.data; | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					@ -44,9 +46,11 @@ export default { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            if (data.length > 0) { | 
					 | 
					 | 
					            if (data.length > 0) { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					              let texts = []; | 
					 | 
					 | 
					              let texts = []; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					              let datas = []; | 
					 | 
					 | 
					              let datas = []; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					              const maxObject = data.reduce((prev, current) => (current.number > prev.number ? current : prev)); | 
					 | 
					 | 
					              const maxObject = data.reduce((prev, current) => | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					                current.number > prev.number ? current : prev | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					              ); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					              data.forEach(it => { | 
					 | 
					 | 
					              data.forEach((it) => { | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					                texts.push(it.sectionName); | 
					 | 
					 | 
					                texts.push(it.sectionName); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                if (it.number == maxObject.number) { | 
					 | 
					 | 
					                if (it.number == maxObject.number) { | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					@ -54,62 +58,69 @@ export default { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                    value: it.number, | 
					 | 
					 | 
					                    value: it.number, | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                    itemStyle: { | 
					 | 
					 | 
					                    itemStyle: { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                      color: { | 
					 | 
					 | 
					                      color: { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					                        type: 'linear', | 
					 | 
					 | 
					                        type: "linear", | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					                        x: 0, | 
					 | 
					 | 
					                        x: 0, | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                        y: 0, | 
					 | 
					 | 
					                        y: 0, | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                        x2: 0, | 
					 | 
					 | 
					                        x2: 0, | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                        y2: 1, | 
					 | 
					 | 
					                        y2: 1, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					                        colorStops: [{ | 
					 | 
					 | 
					                        colorStops: [ | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					                          offset: 0, color: '#0469FF' // 0% 处的颜色 | 
					 | 
					 | 
					                          { | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					                        }, { | 
					 | 
					 | 
					                            offset: 0, | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					                          offset: 1, color: '#699CFF' // 100% 处的颜色 | 
					 | 
					 | 
					                            color: "#0469FF", // 0% 处的颜色 | 
				
			
			
				
				
			
		
	
		
		
			
				
					 | 
					 | 
					                        }], | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                        global: false // 缺省为 false | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					                          }, | 
					 | 
					 | 
					                          }, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					                      borderRadius: 6 | 
					 | 
					 | 
					                          { | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					                            offset: 1, | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					                            color: "#699CFF", // 100% 处的颜色 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					                          }, | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					                        ], | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					                        global: false, // 缺省为 false | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					                      }, | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					                      borderRadius: 6, | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                    }, | 
					 | 
					 | 
					                    }, | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                  }); | 
					 | 
					 | 
					                  }); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                } else { | 
					 | 
					 | 
					                } else { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                  datas.push({ | 
					 | 
					 | 
					                  datas.push({ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                    value: it.number, | 
					 | 
					 | 
					                    value: it.number, | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                    itemStyle: { | 
					 | 
					 | 
					                    itemStyle: { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					                      borderRadius: 6 | 
					 | 
					 | 
					                      borderRadius: 6, | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					                    }, | 
					 | 
					 | 
					                    }, | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                  }); | 
					 | 
					 | 
					                  }); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                } | 
					 | 
					 | 
					                } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					              }); | 
					 | 
					 | 
					              }); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					              chartsStatistics.xAxis.data = texts; | 
					 | 
					 | 
					              chartsStatistics.xAxis.data = texts; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					              chartsStatistics.series[0].data = datas; | 
					 | 
					 | 
					              chartsStatistics.series[0].data = datas; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            } | 
					 | 
					 | 
					            } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            myChart.setOption(chartsStatistics); | 
					 | 
					 | 
					            myChart.setOption(chartsStatistics); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					          } | 
					 | 
					 | 
					          } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					        }) | 
					 | 
					 | 
					        }); | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					      }); | 
					 | 
					 | 
					      }); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    }); | 
					 | 
					 | 
					    }); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					  }, | 
					 | 
					 | 
					  }, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					} | 
					 | 
					 | 
					}; | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					</script> | 
					 | 
					 | 
					</script> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					<style lang='scss' scoped> | 
					 | 
					 | 
					<style lang="scss" scoped> | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					.congestion { | 
					 | 
					 | 
					.congestion { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					  width: 100%; | 
					 | 
					 | 
					  width: 100%; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					  .board { | 
					 | 
					 | 
					  .board { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    height: 200px; | 
					 | 
					 | 
					    height: 200px; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    width: 100%; | 
					 | 
					 | 
					    width: 100%; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					    padding: 0px 20px; | 
					 | 
					 | 
					    // padding: 0px 20px; | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					    background: linear-gradient(180deg, rgba(6, 66, 88, 0.2) 0%, #064258 100%); | 
					 | 
					 | 
					    background: linear-gradient(180deg, rgba(6, 66, 88, 0.2) 0%, #064258 100%); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    border-radius: 5px 5px 5px 5px; | 
					 | 
					 | 
					    border-radius: 5px 5px 5px 5px; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    opacity: 1; | 
					 | 
					 | 
					    opacity: 1; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    border: 1px solid; | 
					 | 
					 | 
					    border: 1px solid; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					    border-image: linear-gradient(360deg, rgba(55, 231, 255, 0.3), rgba(55, 231, 255, 0)) 1 1; | 
					 | 
					 | 
					    border-image: linear-gradient( | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        360deg, | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        rgba(55, 231, 255, 0.3), | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        rgba(55, 231, 255, 0) | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					      ) | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					      1 1; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    display: flex; | 
					 | 
					 | 
					    display: flex; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    justify-content: space-between; | 
					 | 
					 | 
					    justify-content: space-between; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    align-items: center; | 
					 | 
					 | 
					    align-items: center; | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					  } | 
					 | 
					 | 
					  } | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					} | 
					 | 
					 | 
					} | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |