Browse Source

改bug

wangqin
hui 1 year ago
parent
commit
b73c8d0092
  1. 2
      ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/eventQuery/assets/charts3.js
  2. 4
      ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/eventQuery/index.vue
  3. 2
      ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/index.vue
  4. 7
      ruoyi-ui/src/views/JiHeExpressway/pages/perception/meteorologyCheck/components/weatherInfoQuery/components/TemperatureTrend/index.vue
  5. 15
      ruoyi-ui/src/views/JiHeExpressway/pages/perception/meteorologyCheck/components/weatherInfoQuery/components/visibilityTrends/index.vue
  6. 13
      ruoyi-ui/src/views/JiHeExpressway/pages/perception/meteorologyCheck/components/weatherInfoQuery/components/weaterData/index.vue
  7. 24
      ruoyi-ui/src/views/JiHeExpressway/pages/perception/meteorologyCheck/components/weatherInfoQuery/index.vue
  8. 72
      ruoyi-ui/src/views/JiHeExpressway/pages/perception/meteorologyCheck/index.vue
  9. 6
      ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficFlow/components/classification/index.vue
  10. 3
      ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficFlow/components/heightway/index.vue
  11. 20
      ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficFlow/components/situation/index.vue
  12. 5
      ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficFlow/components/traffic/index.vue
  13. 73
      ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficFlow/index.vue

2
ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/eventQuery/assets/charts3.js

@ -25,7 +25,7 @@ let options = {
left: "2%", left: "2%",
right: "4%", right: "4%",
top: "30px", top: "30px",
bottom: "5%", bottom: "20px",
containLabel: true, containLabel: true,
}, },
xAxis: { xAxis: {

4
ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/components/eventQuery/index.vue

@ -613,8 +613,10 @@ export default {
.unit_con { .unit_con {
flex: 1; flex: 1;
height: 0; padding: 0;
margin: 95px 20px 30px; position: relative; margin: 95px 20px 30px; position: relative;
// &.unit_con_02{ margin: 105px 0px 20px; } // &.unit_con_02{ margin: 105px 0px 20px; }
display: flex; align-items: center;
} }
.empty { .empty {
@ -623,7 +625,7 @@ export default {
.chart_div { .chart_div {
width: 100%; width: 100%;
height: 100%; height:200px;
} }
} }

2
ruoyi-ui/src/views/JiHeExpressway/pages/perception/eventDetection/index.vue

@ -84,7 +84,7 @@ export default {
} }
.row_02 { .row_02 {
flex: 1; flex: 1; height: 0;
// pointer-events: none; // pointer-events: none;
} }
} }

7
ruoyi-ui/src/views/JiHeExpressway/pages/perception/meteorologyCheck/components/weatherInfoQuery/components/TemperatureTrend/index.vue

@ -2,7 +2,7 @@
<div class='congestion'> <div class='congestion'>
<WgtTitle :title="'气温变化趋势'"></WgtTitle> <WgtTitle :title="'气温变化趋势'"></WgtTitle>
<div class="board"> <div class="board">
<div class="charts keep-ratio " id="temperatureTrend"></div> <div class="charts" id="temperatureTrend"></div>
</div> </div>
</div> </div>
</template> </template>
@ -51,10 +51,9 @@
<style lang='scss' scoped> <style lang='scss' scoped>
.congestion { .congestion {
width: 100%; display: flex; flex-direction: column;
.board{ .board{
height:260px; flex: 1;
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;

15
ruoyi-ui/src/views/JiHeExpressway/pages/perception/meteorologyCheck/components/weatherInfoQuery/components/visibilityTrends/index.vue

@ -2,7 +2,7 @@
<div class='congestion'> <div class='congestion'>
<WgtTitle :title="'能见度变化趋势'"></WgtTitle> <WgtTitle :title="'能见度变化趋势'"></WgtTitle>
<div class="board"> <div class="board">
<div class="charts keep-ratio " id="VisibilityTrends"></div> <div class="charts" id="VisibilityTrends"></div>
</div> </div>
</div> </div>
</template> </template>
@ -52,25 +52,22 @@
<style lang='scss' scoped> <style lang='scss' scoped>
.congestion { .congestion {
width: 100%; display: flex; flex-direction: column; align-items: stretch;
.board{ .board{
height:260px; flex: 1;
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; flex-direction: column;
justify-content: space-between; justify-content: center;
align-items: center; align-items: stretch;
} }
} }
.charts { .charts {
height:200px; height:200px;
width: 100%;
} }
</style> </style>

13
ruoyi-ui/src/views/JiHeExpressway/pages/perception/meteorologyCheck/components/weatherInfoQuery/components/weaterData/index.vue

@ -2,7 +2,7 @@
<div class='congestion'> <div class='congestion'>
<WgtTitle :title="'气象监测数据'"></WgtTitle> <WgtTitle :title="'气象监测数据'"></WgtTitle>
<div class="board"> <div class="board">
<div class="showRoad" > <div class="showRoad">
<div :class="it.type?it.type+' item':'item'" v-for="(it,index) in dataList" > <div :class="it.type?it.type+' item':'item'" v-for="(it,index) in dataList" >
<span class="label" >{{ it.text }}</span> <span class="label" >{{ it.text }}</span>
<span class="text" >{{ it.value }}</span> <span class="text" >{{ it.value }}</span>
@ -100,9 +100,9 @@
<style lang='scss' scoped> <style lang='scss' scoped>
.congestion { .congestion {
width: 100%; width: 100%; display: flex;
.board{ .board{
height:260px; flex: 1;
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%);
@ -112,15 +112,12 @@
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: flex-start; align-items: center;
flex-direction: row; flex-direction: row;
overflow: auto; overflow: auto;
.showRoad { .showRoad {
display: inline-flex; display: flex;
width:100%;
height:35px;
flex-direction: row;
flex-wrap: wrap; flex-wrap: wrap;
> .item { > .item {

24
ruoyi-ui/src/views/JiHeExpressway/pages/perception/meteorologyCheck/components/weatherInfoQuery/index.vue

@ -1,6 +1,5 @@
<template> <template>
<div class='congestion'> <div class='congestion'>
<div class="board">
<div class="queryList" > <div class="queryList" >
<Card v-for="(item, index) in data" :cardData="item" :keyMap="keyMap" :hasBtn="false" :gap="'10px'" :key="index"> <Card v-for="(item, index) in data" :cardData="item" :keyMap="keyMap" :hasBtn="false" :gap="'10px'" :key="index">
<template #form-start="{ data }"> <template #form-start="{ data }">
@ -15,7 +14,7 @@
<TemperatureTrend ref="temper" class="charts-ms" /> <TemperatureTrend ref="temper" class="charts-ms" />
<VisibilityTrends ref="visibility" class="charts-ms" /> <VisibilityTrends ref="visibility" class="charts-ms" />
</div> </div>
</div>
</div> </div>
</template> </template>
@ -107,22 +106,14 @@
.congestion { .congestion {
width: 100%; width: 100%;
height:100%; height:100%;
display: flex; flex-direction: column;
.board{
height: calc(100% - 235px);
width: 100%;
padding: 0px 0px;
border-radius: 5px 5px 5px 5px;
opacity: 1;
display: flex;
justify-content: space-between;
align-items: center;
flex-direction: column;
.queryCharts { .queryCharts {
display: inline-flex; display: inline-flex;
width:100%; width:100%;
height: 316px; flex:1;
.charts-l { .charts-l {
width:30%; width:30%;
@ -130,7 +121,7 @@
.charts-ms { .charts-ms {
width:40%; width:40%;
margin-left:20px; margin-left:14px;
} }
} }
@ -159,12 +150,7 @@
} }
} }
}
} }
.charts {
height:180px;
width: 100%;
}
</style> </style>

72
ruoyi-ui/src/views/JiHeExpressway/pages/perception/meteorologyCheck/index.vue

@ -1,11 +1,11 @@
<template> <template>
<div class="TrafficFlow"> <div class="TrafficFlow">
<section class="content"> <section class="row_01">
<RoadNetwork class="content-l" /> <RoadNetwork class="unit_01" />
<WeatherForecast class="content-l" style="margin-right: 0" /> <WeatherForecast class="unit_02" style="margin-right: 0" />
</section> </section>
<section class="foot"> <section class="row_02">
<el-tabs class="footTabs" v-model="activeName" @tab-click="changeTabs"> <el-tabs class="full_tab" v-model="activeName" @tab-click="changeTabs">
<el-tab-pane label="短临预报" name="first"> <el-tab-pane label="短临预报" name="first">
<div class="foot-shot"> <div class="foot-shot">
<SortFaceForecast /> <SortFaceForecast />
@ -73,59 +73,31 @@ export default {
opacity: 0.1; opacity: 0.1;
} }
.footTabs { .full_tab {
display: inline;
width: 100%; width: 100%;
height: 100%;
display: flex; flex-direction: column; flex: 1;
::v-deep .el-tabs__header{}
::v-deep .el-tabs__content{ flex: 1;
.el-tab-pane{ width: 100%; height: 100%;}
}
} }
.TrafficFlow { .TrafficFlow {
width: 100%; width: 100%;
height: 100%; height: 100%;
position: relative; display: flex; align-items: stretch;
z-index: 6; flex-direction: column;
color: white; padding: 14px;
.row_01 {
.head { display: flex; flex-direction: row; align-items: stretch;
width: 98%; .unit_01,.unit_02{
margin: auto; flex-basis: 50%;
margin-top: 15px;
}
.content {
width: 98%;
margin: auto;
display: flex;
flex: 1;
pointer-events: none;
margin-top: 19px;
> div {
pointer-events: auto;
}
.content-l {
width: calc(50%);
min-width: 460px;
margin-right: 20px;
}
.content-m {
display: inline-flex;
flex-direction: column;
width: calc(100% / 4);
margin-right: 20px;
.content-m-t {
width: 100%;
height: 240px;
margin-bottom: 20px;
}
}
.content-r {
width: 49.4%;
} }
.unit_01{ margin-right: 14px;}
} }
.foot { .row_02 {
width: 98%; flex: 1;
margin: auto;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
flex: 1; flex: 1;

6
ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficFlow/components/classification/index.vue

@ -130,11 +130,11 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.classification { .classification {
width: 100%; display: flex;
height: 100%; flex-direction: column;
.board { .board {
height: 400px; flex:1;
width: 100%; width: 100%;
padding: 0px 30px; padding: 0px 30px;
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%);

3
ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficFlow/components/heightway/index.vue

@ -198,7 +198,10 @@ export default {
.heightway { .heightway {
width: 100%; width: 100%;
display: flex;
flex-direction: column;
.board { .board {
flex: 1;
height: 400px; height: 400px;
width: 100%; width: 100%;
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%);

20
ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficFlow/components/situation/index.vue

@ -10,7 +10,9 @@
断面交通量Top10 断面交通量Top10
</div> </div>
</div> </div>
<div class="charts keep-ratio" id="situationEchartBox"></div> <div class="chart_box">
<div class="charts keep-ratio" id="situationEchartBox"></div>
</div>
</div> </div>
</div> </div>
</template> </template>
@ -52,10 +54,9 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.situation { .situation {
width: 100%; display: flex; flex-direction: column;
.board { .board {
height: 400px; flex: 1;
width: 100%;
padding: 0px 30px; padding: 0px 30px;
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;
@ -69,13 +70,14 @@ export default {
1 1; 1 1;
display: flex; display: flex;
justify-content: flex-start; justify-content: flex-start;
align-items: center; align-items: stretch;
flex-direction: column; flex-direction: column;
} }
.charts { .chart_box{
// margin-top: -40px; flex: 1; display: flex; flex-direction: column; align-items: stretch; justify-content: center;
height: 400px; .charts {
width: 100%; flex-basis: 310px;
}
} }
.tag { .tag {
margin-top: 15px; margin-top: 15px;

5
ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficFlow/components/traffic/index.vue

@ -49,11 +49,10 @@ export default {
<style lang='scss' scoped> <style lang='scss' scoped>
.traffic { .traffic {
width: 100%; display: flex; flex-direction: column;
.board { .board {
height: 139px; flex: 1;
width: 100%;
padding: 0px 70px; padding: 0px 70px;
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;

73
ruoyi-ui/src/views/JiHeExpressway/pages/perception/trafficFlow/index.vue

@ -1,22 +1,20 @@
<template> <template>
<div class="TrafficFlow"> <div class="TrafficFlow fl-col">
<!-- 交通路网状况 --> <!-- 交通路网状况 -->
<Traffic class="head" /> <Traffic class="row_01" />
<section class="content"> <section class="row_02">
<!-- 在途车流量车型分类 --> <!-- 在途车流量车型分类 -->
<!-- 全路段拥堵状况 --> <!-- 全路段拥堵状况 -->
<Congestion class="content-l"></Congestion> <Congestion class="unit_01"></Congestion>
<!-- 畅通率 --> <!-- 畅通率 -->
<!-- <Unblocked class="content-m" /> --> <!-- <Unblocked class="content-m" /> -->
<!-- 全路车流量状况 --> <!-- 全路车流量状况 -->
<Flowstate class="content-r" /> <Flowstate class="unit_02" />
</section> </section>
<section class="foot"> <section class="row_03">
<!-- 交通路段状态 --> <Heightway class="unit_01" />
<Heightway class="foot-l" /> <Classification class="unit_02" />
<Classification class="foot-m" /> <Situation class="unit_03" />
<!-- 路段交通量情况 -->
<Situation class="foot-r" />
</section> </section>
</div> </div>
</template> </template>
@ -48,68 +46,45 @@ export default {
.TrafficFlow { .TrafficFlow {
width: 100%; width: 100%;
height: 100%; height: 100%;
position: relative; padding: 14px;
z-index: 6;
color: white;
.head { .row_01 { height: 160px;}
width: 98%;
margin: auto;
margin-top: 15px;
}
.content { .row_02 { overflow: hidden;
--keep-ratio: scaleX(1); // --keep-ratio: scaleX(1);
width: 98%;
margin: auto;
display: flex; display: flex;
flex: 1;
pointer-events: none; pointer-events: none;
margin-top: 19px; margin-top: 14px;
> div { > div {
pointer-events: auto; pointer-events: auto;
} }
.unit_01{ flex-basis: 50%; margin-right: 14px;}
.content-l { .unit_02{ flex-basis: 50%;}
width: 49.4%;
margin-right: 20px;
}
.content-m {
width: 260px;
}
.content-r {
width: 49.4%;
}
} }
.foot { .row_03 {
--keep-ratio: scaleX(1);
width: 98%;
margin: auto;
display: flex; display: flex;
flex: 1; flex: 1;
pointer-events: none; pointer-events: none;
margin-top: 19px; margin-top: 14px;
> div { > div {
pointer-events: auto; pointer-events: auto;
} }
.foot-l { .unit_01 {
width: 756px; width: 756px;
margin-right: 20px; margin-right: 14px;
} }
.foot-m { .unit_02 {
width: 580px; width: 580px;
margin-right: 20px; margin-right: 14px;
} }
.foot-r { .unit_03 {
width: 500px; flex:1;
} }
} }
} }

Loading…
Cancel
Save