pull/76/head
home孙 2023-12-16 13:40:10 +08:00
parent 2295d61251
commit 18c8159b0b
1 changed files with 9 additions and 2 deletions

View File

@ -794,14 +794,21 @@ export default {
// }else{ // }else{
num = el.environmentData + el1.unit num = el.environmentData + el1.unit
// } // }
if (el.equipmentNumber == 0) { if (el.equipmentNumber == 0) {
name = '1#平均' + el.environmentDataId name = '1#平均' + el.environmentDataId
} else if (el.equipmentNumber == 15) { } else if (el.equipmentNumber == 15) {
name = '2#平均' + el.environmentDataId name = '2#平均' + el.environmentDataId
} else { } else {
if (el.targetValue == 1) {
name = '1#目标' + el.environmentDataId
} else{
name = el.equipmentNumber + '#' + el.environmentDataId name = el.equipmentNumber + '#' + el.environmentDataId
}
} }
this.list.push({ this.list.push({
...el, ...el,
name: name, name: name,