修改 海南测试bug
This commit is contained in:
@@ -106,19 +106,19 @@ export default {
|
||||
methods: {
|
||||
backbxlb() {
|
||||
|
||||
if (this.echartlist.length>0) {
|
||||
if (this.echartlist.length > 0) {
|
||||
console.log(123111);
|
||||
this.waveDatas = []
|
||||
this.echartlist.forEach(item => {
|
||||
item.dispose(); // 销毁echarts实例
|
||||
|
||||
|
||||
|
||||
})
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
},
|
||||
download() {
|
||||
download() {
|
||||
// 转换成canvas
|
||||
html2canvas(document.getElementById('boxsj'), {
|
||||
scale: 2
|
||||
@@ -163,7 +163,7 @@ export default {
|
||||
' 发生时刻:' +
|
||||
this.boxoList.startTime +
|
||||
' 暂降(骤升)幅值:' +
|
||||
(this.boxoList.featureAmplitude * 100).toFixed(0) +
|
||||
(this.boxoList.featureAmplitude * 1).toFixed(0) +
|
||||
'% 持续时间:' +
|
||||
this.boxoList.duration +
|
||||
's'
|
||||
@@ -189,7 +189,7 @@ export default {
|
||||
' 发生时刻:' +
|
||||
this.boxoList.startTime +
|
||||
' 暂降(骤升)幅值:' +
|
||||
(this.boxoList.featureAmplitude * 100).toFixed(0) +
|
||||
(this.boxoList.featureAmplitude * 1).toFixed(0) +
|
||||
'% 持续时间:' +
|
||||
this.boxoList.duration +
|
||||
's'
|
||||
@@ -406,7 +406,7 @@ export default {
|
||||
},
|
||||
//开始画图
|
||||
initWave(waveDatas, time, type, severity, isOpen) {
|
||||
this.echartlist=[]
|
||||
this.echartlist = []
|
||||
//清除之前增加的div
|
||||
// $("#wave ~ .bx1").remove();
|
||||
$('div.bx1').remove()
|
||||
@@ -539,7 +539,7 @@ export default {
|
||||
' 发生时刻:' +
|
||||
this.time +
|
||||
' 暂降(骤升)幅值:' +
|
||||
(this.eventValue * 100).toFixed(0) +
|
||||
(this.eventValue * 1).toFixed(0) +
|
||||
'% 持续时间:' +
|
||||
this.persistTime +
|
||||
's'
|
||||
@@ -592,7 +592,7 @@ export default {
|
||||
opacity: 0.35,
|
||||
fontSize: 14
|
||||
},
|
||||
backgroundColor: 'rgba(0,0,0,0.35)',
|
||||
backgroundColor: 'rgba(0,0,0,0.55)',
|
||||
borderWidth: 0
|
||||
},
|
||||
title: {
|
||||
@@ -946,7 +946,7 @@ export default {
|
||||
opacity: 0.35,
|
||||
fontSize: 14
|
||||
},
|
||||
backgroundColor: 'rgba(0,0,0,0.35)',
|
||||
backgroundColor: 'rgba(0,0,0,0.55)',
|
||||
borderWidth: 0
|
||||
},
|
||||
title: {
|
||||
|
||||
Reference in New Issue
Block a user