修改 海南测试bug
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user