修改驾驶舱组件重复绑定问题

This commit is contained in:
guanj
2026-01-08 10:08:51 +08:00
parent 545e3836d1
commit 3db01fe32d
6 changed files with 28 additions and 40 deletions

View File

@@ -266,7 +266,6 @@ self.onmessage = function (e) {
} else if (boxoList.systemType == 'ZL') {
titles =
(boxoList.engineeringName == undefined ? '' : ' 项目名称:' + boxoList.engineeringName) +
' 监测点名称:' +
boxoList.equipmentName +
' 发生时刻:' +
@@ -279,7 +278,6 @@ self.onmessage = function (e) {
} else if (boxoList.systemType == 'YPT') {
titles =
(boxoList.engineeringName == undefined ? '' : ' 项目名称:' + boxoList.engineeringName) +
' 监测点名称:' +
boxoList.lineName +
' 发生时刻:' +
@@ -291,15 +289,15 @@ self.onmessage = function (e) {
's'
} else {
titles =
'变电站名称:' +
' 变电站名称:' +
boxoList.subName +
' 监测点名称:' +
' 监测点名称:' +
boxoList.lineName +
' 发生时刻:' +
' 发生时刻:' +
boxoList.startTime +
' 暂降(骤升)幅值:' +
' 暂降(骤升)幅值:' +
(boxoList.featureAmplitude * 100).toFixed(2) +
'% 持续时间:' +
'% 持续时间:' +
boxoList.duration +
's'
}

View File

@@ -127,13 +127,13 @@ self.addEventListener('message', function (e) {
titles =
'变电站名称:' +
boxoList.powerStationName +
' 监测点名称:' +
' 监测点名称:' +
boxoList.measurementPointName +
' 发生时刻:' +
' 发生时刻:' +
boxoList.startTime +
' 暂降(骤升)幅值:' +
' 暂降(骤升)幅值:' +
(boxoList.featureAmplitude * 100).toFixed(2) +
'% 持续时间:' +
'% 持续时间:' +
boxoList.duration +
's'
} else if (boxoList.systemType == 'ZL') {
@@ -141,11 +141,11 @@ self.addEventListener('message', function (e) {
(boxoList.engineeringName == undefined ? '' : ' 项目名称:' + boxoList.engineeringName) +
' 监测点名称:' +
boxoList.equipmentName +
' 发生时刻:' +
' 发生时刻:' +
boxoList.startTime +
' 暂降(骤升)幅值:' +
' 暂降(骤升)幅值:' +
boxoList.evtParamVVaDepth +
'% 持续时间:' +
'% 持续时间:' +
boxoList.evtParamTm +
's'
} else if (boxoList.systemType == 'YPT') {