代码提交

This commit is contained in:
ym1026
2025-09-12 11:43:32 +08:00
parent f0720439d2
commit 1a66c87a5a
23 changed files with 63 additions and 198 deletions

View File

@@ -96,18 +96,14 @@ export default {
handler(newVal, oldVal) {
if (newVal !== oldVal) {
this.list.forEach((item) => {
console.log(this.propsTotal,this.propsTotal[item.key],"this.propsTotal[item.key]")
if (item.key == 'coolingStatus') {
console.log(this.coolingList.find(
(e) => e.value == this.propsTotal[item.key]
))
item.value = this.coolingList.find(
(e) => e.value == this.propsTotal[item.key]
).label
).label ||'关机'
} else if (item.key == 'aircStatus') {
item.value = this.aircList.map(
(e) => e.value == this.propsTotal[item.key]
).label
)[0].label||'关机'
} else {
item.value = this.propsTotal[item.key]
}

View File

@@ -120,7 +120,7 @@ export default {
.item {
height: 50%;
width: 30%;
width: 45%;
// height: 47px;
box-sizing: border-box;
display: flex;

View File

@@ -108,7 +108,7 @@ export default {
key: 'power_rated',
value: 100,
d: 'Kw',
label: 'PCS额定功率',
label: '额定功率',
class: 'item-6'
}
]

View File

@@ -32,7 +32,7 @@ export default {
key: 'runDays',
value: 26,
d: '天',
label: '场站运行天数',
label: '运行天数',
class: 'item-1',
iconPath: require('@/assets/home/wendu.png')
},
@@ -56,7 +56,7 @@ export default {
key: 'incomeTotal',
value: 26,
d: '元',
label: '场站累计收益',
label: '累计收益',
class: 'item-4',
iconPath: require('@/assets/home/dianliu.png')
},