mirror of
https://gitee.com/js-yhsec/energy_storage.git
synced 2026-05-28 03:09:24 +08:00
[WEB]1.修改首页场站图标显示颜色不正确的问题,2.修改运行监控页面储能系统的运行模式和预制舱参数在页面切换时数据不显示问题
This commit is contained in:
@@ -97,9 +97,9 @@ export default {
|
||||
this.markers = res.data.map((item) => {
|
||||
return {
|
||||
...item,
|
||||
iconMap: !+item.status
|
||||
? require('../../assets/home/homeIcon1.png')
|
||||
: require('../../assets/home/homeIcon.png')
|
||||
iconMap: (item.status === 1)
|
||||
? require('../../assets/home/homeIcon.png')
|
||||
: require('../../assets/home/homeIcon1.png')
|
||||
}
|
||||
})
|
||||
} else {
|
||||
|
||||
@@ -127,7 +127,7 @@ export default {
|
||||
handler(newVal, oldVal) {
|
||||
if (newVal !== oldVal) {
|
||||
// 0正常 1故障
|
||||
this.curStatus=['正常','故障'][this.propsTotal.status]
|
||||
this.curStatus=['故障','正常'][this.propsTotal.status]
|
||||
this.list.forEach((item) => {
|
||||
if(item.key=='work_mode'){
|
||||
item.value = ['手动','峰谷套利','增网配容','应急供电','并网保电','自定时段'][this.propsTotal[item.key]]
|
||||
|
||||
Reference in New Issue
Block a user