|
@@ -20,7 +20,7 @@
|
|
|
<!-- <el-scrollbar> -->
|
|
|
<div class="scrollbar-flex-content " style="transform: scale(.9)">
|
|
|
<p v-for="item in stationData" :key="item.no" class="scrollbar-demo-item"
|
|
|
- :class="item.showBac ? 'changeBacksty' : 'defaultBacksty'" @click="changeStation(item.no)">
|
|
|
+ :class="item.showBac === true ? 'changeBacksty' : 'defaultBacksty'" @click="changeStation(item.no)">
|
|
|
{{ item.stationName }}
|
|
|
</p>
|
|
|
</div>
|
|
@@ -838,6 +838,8 @@
|
|
|
},
|
|
|
changeStation(val) {
|
|
|
this.windTurbines = val;
|
|
|
+ console.log("val===>>>", val)
|
|
|
+ console.log("stationData===>>>", this.stationData)
|
|
|
this.stationData.forEach((item) => {
|
|
|
if (item.no === val) {
|
|
|
this.itemVal = item.itemVal;
|
|
@@ -877,7 +879,7 @@
|
|
|
return picture;
|
|
|
},
|
|
|
seachData() {
|
|
|
- this.getStationData();
|
|
|
+ // this.getStationData();
|
|
|
this.getPowerPrediction();
|
|
|
this.getWindSpeed();
|
|
|
this.getCapacity();
|