pull/76/head
home孙 2023-12-16 13:11:52 +08:00
parent e97ac08eb5
commit ce46ebeae3
1 changed files with 9 additions and 1 deletions

View File

@ -699,9 +699,17 @@ export default {
num = el.environmentData + el1.unit num = el.environmentData + el1.unit
// } // }
if (el.equipmentNumber == 0) { if (el.equipmentNumber == 0) {
if (el.targetValue == 1) {
name = '1#目标' + el.environmentDataId
} else {
name = '1#平均' + el.environmentDataId name = '1#平均' + el.environmentDataId
}
} else if (el.equipmentNumber == 15) { } else if (el.equipmentNumber == 15) {
if (el.targetValue == 1) {
name = '2#目标' + el.environmentDataId
} else {
name = '2#平均' + el.environmentDataId name = '2#平均' + el.environmentDataId
}
} else { } else {
name = el.equipmentNumber + '#' + el.environmentDataId name = el.equipmentNumber + '#' + el.environmentDataId
} }