mirror of
https://gitee.com/js-yhsec/energy_storage.git
synced 2026-05-28 11:19:24 +08:00
代码提交
This commit is contained in:
@@ -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]
|
||||
}
|
||||
|
||||
@@ -120,7 +120,7 @@ export default {
|
||||
|
||||
.item {
|
||||
height: 50%;
|
||||
width: 30%;
|
||||
width: 45%;
|
||||
// height: 47px;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
|
||||
@@ -108,7 +108,7 @@ export default {
|
||||
key: 'power_rated',
|
||||
value: 100,
|
||||
d: 'Kw',
|
||||
label: 'PCS额定功率',
|
||||
label: '额定功率',
|
||||
class: 'item-6'
|
||||
}
|
||||
]
|
||||
|
||||
@@ -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')
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user