pc-master #76

Merged
xiaomeng merged 3 commits from pc-master into portal 2023-12-16 05:55:49 +00:00
1 changed files with 34 additions and 3 deletions

View File

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