|
@@ -92,10 +92,10 @@
|
|
|
</div>
|
|
|
|
|
|
<!-- tab1 -->
|
|
|
- <div v-if="tabIndex == 0" class="TabOne">
|
|
|
+ <div v-if="tabIndex == 0" class="TabOne tabs">
|
|
|
<panel :title="'损失电量分析'" class="TabOne_topChart">
|
|
|
<area-line-chart
|
|
|
- :height="'22vh'"
|
|
|
+ :height="'100%'"
|
|
|
:lineData="lostChartData"
|
|
|
:units="lostChartUnit"
|
|
|
:areaData="LostChartBgColorData"
|
|
@@ -105,7 +105,7 @@
|
|
|
</panel>
|
|
|
<panel :title="'电量'" class="TabOne_centerChart">
|
|
|
<multiple-bar-line-chart
|
|
|
- :height="'15vh'"
|
|
|
+ :height="'100%'"
|
|
|
:barData="powerChartData"
|
|
|
:lineData="powerChartLineData"
|
|
|
:units="['(kWh)', '(m/s)']"
|
|
@@ -114,24 +114,24 @@
|
|
|
</panel>
|
|
|
<div class="table-info">
|
|
|
<panel class="table-panel" :title="'当日报警记录'" :showLine="false">
|
|
|
- <Table :data="warnTableData" :canScroll="true" :height="'32.5vh'" />
|
|
|
+ <Table :data="warnTableData" :canScroll="true" :height="'100%'" />
|
|
|
</panel>
|
|
|
<panel class="table-panel" :title="'当日故障记录'" :showLine="false">
|
|
|
- <Table :data="stopTableData" :canScroll="true" :height="'32.5vh'" />
|
|
|
+ <Table :data="stopTableData" :canScroll="true" :height="'100%'" />
|
|
|
</panel>
|
|
|
<panel class="table-panel" :title="'当日限电记录'" :showLine="false">
|
|
|
- <Table :data="xdTableData" :canScroll="true" :height="'32.5vh'" />
|
|
|
+ <Table :data="xdTableData" :canScroll="true" :height="'100%'" />
|
|
|
</panel>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
<!-- tab2 -->
|
|
|
- <div v-if="tabIndex == 1" class="tab-2">
|
|
|
- <el-row>
|
|
|
- <el-col :span="15" style="padding-right: 10px">
|
|
|
- <panel :title="'功率曲线'" class="mg-b-16">
|
|
|
+ <div v-if="tabIndex == 1" class="tab-2 tabs">
|
|
|
+ <el-row style="height: 100%">
|
|
|
+ <el-col style="height: 100%; padding-right: 10px" :span="15">
|
|
|
+ <panel :title="'功率曲线'" style="height: 270px; margin-bottom: 10px">
|
|
|
<marker-line-chart
|
|
|
- :height="'23vh'"
|
|
|
+ :height="'100%'"
|
|
|
:list="powerLineChartData"
|
|
|
:units="['(MW)', '(功率)']"
|
|
|
:showLegend="true"
|
|
@@ -139,7 +139,7 @@
|
|
|
</panel>
|
|
|
<panel
|
|
|
:title="'日发电量信息'"
|
|
|
- class="mg-b-16 outline"
|
|
|
+ style="height: 297px; margin-bottom: 10px"
|
|
|
:showLine="false"
|
|
|
>
|
|
|
<div class="power-info">
|
|
@@ -231,7 +231,7 @@
|
|
|
<div class="month-info-left">
|
|
|
<panel
|
|
|
:title="'月发电量信息'"
|
|
|
- class="mg-b-16 outline"
|
|
|
+ style="height: 100%"
|
|
|
:showLine="false"
|
|
|
>
|
|
|
<div class="power-info month-3">
|
|
@@ -305,7 +305,7 @@
|
|
|
<div class="month-info-right">
|
|
|
<panel
|
|
|
:title="'年发电量信息'"
|
|
|
- class="mg-b-16 outline"
|
|
|
+ style="height: calc(100% - 220px - 10px)"
|
|
|
:showLine="false"
|
|
|
>
|
|
|
<div class="power-info month-2">
|
|
@@ -333,7 +333,7 @@
|
|
|
</div>
|
|
|
<direction-radar-chart
|
|
|
:width="'80%'"
|
|
|
- :height="'180px'"
|
|
|
+ :height="'100%'"
|
|
|
:series="windResourcesData"
|
|
|
:showLegend="true"
|
|
|
/>
|
|
@@ -342,16 +342,16 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</el-col>
|
|
|
- <el-col :span="9">
|
|
|
+ <el-col :span="9" style="height: 100%">
|
|
|
<panel
|
|
|
- class="table-panel outline mg-b-16"
|
|
|
+ class="table-panel outline"
|
|
|
:title="'当日报警记录'"
|
|
|
:showLine="false"
|
|
|
>
|
|
|
<Table :data="warnTableData" :canScroll="true" :height="'23vh'" />
|
|
|
</panel>
|
|
|
<panel
|
|
|
- class="table-panel outline mg-b-16"
|
|
|
+ class="table-panel outline"
|
|
|
:title="'当日故障记录'"
|
|
|
:showLine="false"
|
|
|
>
|
|
@@ -373,8 +373,8 @@
|
|
|
</div>
|
|
|
|
|
|
<!-- tab3 -->
|
|
|
- <div v-if="tabIndex == 2" class="tab-3">
|
|
|
- <el-row>
|
|
|
+ <div v-if="tabIndex == 2" class="tab-3 tabs">
|
|
|
+ <el-row style="height: calc((100% - 10px) / 2); margin-bottom: 10px">
|
|
|
<el-col :span="8" class="tabColSty">
|
|
|
<panel
|
|
|
:title="'日最大风速'"
|
|
@@ -382,7 +382,7 @@
|
|
|
:icon="'svg-wind-site'"
|
|
|
>
|
|
|
<div class="wind-info">
|
|
|
- <div class="legend mg-r-16">
|
|
|
+ <div class="legend">
|
|
|
<span class="dot"></span>
|
|
|
<span class="titSty">{{ rzdfsStr }}</span>
|
|
|
</div>
|
|
@@ -394,7 +394,7 @@
|
|
|
/> -->
|
|
|
<rander-new-chart
|
|
|
width="100%"
|
|
|
- height="350px"
|
|
|
+ height="100%"
|
|
|
:lenged="rzdfsLen"
|
|
|
:xAxis="rzdfsxaisx"
|
|
|
:series="rzdfsData"
|
|
@@ -410,7 +410,7 @@
|
|
|
:icon="'svg-wind-site'"
|
|
|
>
|
|
|
<div class="wind-info">
|
|
|
- <div class="legend mg-r-16">
|
|
|
+ <div class="legend">
|
|
|
<span class="dot"></span>
|
|
|
<span class="titSty">{{ yzdfsStr }}</span>
|
|
|
</div>
|
|
@@ -422,7 +422,7 @@
|
|
|
/> -->
|
|
|
<rander-new-chart
|
|
|
width="100%"
|
|
|
- height="350px"
|
|
|
+ height="100%"
|
|
|
:lenged="yzdfsLen"
|
|
|
:xAxis="yzdfsxaisx"
|
|
|
:series="yzdfsData"
|
|
@@ -438,7 +438,7 @@
|
|
|
:icon="'svg-wind-site'"
|
|
|
>
|
|
|
<div class="wind-info">
|
|
|
- <div class="legend mg-r-16">
|
|
|
+ <div class="legend">
|
|
|
<span class="dot"></span>
|
|
|
<span class="titSty">{{ nzdfsStr }}</span>
|
|
|
</div>
|
|
@@ -450,7 +450,7 @@
|
|
|
/> -->
|
|
|
<rander-new-chart
|
|
|
width="100%"
|
|
|
- height="350px"
|
|
|
+ height="100%"
|
|
|
:lenged="nzdfsLen"
|
|
|
:xAxis="nzdfsxaisx"
|
|
|
:series="nzdfsData"
|
|
@@ -460,7 +460,7 @@
|
|
|
</panel>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
- <el-row>
|
|
|
+ <el-row style="height: calc((100% - 10px) / 2)">
|
|
|
<el-col :span="8" class="tabColSty">
|
|
|
<panel
|
|
|
:title="'日风向频率'"
|
|
@@ -468,7 +468,7 @@
|
|
|
:icon="'svg-wind-site'"
|
|
|
>
|
|
|
<div class="wind-info">
|
|
|
- <div class="legend mg-r-16">
|
|
|
+ <div class="legend">
|
|
|
<span class="dot"></span>
|
|
|
<span class="titSty">{{ rfxplStr }}</span>
|
|
|
</div>
|
|
@@ -480,7 +480,7 @@
|
|
|
/> -->
|
|
|
<rander-new-chart
|
|
|
width="100%"
|
|
|
- height="350px"
|
|
|
+ height="100%"
|
|
|
:lenged="rfxplLen"
|
|
|
:xAxis="rfxplxaisx"
|
|
|
:series="rfxplData"
|
|
@@ -496,7 +496,7 @@
|
|
|
:icon="'svg-wind-site'"
|
|
|
>
|
|
|
<div class="wind-info">
|
|
|
- <div class="legend mg-r-16">
|
|
|
+ <div class="legend">
|
|
|
<span class="dot"></span>
|
|
|
<span class="titSty">{{ yfxplStr }}</span>
|
|
|
</div>
|
|
@@ -508,7 +508,7 @@
|
|
|
/> -->
|
|
|
<rander-new-chart
|
|
|
width="100%"
|
|
|
- height="350px"
|
|
|
+ height="100%"
|
|
|
:lenged="yfxplLen"
|
|
|
:xAxis="yfxplxaisx"
|
|
|
:series="yfxplData"
|
|
@@ -524,7 +524,7 @@
|
|
|
:icon="'svg-wind-site'"
|
|
|
>
|
|
|
<div class="wind-info">
|
|
|
- <div class="legend mg-r-16">
|
|
|
+ <div class="legend">
|
|
|
<span class="dot"></span>
|
|
|
<span class="titSty">{{ nfxplStr }}</span>
|
|
|
</div>
|
|
@@ -536,7 +536,7 @@
|
|
|
/> -->
|
|
|
<rander-new-chart
|
|
|
width="100%"
|
|
|
- height="350px"
|
|
|
+ height="100%"
|
|
|
:lenged="nfxplLen"
|
|
|
:xAxis="nfxplxaisx"
|
|
|
:series="nfxplData"
|
|
@@ -549,8 +549,8 @@
|
|
|
</div>
|
|
|
|
|
|
<!-- tab4 -->
|
|
|
- <div v-if="tabIndex == 3" class="tab-4">
|
|
|
- <el-row>
|
|
|
+ <div v-if="tabIndex == 3" class="tab-4 tabs">
|
|
|
+ <el-row style="height: calc((100% - 10px) / 2); margin-bottom: 10px">
|
|
|
<el-col :span="8" class="tabColSty">
|
|
|
<panel
|
|
|
:title="'日最大风速'"
|
|
@@ -570,7 +570,7 @@
|
|
|
/> -->
|
|
|
<rander-new-chart
|
|
|
width="100%"
|
|
|
- height="350px"
|
|
|
+ height="100%"
|
|
|
:lenged="rzdfsLen"
|
|
|
:xAxis="rzdfsxaisx"
|
|
|
:series="rzdfsData"
|
|
@@ -598,7 +598,7 @@
|
|
|
/> -->
|
|
|
<rander-new-chart
|
|
|
width="100%"
|
|
|
- height="350px"
|
|
|
+ height="100%"
|
|
|
:lenged="yzdfsLen"
|
|
|
:xAxis="yzdfsxaisx"
|
|
|
:series="yzdfsData"
|
|
@@ -626,7 +626,7 @@
|
|
|
/> -->
|
|
|
<rander-new-chart
|
|
|
width="100%"
|
|
|
- height="350px"
|
|
|
+ height="100%"
|
|
|
:lenged="nzdfsLen"
|
|
|
:xAxis="nzdfsxaisx"
|
|
|
:series="nzdfsData"
|
|
@@ -636,7 +636,7 @@
|
|
|
</panel>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
- <el-row>
|
|
|
+ <el-row style="height: calc((100% - 10px) / 2)">
|
|
|
<el-col :span="8" class="tabColSty">
|
|
|
<panel
|
|
|
:title="'日风向频率'"
|
|
@@ -644,7 +644,7 @@
|
|
|
:icon="'svg-wind-site'"
|
|
|
>
|
|
|
<div class="wind-info">
|
|
|
- <div class="legend mg-r-16">
|
|
|
+ <div class="legend">
|
|
|
<span class="dot"></span>
|
|
|
<span class="titSty">{{ rfxplStr }}</span>
|
|
|
</div>
|
|
@@ -656,7 +656,7 @@
|
|
|
/> -->
|
|
|
<rander-new-chart
|
|
|
width="100%"
|
|
|
- height="350px"
|
|
|
+ height="100%"
|
|
|
:lenged="rfxplLen"
|
|
|
:xAxis="rfxplxaisx"
|
|
|
:series="rfxplData"
|
|
@@ -672,7 +672,7 @@
|
|
|
:icon="'svg-wind-site'"
|
|
|
>
|
|
|
<div class="wind-info">
|
|
|
- <div class="legend mg-r-16">
|
|
|
+ <div class="legend">
|
|
|
<span class="dot"></span>
|
|
|
<span class="titSty">{{ yfxplStr }}</span>
|
|
|
</div>
|
|
@@ -684,7 +684,7 @@
|
|
|
/> -->
|
|
|
<rander-new-chart
|
|
|
width="100%"
|
|
|
- height="350px"
|
|
|
+ height="100%"
|
|
|
:lenged="yfxplLen"
|
|
|
:xAxis="yfxplxaisx"
|
|
|
:series="yfxplData"
|
|
@@ -700,7 +700,7 @@
|
|
|
:icon="'svg-wind-site'"
|
|
|
>
|
|
|
<div class="wind-info">
|
|
|
- <div class="legend mg-r-16">
|
|
|
+ <div class="legend">
|
|
|
<span class="dot"></span>
|
|
|
<span class="titSty">{{ nfxplStr }}</span>
|
|
|
</div>
|
|
@@ -712,7 +712,7 @@
|
|
|
/> -->
|
|
|
<rander-new-chart
|
|
|
width="100%"
|
|
|
- height="350px"
|
|
|
+ height="100%"
|
|
|
:lenged="nfxplLen"
|
|
|
:xAxis="nfxplxaisx"
|
|
|
:series="nfxplData"
|
|
@@ -725,8 +725,8 @@
|
|
|
</div>
|
|
|
|
|
|
<!-- tab5 -->
|
|
|
- <div v-if="tabIndex == 4" class="tab-5">
|
|
|
- <el-row>
|
|
|
+ <div v-if="tabIndex == 4" class="tab-5 tabs">
|
|
|
+ <el-row style="height: calc((100% - 10px) / 2); margin-bottom: 10px">
|
|
|
<el-col :span="8">
|
|
|
<panel title="日小风切入">
|
|
|
<dual-pie-chart
|
|
@@ -758,7 +758,7 @@
|
|
|
</panel>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
- <el-row>
|
|
|
+ <el-row style="height: calc((100% - 10px) / 2)">
|
|
|
<el-col :span="8">
|
|
|
<panel title="日小风切出">
|
|
|
<dual-pie-chart
|
|
@@ -1782,9 +1782,10 @@ export default {
|
|
|
margin-left: 50px;
|
|
|
}
|
|
|
.windDetail {
|
|
|
+ height: 100%;
|
|
|
.action-bar {
|
|
|
display: flex;
|
|
|
- margin: 10px 0 20px 0;
|
|
|
+ padding: 10px 0 20px 0;
|
|
|
.selections {
|
|
|
flex: 1 0 auto;
|
|
|
display: flex;
|
|
@@ -1839,21 +1840,25 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
+ .tabs {
|
|
|
+ height: calc(100% - 55px);
|
|
|
+ }
|
|
|
.outline {
|
|
|
outline: 1px solid fade(#606769, 50);
|
|
|
}
|
|
|
|
|
|
.TabOne {
|
|
|
.TabOne_topChart {
|
|
|
+ height: calc((100% - 260px) / 2);
|
|
|
margin-bottom: 10px;
|
|
|
}
|
|
|
.TabOne_centerChart {
|
|
|
margin-bottom: 10px;
|
|
|
+ height: calc((100% - 260px) / 2);
|
|
|
}
|
|
|
.table-info {
|
|
|
display: flex;
|
|
|
-
|
|
|
+ height: 260px;
|
|
|
.table-panel {
|
|
|
flex: 1 0 calc(100% / 3 - 8px);
|
|
|
outline: 1px solid fade(#606769, 50);
|
|
@@ -1870,14 +1875,12 @@ export default {
|
|
|
display: flex;
|
|
|
flex-wrap: wrap;
|
|
|
justify-content: space-between;
|
|
|
-
|
|
|
+ height: 100%;
|
|
|
&.month-3 {
|
|
|
.info-item {
|
|
|
+ height: calc((100% - 8px * 4) / 5);
|
|
|
+ line-height: calc((100% - 8px * 4) / 5);
|
|
|
flex: 0 0 calc(100% / 3 - 6px);
|
|
|
- &:nth-child(-n + 5) {
|
|
|
- margin-top: 8px;
|
|
|
- }
|
|
|
-
|
|
|
&:nth-child(-n + 3) {
|
|
|
margin-top: 0px;
|
|
|
}
|
|
@@ -1886,6 +1889,7 @@ export default {
|
|
|
&.month-2 {
|
|
|
.info-item {
|
|
|
flex: 0 0 calc(100% / 2 - 4px);
|
|
|
+ height: calc(100% - 8px);
|
|
|
&:nth-child(-n + 5) {
|
|
|
margin-top: 8px;
|
|
|
}
|
|
@@ -1899,12 +1903,10 @@ export default {
|
|
|
.info-item {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
-
|
|
|
flex: 0 0 calc(100% / 5 - 8px);
|
|
|
background: fade(#606769, 20);
|
|
|
- height: 4.6296vh;
|
|
|
- line-height: 4.6296vh;
|
|
|
- margin-top: 8px;
|
|
|
+ height: calc((100% - 8px * 3) / 4);
|
|
|
+ line-height: calc((100% - 8px * 3) / 4);
|
|
|
|
|
|
&:nth-child(-n + 5) {
|
|
|
margin-top: 0px;
|
|
@@ -1924,35 +1926,35 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
- .mg-b-16 {
|
|
|
- margin-bottom: 1.481vh;
|
|
|
- }
|
|
|
|
|
|
.month-info {
|
|
|
display: flex;
|
|
|
-
|
|
|
+ height: calc(100% - 270px - 297px - 20px);
|
|
|
.month-info-left {
|
|
|
+ height: 100%;
|
|
|
flex: 0 0 705px;
|
|
|
margin-right: 10px;
|
|
|
}
|
|
|
|
|
|
.month-info-right {
|
|
|
+ height: 100%;
|
|
|
flex: 1 0 auto;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- .moon-other {
|
|
|
- flex: 1 0 auto;
|
|
|
- }
|
|
|
-
|
|
|
.radar-panel {
|
|
|
- height: 22.5vh;
|
|
|
-
|
|
|
- .panel-body {
|
|
|
+ height: 220px;
|
|
|
+ .wind-info {
|
|
|
height: 100%;
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
+ .table-panel {
|
|
|
+ margin-bottom: 10px;
|
|
|
+ height: calc((100% - 10px * 2) / 3);
|
|
|
+ &:nth-child(3) {
|
|
|
+ margin-bottom: 0px;
|
|
|
+ }
|
|
|
+ }
|
|
|
.wind-info {
|
|
|
display: flex;
|
|
|
|
|
@@ -1979,11 +1981,14 @@ export default {
|
|
|
.tab-3,
|
|
|
.tab-4 {
|
|
|
.tabColSty {
|
|
|
- margin-bottom: 20px;
|
|
|
- height: 40vh;
|
|
|
+ height: 100%;
|
|
|
+ .radar-panel {
|
|
|
+ height: 100%;
|
|
|
+ }
|
|
|
}
|
|
|
.wind-info {
|
|
|
position: relative;
|
|
|
+ height: 100%;
|
|
|
|
|
|
.legend {
|
|
|
position: absolute;
|