暂态事件-波形解析接口调试
This commit is contained in:
@@ -96,7 +96,7 @@ export default {
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
// console.log(`123123`,this.boxoList,this.wp);
|
||||
console.log(`123123`,this.boxoList,this.wp);
|
||||
this.zoom = 1 / document.body.style.zoom
|
||||
window.addEventListener('resize', () => {
|
||||
this.zoom = 1 / document.body.style.zoom
|
||||
@@ -142,6 +142,7 @@ export default {
|
||||
},
|
||||
//根据后台查询的数据,清洗数据
|
||||
initWaves() {
|
||||
console.log(this.boxoList.systemType,"this.boxoList.systemType");
|
||||
if (null != this.wp) {
|
||||
if (this.boxoList.systemType == 'pms') {
|
||||
this.titles =
|
||||
@@ -170,17 +171,25 @@ export default {
|
||||
this.boxoList.evtParamTm +
|
||||
's'
|
||||
} else {
|
||||
if((this.boxoList.featureAmplitude * 100).toFixed(0)){
|
||||
this.boxoList.featureAmplitude= (this.boxoList.featureAmplitude * 100).toFixed(0)
|
||||
}
|
||||
for(var key in this.boxoList) {
|
||||
if(this.boxoList[key]==null||!this.boxoList[key]){
|
||||
this.boxoList[key]='/'
|
||||
}
|
||||
}
|
||||
this.titles =
|
||||
'变电站名称:' +
|
||||
this.boxoList.subName +
|
||||
this.boxoList.subName +
|
||||
' 监测点名称:' +
|
||||
this.boxoList.lineName +
|
||||
' 发生时刻:' +
|
||||
this.boxoList.startTime +
|
||||
' 暂降(骤升)幅值:' +
|
||||
(this.boxoList.featureAmplitude * 100).toFixed(0) +
|
||||
this.boxoList.featureAmplitude +
|
||||
'% 持续时间:' +
|
||||
this.boxoList.duration +
|
||||
this.boxoList.duration +
|
||||
's'
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user