|
@@ -76,22 +76,8 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="border-style position-r" style="margin-top: 1%">
|
|
|
- <div class="barTitleBg right-title-style flex justify-between">
|
|
|
+ <div class="barTitleBg right-title-style">
|
|
|
功率曲线
|
|
|
- <div class="flex position-a" style="right: 2.2vw;">
|
|
|
- <div class="btu-checked forecastLine btu-checked-style flex items-center justify-center" id="day"
|
|
|
- @click="changeForecastLine('day')">当日
|
|
|
- </div>
|
|
|
- <div class="btu-no-checked forecastLine btu-checked-style flex items-center justify-center" id="tenDay"
|
|
|
- @click="changeForecastLine('tenDay')">十日
|
|
|
- </div>
|
|
|
- <div class="btu-no-checked forecastLine btu-checked-style flex items-center justify-center" id="wind"
|
|
|
- @click="changeForecastLine('wind')">风电
|
|
|
- </div>
|
|
|
- <div class="btu-no-checked forecastLine btu-checked-style flex items-center justify-center"
|
|
|
- id="photovoltaic" @click="changeForecastLine('photovoltaic')">光伏
|
|
|
- </div>
|
|
|
- </div>
|
|
|
</div>
|
|
|
<center-bottom :params="centerBottomParams"/>
|
|
|
</div>
|
|
@@ -99,30 +85,13 @@
|
|
|
<!-- 右-->
|
|
|
<div class="width-20 mr-0 flex-column justify-between">
|
|
|
<div class="border-style position-r">
|
|
|
- <div class="flex position-a" style="right: .3vw;top: .5vh">
|
|
|
- <div class="btu-checked accuracy btu-checked-style flex items-center justify-center" id="accuracy-day"
|
|
|
- @click="changeAccuracy('accuracy-day')">日
|
|
|
- </div>
|
|
|
- <div class="btu-no-checked accuracy btu-checked-style flex items-center justify-center" id="accuracy-month"
|
|
|
- @click="changeAccuracy('accuracy-month')">月
|
|
|
- </div>
|
|
|
- </div>
|
|
|
<div class="barTitleBg right-title-style ">准确率排名</div>
|
|
|
<div style="height: 25vh">
|
|
|
<right-top :params="rightTopParams"/>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="border-style position-r">
|
|
|
- <div class="barTitleBg right-title-style flex justify-between">气象预测
|
|
|
- <div class="flex">
|
|
|
- <div class="btu-checked weather btu-checked-style flex items-center justify-center" id="weather-wind"
|
|
|
- @click="changeWeather('weather-wind')">风电
|
|
|
- </div>
|
|
|
- <div class="btu-no-checked weather btu-checked-style flex items-center justify-center"
|
|
|
- id="weather-photovoltaic" @click="changeWeather('weather-photovoltaic')">光伏
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
+ <div class="barTitleBg right-title-style">气象预测</div>
|
|
|
<div style="height: 25vh">
|
|
|
<right-middle :params="rightMiddleParams"/>
|
|
|
</div>
|
|
@@ -829,27 +798,8 @@ export default {
|
|
|
clickItem.classList.remove('clickBefore')
|
|
|
clickItem.classList.add('clickAfter')
|
|
|
},
|
|
|
- /**
|
|
|
- * 切换功率曲线按钮
|
|
|
- * */
|
|
|
- changeForecastLine(id) {
|
|
|
- const activeItem = document.querySelector('.btu-checked.forecastLine')
|
|
|
- this.checkedClass(id, activeItem)
|
|
|
- },
|
|
|
- /**
|
|
|
- * 切换准确率排行按钮
|
|
|
- * */
|
|
|
- changeAccuracy(id) {
|
|
|
- const activeItem = document.querySelector('.btu-checked.accuracy')
|
|
|
- this.checkedClass(id, activeItem)
|
|
|
- },
|
|
|
- /**
|
|
|
- * 切换气象预测按钮
|
|
|
- * */
|
|
|
- changeWeather(id) {
|
|
|
- const activeItem = document.querySelector('.btu-checked.weather')
|
|
|
- this.checkedClass(id, activeItem)
|
|
|
- },
|
|
|
+
|
|
|
+
|
|
|
|
|
|
formatStartDate(row) {
|
|
|
return formatToDateTime(row.startTime)
|
|
@@ -1061,14 +1011,7 @@ export default {
|
|
|
checkRadioMethod({row}) {
|
|
|
return row.expireTime > formatToDateTime(new Date().getTime())
|
|
|
},
|
|
|
- checkedClass(id, activeItem) {
|
|
|
- let clickItem = document.getElementById(id)
|
|
|
- // let activeItem = document.querySelector('.btu-checked')
|
|
|
- activeItem.classList.remove('btu-checked')
|
|
|
- activeItem.classList.add('btu-no-checked')
|
|
|
- clickItem.classList.remove('btu-no-checked')
|
|
|
- clickItem.classList.add('btu-checked')
|
|
|
- },
|
|
|
+
|
|
|
}
|
|
|
|
|
|
}
|
|
@@ -1256,27 +1199,6 @@ $top-container-height: 11vh;
|
|
|
background-repeat: no-repeat;
|
|
|
}
|
|
|
|
|
|
-.btu-checked-style {
|
|
|
- width: 4vw;
|
|
|
- height: 3vh;
|
|
|
- font-size: .85vw;
|
|
|
- margin-left: .5vw;
|
|
|
- cursor: pointer;
|
|
|
-}
|
|
|
-
|
|
|
-.btu-checked {
|
|
|
- background-image: url('../../assets/images/dashboard/btu-checked.png');
|
|
|
- background-size: 100% 100%;
|
|
|
- background-position: center;
|
|
|
- background-repeat: no-repeat;
|
|
|
-}
|
|
|
-
|
|
|
-.btu-no-checked {
|
|
|
- background-image: url('../../assets/images/dashboard/btu-no-checked.png');
|
|
|
- background-size: 100% 100%;
|
|
|
- background-position: center;
|
|
|
- background-repeat: no-repeat;
|
|
|
-}
|
|
|
|
|
|
.dialog-title {
|
|
|
width: 90%;
|