1 #77

Merged
xiaomeng merged 1 commits from pc-master into portal 2023-12-16 10:07:19 +00:00
1 changed files with 10 additions and 11 deletions

View File

@ -713,7 +713,7 @@ export default {
// } else { // } else {
// name = el.equipmentNumber + '#' + el.environmentDataId // name = el.equipmentNumber + '#' + el.environmentDataId
// } // }
if (el.equipmentNumber == 0) { if (el.equipmentNumber == 0) {
name = '1#平均' + el.environmentDataId name = '1#平均' + el.environmentDataId
@ -722,14 +722,13 @@ export default {
name = '2#平均' + el.environmentDataId name = '2#平均' + el.environmentDataId
} else { } else {
if (el.targetValue == 1) { if (el.targetValue == 1) {
name = '1#目标' + el.environmentDataId name = el.equipmentNumber + '#目标' + el.environmentDataId
} else{ } else{
name = el.equipmentNumber + '#' + el.environmentDataId name = el.equipmentNumber + '#' + el.environmentDataId
} }
} }
this.list.push({ this.list.push({
...el, ...el,
name: name, name: name,
@ -794,7 +793,7 @@ 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
@ -803,11 +802,11 @@ export default {
name = '2#平均' + el.environmentDataId name = '2#平均' + el.environmentDataId
} else { } else {
if (el.targetValue == 1) { if (el.targetValue == 1) {
name = '1#目标' + el.environmentDataId name = el.equipmentNumber + '#目标' + el.environmentDataId
} else{ } else{
name = el.equipmentNumber + '#' + el.environmentDataId name = el.equipmentNumber + '#' + el.environmentDataId
} }
} }
this.list.push({ this.list.push({
...el, ...el,