diff --git a/psdc-ui/src/views/emonitor/frdl/index.vue b/psdc-ui/src/views/emonitor/frdl/index.vue index 2c84fac..8e7b112 100644 --- a/psdc-ui/src/views/emonitor/frdl/index.vue +++ b/psdc-ui/src/views/emonitor/frdl/index.vue @@ -5,14 +5,14 @@

总用电量

-

1641kWh

+

{{ data.totwh }}kWh

当前功率

-

11kW

+

{{ data.totp }}kW

@@ -20,7 +20,7 @@

当前温度

-

25℃

+

{{ data.temp }}℃

@@ -28,7 +28,7 @@

运行状态

-

开启

+

{{ data.runStatus }}

@@ -72,6 +72,7 @@ export default { let data = reactive({ totwh:'', totp:'', + temp:'', tempIn:'', tempOut:'', //1 开 2 关 @@ -518,6 +519,7 @@ export default { if(res.data!=null){ data.tempIn=res.data.tempIn data.tempOut=res.data.tempOut + data.temp=res.data.temp data.totp = res.data.totp data.totwh = res.data.totwh if(res.data.runStatus==1){ @@ -685,5 +687,11 @@ p{ padding-top: 10px; padding-left: 10px; } +.green{ + color: #14FF00; +} +.red{ + color: red; +}