|
@@ -17,8 +17,8 @@
|
|
|
<div class="empty"></div>
|
|
|
</div>
|
|
|
<div class="info-chart">
|
|
|
- <panel class="info-chart-panel" :title="'损失电量分析'">
|
|
|
- <vertival-bar-line-chart :height="'310px'" />
|
|
|
+ <panel class="info-chart-panel" :title="'健康趋势'">
|
|
|
+ <vertival-bar-line-chart :height="'310px'" :bardata="bardata" :lineData="lineData"/>
|
|
|
</panel>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -66,12 +66,15 @@ export default {
|
|
|
],
|
|
|
data: [],
|
|
|
},
|
|
|
+ bardata: { area: [], legend: [], data: [] }, // 损失电量分析echart数值
|
|
|
+ lineData: [],
|
|
|
wtId: undefined,
|
|
|
hisValue: {}, //健康走势图
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
|
this.wtId = this.$route.params.wtId;
|
|
|
+ this.requestCoulometry(2)
|
|
|
this.requestHisValue()
|
|
|
this.requestMttrrand()
|
|
|
},
|