基础设置页面 设备管理页面

This commit is contained in:
mmc
2026-05-08 15:53:27 +08:00
parent cd1861bdc0
commit f6be595220
6 changed files with 720 additions and 81 deletions

View File

@@ -129,10 +129,10 @@ export default function ReportCenterPage() {
value={overviewData.powerToday}
precision={1}
suffix="kWh"
valueStyle={{ color: '#52c41a', fontSize: 28, fontWeight: 700 }}
valueStyle={{ color: '#52c41a', fontSize: 24, fontWeight: 700 }}
prefix={<CloudOutlined style={{ fontSize: 32, color: '#52c41a' }} />}
/>
<div style={{ fontSize: 12, color: '#666' }}>遥测与 latest 聚合</div>
<div style={{ fontSize: 12, color: '#666', marginTop: 4 }}>遥测与 latest 聚合</div>
</Card>
</div >
@@ -150,10 +150,10 @@ export default function ReportCenterPage() {
value={overviewData.currentPower}
precision={1}
suffix="kW"
valueStyle={{ color: '#1890ff', fontSize: 28, fontWeight: 700 }}
valueStyle={{ color: '#1890ff', fontSize: 24, fontWeight: 700 }}
prefix={<BarChartOutlined style={{ fontSize: 32, color: '#1890ff' }} />}
/>
<div style={{ fontSize: 12, color: '#666' }}>实时功率汇总</div>
<div style={{ fontSize: 12, color: '#666', marginTop: 4 }}>实时功率汇总</div>
</Card>
</div >
@@ -170,10 +170,10 @@ export default function ReportCenterPage() {
title="当前告警"
value={overviewData.currentAlarm}
suffix="条"
valueStyle={{ color: '#ff4d4f', fontSize: 28, fontWeight: 700 }}
valueStyle={{ color: '#ff4d4f', fontSize: 24, fontWeight: 700 }}
prefix={<BellOutlined style={{ fontSize: 32, color: '#ff4d4f' }} />}
/>
<div style={{ fontSize: 12, color: '#666' }}>累计 5 条</div>
<div style={{ fontSize: 12, color: '#666', marginTop: 4 }}>累计 5 条</div>
</Card>
</div >
@@ -190,10 +190,10 @@ export default function ReportCenterPage() {
title="处理中工单"
value={overviewData.processingOrder}
suffix="单"
valueStyle={{ color: '#faad14', fontSize: 28, fontWeight: 700 }}
valueStyle={{ color: '#faad14', fontSize: 24, fontWeight: 700 }}
prefix={<CalendarOutlined style={{ fontSize: 32, color: '#faad14' }} />}
/>
<div style={{ fontSize: 12, color: '#666' }}>全部 3 单</div>
<div style={{ fontSize: 12, color: '#666', marginTop: 4 }}>全部 3 单</div>
</Card>
</div >
@@ -211,10 +211,10 @@ export default function ReportCenterPage() {
value={overviewData.deviceOnlineRate}
precision={1}
suffix="%"
valueStyle={{ color: '#52c41a', fontSize: 28, fontWeight: 700 }}
valueStyle={{ color: '#52c41a', fontSize: 24, fontWeight: 700 }}
prefix={<LinkOutlined style={{ fontSize: 32, color: '#52c41a' }} />}
/>
<div style={{ fontSize: 12, color: '#666' }}>来自设备主数据</div>
<div style={{ fontSize: 12, color: '#666', marginTop: 4 }}>来自设备主数据</div>
</Card>
</div >
@@ -231,10 +231,10 @@ export default function ReportCenterPage() {
title="已生成报表"
value={overviewData.generatedReport}
suffix="份"
valueStyle={{ color: '#722ed1', fontSize: 28, fontWeight: 700 }}
valueStyle={{ color: '#722ed1', fontSize: 24, fontWeight: 700 }}
prefix={<FileTextOutlined style={{ fontSize: 32, color: '#722ed1' }} />}
/>
<div style={{ fontSize: 12, color: '#666' }}>SUCCESS 文件记录</div>
<div style={{ fontSize: 12, color: '#666', marginTop: 4 }}>SUCCESS 文件记录</div>
</Card>
</div >
</div >