修改 海南测试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

@@ -516,16 +516,16 @@ const open = async (id: string) => {
TargetData.value = res.data
let num = 0
let flag = 0
let judgment=true
let judgment = true
for (let k in res.data) {
if (k != 'lineId') {
if(res.data[k] != '/'){
judgment=false
if (res.data[k] != '/') {
judgment = false
}
flag += (res.data[k] == '/' ? 0 : res.data[k])
}
}
if (IntegrityNum.value == 0) {
num = 2 //完整性告警
} else {
@@ -534,7 +534,7 @@ const open = async (id: string) => {
} else {
num = 0 //无告警
}
if(judgment){
if (judgment) {
num = 3
}
}
@@ -581,7 +581,7 @@ const echart = (row: any) => {
opacity: 0.35,
fontSize: 14
},
backgroundColor: 'rgba(0,0,0,0.35)',
backgroundColor: 'rgba(0,0,0,0.55)',
borderWidth: 0
},
legend: {