修改 海南测试bug

This commit is contained in:
GGJ
2024-12-11 16:14:08 +08:00
parent 9b952f2016
commit 16c25ddf6b
28 changed files with 338 additions and 220 deletions

View File

@@ -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: {