修改测试bug
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -73,9 +73,9 @@ export default {
|
||||
created() {
|
||||
|
||||
if (this.flag == 1) {
|
||||
this.vh = mainHeight(165).height
|
||||
this.vh = mainHeight(200).height
|
||||
} else {
|
||||
this.vh = mainHeight(165, 2).height
|
||||
this.vh = mainHeight(200, 2).height
|
||||
}
|
||||
this.vw = '100%'
|
||||
},
|
||||
@@ -156,7 +156,7 @@ export default {
|
||||
// "变电站名称:" +
|
||||
// this.boxoList.equipmentName +
|
||||
' 监测点名称:' +
|
||||
this.boxoList.equipmentName +
|
||||
this.boxoList.lineName +
|
||||
' 发生时刻:' +
|
||||
this.boxoList.startTime +
|
||||
' 暂降(骤升)幅值:' +
|
||||
@@ -166,17 +166,16 @@ export default {
|
||||
's'
|
||||
}
|
||||
else if (this.boxoList.systemType == 'WX') {
|
||||
console.log("🚀 ~ initWaves ~ this.boxoList:", this.boxoList)
|
||||
this.titles =
|
||||
|
||||
|
||||
' 监测点名称:' +
|
||||
this.boxoList.lineId +
|
||||
' 发生时刻:' +
|
||||
this.boxoList.startTime +
|
||||
' 暂降(骤升)幅值:' +
|
||||
this.boxoList.featureAmplitude==null ? '/' : this.boxoList.featureAmplitude.toFixed(2) +
|
||||
' 持续时间:' +
|
||||
this.boxoList.persistTime==null ? '/' : this.boxoList.persistTime +
|
||||
this.boxoList.lineName +
|
||||
' 发生时刻:' +
|
||||
this.boxoList.startTime +
|
||||
' 暂降(骤升)幅值:' +
|
||||
(this.boxoList.featureAmplitude ? this.boxoList.featureAmplitude.toFixed(2) : '-') +
|
||||
'% 持续时间:' +
|
||||
(this.boxoList.persistTime ? this.boxoList.persistTime.toFixed(2) : '-') +
|
||||
's'
|
||||
} else {
|
||||
this.titles =
|
||||
@@ -547,6 +546,7 @@ export default {
|
||||
wave.style.height = _this.vh;
|
||||
}, 0);
|
||||
var option = {
|
||||
animation: false,
|
||||
tooltip: {
|
||||
top: '10px',
|
||||
trigger: 'axis',
|
||||
@@ -557,6 +557,7 @@ export default {
|
||||
fontSize: '15px',
|
||||
padding: 10
|
||||
},
|
||||
enterable: true,
|
||||
formatter: function (params) {
|
||||
// console.log(params)
|
||||
var tips = ''
|
||||
@@ -569,13 +570,7 @@ export default {
|
||||
}
|
||||
return tips
|
||||
},
|
||||
// axisPointer: {
|
||||
// type: "cross",
|
||||
// label: {
|
||||
// color: "#fff",
|
||||
// fontSize: 16,
|
||||
// },
|
||||
// },
|
||||
|
||||
textStyle: {
|
||||
color: '#fff',
|
||||
fontStyle: 'normal',
|
||||
@@ -583,11 +578,12 @@ export default {
|
||||
fontSize: 14
|
||||
},
|
||||
backgroundColor: 'rgba(0,0,0,0.35)',
|
||||
borderWidth: 0
|
||||
borderWidth: 0,
|
||||
|
||||
},
|
||||
title: {
|
||||
left: 'center',
|
||||
text: '电网侧-电压 ' + title,
|
||||
text: title,
|
||||
textStyle: {
|
||||
fontSize: '0.8rem',
|
||||
color: _this.DColor ? '#fff' : echartsColor.WordColor
|
||||
@@ -738,10 +734,15 @@ export default {
|
||||
type: 'line',
|
||||
smooth: true,
|
||||
symbol: 'none',
|
||||
sampling: 'lttb',
|
||||
sampling: 'average',
|
||||
itemStyle: {
|
||||
color: '#FFCC00'
|
||||
},
|
||||
progressive:1000,
|
||||
// 渲染阈值,大于此值则启动渐进渲染
|
||||
progressiveThreshold: 2000,
|
||||
|
||||
large: true,
|
||||
data: adata
|
||||
},
|
||||
{
|
||||
@@ -749,10 +750,15 @@ export default {
|
||||
type: 'line',
|
||||
smooth: true,
|
||||
symbol: 'none',
|
||||
sampling: 'lttb',
|
||||
sampling: 'average',
|
||||
itemStyle: {
|
||||
color: '#009900'
|
||||
},
|
||||
progressive:1000,
|
||||
// 渲染阈值,大于此值则启动渐进渲染
|
||||
progressiveThreshold: 2000,
|
||||
|
||||
large: true,
|
||||
data: bdata
|
||||
},
|
||||
{
|
||||
@@ -760,10 +766,15 @@ export default {
|
||||
type: 'line',
|
||||
smooth: true,
|
||||
symbol: 'none',
|
||||
sampling: 'lttb',
|
||||
sampling: 'average',
|
||||
itemStyle: {
|
||||
color: '#CC0000'
|
||||
},
|
||||
progressive:1000,
|
||||
// 渲染阈值,大于此值则启动渐进渲染
|
||||
progressiveThreshold: 2000,
|
||||
|
||||
large: true,
|
||||
data: cdata
|
||||
},
|
||||
{
|
||||
@@ -774,6 +785,7 @@ export default {
|
||||
width: 18,
|
||||
height: 18
|
||||
},
|
||||
|
||||
data: cu
|
||||
}
|
||||
]
|
||||
@@ -906,6 +918,7 @@ export default {
|
||||
var myChartes = echarts.init(waveIds)
|
||||
let echartsColor = { WordColor: "#000", thread: "#000000", FigureColor: ["#07CCCA ", "#00BFF5", "#FFBF00", "#77DA63", "#D5FF6B", "#Ff6600", "#FF9100", "#5B6E96", "#66FFCC", "#B3B3B3", "#FF00FF", "#CC00FF", "#FF9999"] }
|
||||
var option = {
|
||||
animation: false,
|
||||
tooltip: {
|
||||
trigger: 'axis',
|
||||
borderColor: 'grey',
|
||||
@@ -921,13 +934,7 @@ export default {
|
||||
}
|
||||
return tips
|
||||
},
|
||||
// axisPointer: {
|
||||
// type: "cross",
|
||||
// label: {
|
||||
// color: "#fff",
|
||||
// fontSize: 16,
|
||||
// },
|
||||
// },
|
||||
|
||||
textStyle: {
|
||||
color: '#fff',
|
||||
fontStyle: 'normal',
|
||||
@@ -1092,10 +1099,14 @@ export default {
|
||||
type: 'line',
|
||||
smooth: true,
|
||||
symbol: 'none',
|
||||
sampling: 'lttb',
|
||||
sampling: 'average',
|
||||
itemStyle: {
|
||||
color: '#FFCC00'
|
||||
},
|
||||
large: true,
|
||||
progressive:1000,
|
||||
// 渲染阈值,大于此值则启动渐进渲染
|
||||
progressiveThreshold: 2000,
|
||||
data: adata
|
||||
},
|
||||
{
|
||||
@@ -1103,10 +1114,14 @@ export default {
|
||||
type: 'line',
|
||||
smooth: true,
|
||||
symbol: 'none',
|
||||
sampling: 'lttb',
|
||||
sampling: 'average',
|
||||
itemStyle: {
|
||||
color: '#009900'
|
||||
},
|
||||
progressive:1000,
|
||||
// 渲染阈值,大于此值则启动渐进渲染
|
||||
progressiveThreshold: 2000,
|
||||
large: true,
|
||||
data: bdata
|
||||
},
|
||||
{
|
||||
@@ -1114,10 +1129,14 @@ export default {
|
||||
type: 'line',
|
||||
smooth: true,
|
||||
symbol: 'none',
|
||||
sampling: 'lttb',
|
||||
sampling: 'average',
|
||||
itemStyle: {
|
||||
color: '#CC0000'
|
||||
},
|
||||
progressive:1000,
|
||||
// 渲染阈值,大于此值则启动渐进渲染
|
||||
progressiveThreshold: 2000,
|
||||
large: true,
|
||||
data: cdata
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user