样式优化

This commit is contained in:
2025-09-27 17:44:03 +08:00
parent 9dcf2a6c12
commit a1fdc958db

View File

@ -79,7 +79,7 @@ import intervalUpdate from "@/mixins/ems/intervalUpdate";
export default { export default {
name: "DzjkSbjkHome", name: "DzjkSbjkHome",
components: { WeekChart, ActiveChart, AlarmTable, ClInfo }, components: { WeekChart, ActiveChart, AlarmTable, ClInfo },
mixins: [getQuerySiteId,intervalUpdate], mixins: [getQuerySiteId, intervalUpdate],
data() { data() {
return { return {
loading: false, loading: false,
@ -110,6 +110,14 @@ export default {
title: "今日放电量kWh", title: "今日放电量kWh",
attr: "dayDisChargedCap", attr: "dayDisChargedCap",
}, },
{
title: "总充电量kWh",
attr: "totalChargedCap",
},
{
title: "总放电量kWh",
attr: "totalDischargedCap",
},
{ {
title: "总收入", title: "总收入",
attr: "todo", attr: "todo",
@ -118,15 +126,6 @@ export default {
title: "当日实时收入", title: "当日实时收入",
attr: "todo", attr: "todo",
}, },
{
title: "总充电量MWh",
attr: "totalChargedCap",
},
{
title: "总放电量MWh",
attr: "totalDischargedCap",
},
], ],
info: {}, //基本信息 info: {}, //基本信息
runningInfo: {}, //总累计运行数据+报警表格 runningInfo: {}, //总累计运行数据+报警表格
@ -164,7 +163,7 @@ export default {
this.loading = false; this.loading = false;
}); });
// 一分钟循环一次总累计运行数据 // 一分钟循环一次总累计运行数据
this.updateInterval(this.getRunningInfo) this.updateInterval(this.getRunningInfo);
}, },
}, },
}; };
@ -181,7 +180,9 @@ export default {
.sjgl-data { .sjgl-data {
text-align: center; text-align: center;
&:nth-child(1), &:nth-child(1),
&:nth-child(2) { &:nth-child(2),
&:nth-child(3),
&:nth-child(4) {
margin-bottom: 25px; margin-bottom: 25px;
} }
.sjgl-title { .sjgl-title {