清洗优化
This commit is contained in:
@@ -121,42 +121,42 @@ export default function StationDashboard() {
|
||||
>
|
||||
<Col flex="1 1 16.666%">
|
||||
<Card bordered={false} style={cardStyle}>
|
||||
<Statistic title={<span style={{ color: '#000', fontSize: 14, fontWeight: 600 }}>今日发电量</span>}
|
||||
<Statistic title={<span style={{ color: '#000', fontSize: 14, fontWeight: 800 }}>今日发电量</span>}
|
||||
value={stationOverview.todayEnergy} precision={1} valueStyle={{ color: '#1890ff', fontSize: 24, fontWeight: 800 }} prefix={<CloudOutlined style={{ fontSize: 20 }} />} suffix="kWh" />
|
||||
<div style={{ fontSize: 12, color: '#999', marginTop: 4 }}>日发电实时累计</div>
|
||||
</Card>
|
||||
</Col>
|
||||
<Col flex="1 1 16.666%">
|
||||
<Card bordered={false} style={cardStyle}>
|
||||
<Statistic title={<span style={{ color: '#000', fontSize: 14, fontWeight: 600 }}>当前功率</span>}
|
||||
<Statistic title={<span style={{ color: '#000', fontSize: 14, fontWeight: 800 }}>当前功率</span>}
|
||||
value={stationOverview.currentPower} precision={1} valueStyle={{ color: '#1890ff', fontSize: 24, fontWeight: 800 }} prefix={<ThunderboltOutlined style={{ fontSize: 20 }} />} suffix="kW" />
|
||||
<div style={{ fontSize: 12, color: '#999', marginTop: 4 }}>装机容量 100.0 MWp</div>
|
||||
</Card>
|
||||
</Col>
|
||||
<Col flex="1 1 16.666%">
|
||||
<Card bordered={false} style={cardStyle}>
|
||||
<Statistic title={<span style={{ color: '#000', fontSize: 14, fontWeight: 600 }}>系统效率 PR</span>}
|
||||
<Statistic title={<span style={{ color: '#000', fontSize: 14, fontWeight: 800 }}>系统效率 PR</span>}
|
||||
value={stationOverview.systemEfficiency} precision={1} valueStyle={{ color: '#52c41a', fontSize: 24, fontWeight: 800 }} prefix={<BarChartOutlined style={{ fontSize: 20 }} />} suffix="%" />
|
||||
<div style={{ fontSize: 12, color: '#999', marginTop: 4 }}>昨日 {stationOverview.yesterdayEfficiency}% +1.3%</div>
|
||||
</Card>
|
||||
</Col>
|
||||
<Col flex="1 1 16.666%">
|
||||
<Card bordered={false} style={cardStyle}>
|
||||
<Statistic title={<span style={{ color: '#000', fontSize: 14, fontWeight: 600 }}>系统可用率</span>}
|
||||
<Statistic title={<span style={{ color: '#000', fontSize: 14, fontWeight: 800 }}>系统可用率</span>}
|
||||
value={stationOverview.systemAvailability} precision={2} valueStyle={{ color: '#faad14', fontSize: 24, fontWeight: 800 }} prefix={<RiseOutlined style={{ fontSize: 20 }} />} suffix="%" />
|
||||
<div style={{ fontSize: 12, color: '#999', marginTop: 4 }}>在线设备 {stationOverview.onlineDevices}</div>
|
||||
</Card>
|
||||
</Col>
|
||||
<Col flex="1 1 16.666%">
|
||||
<Card bordered={false} style={cardStyle}>
|
||||
<Statistic title={<span style={{ color: '#000', fontSize: 14, fontWeight: 600 }}>告警数量</span>}
|
||||
<Statistic title={<span style={{ color: '#000', fontSize: 14, fontWeight: 800 }}>告警数量</span>}
|
||||
value={stationOverview.alarmCount} valueStyle={{ color: '#ff4d4f', fontSize: 24, fontWeight: 800 }} prefix={<BellOutlined style={{ fontSize: 20 }} />} suffix="条" />
|
||||
<div style={{ fontSize: 12, color: '#999', marginTop: 4 }}>今日新增 0 条</div>
|
||||
</Card>
|
||||
</Col>
|
||||
<Col flex="1 1 16.666%">
|
||||
<Card bordered={false} style={cardStyle}>
|
||||
<Statistic title={<span style={{ color: '#000', fontSize: 14, fontWeight: 600 }}>节省运维成本</span>}
|
||||
<Statistic title={<span style={{ color: '#000', fontSize: 14, fontWeight: 800 }}>节省运维成本</span>}
|
||||
value={stationOverview.costSaved} valueStyle={{ color: '#1890ff', fontSize: 24, fontWeight: 800 }} prefix="¥" />
|
||||
<div style={{ fontSize: 12, color: '#999', marginTop: 4 }}>清洗收益 + 工单闭环估算</div>
|
||||
</Card>
|
||||
@@ -176,7 +176,7 @@ export default function StationDashboard() {
|
||||
{/* 左侧图表列 - 最终完美版:不溢出 + 一定可见 */}
|
||||
<Col xs={24} lg={6} style={{ flex: '0 0 25%', padding: '0 8px', display: 'flex', flexDirection: 'column', height: '100%', gap: "8px", overflowX: 'hidden', overflowY: 'auto', scrollbarWidth: 'thin', scrollbarColor: '#ccc transparent' }}>
|
||||
<Card
|
||||
title={<span style={{ color: '#0837A8', fontWeight: 600 }}>发电趋势</span>}
|
||||
title={<span style={{ color: '#0837A8', fontWeight: 800 }}>发电趋势</span>}
|
||||
bordered={false}
|
||||
style={{
|
||||
...cardStyle,
|
||||
@@ -197,7 +197,7 @@ export default function StationDashboard() {
|
||||
</Card>
|
||||
|
||||
<Card
|
||||
title={<span style={{ color: '#0837A8', fontWeight: 600 }}>辐照度与温度</span>}
|
||||
title={<span style={{ color: '#0837A8', fontWeight: 800 }}>辐照度与温度</span>}
|
||||
bordered={false}
|
||||
style={{
|
||||
...cardStyle,
|
||||
@@ -218,7 +218,7 @@ export default function StationDashboard() {
|
||||
</Card>
|
||||
|
||||
<Card
|
||||
title={<span style={{ color: '#0837A8', fontWeight: 600 }}>逆变器效率</span>}
|
||||
title={<span style={{ color: '#0837A8', fontWeight: 800 }}>逆变器效率</span>}
|
||||
bordered={false}
|
||||
style={{
|
||||
...cardStyle,
|
||||
@@ -239,7 +239,7 @@ export default function StationDashboard() {
|
||||
</Card>
|
||||
|
||||
<Card
|
||||
title={<span style={{ color: '#0837A8', fontWeight: 600 }}>运维任务进度</span>}
|
||||
title={<span style={{ color: '#0837A8', fontWeight: 800 }}>运维任务进度</span>}
|
||||
bordered={false}
|
||||
style={{
|
||||
...cardStyle,
|
||||
@@ -266,7 +266,7 @@ export default function StationDashboard() {
|
||||
title={
|
||||
<div style={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center' }}>
|
||||
<div>
|
||||
<div style={{ fontWeight: 500, color: '#0837A8' }}>电站概览</div>
|
||||
<div style={{ fontWeight: 800, color: '#0837A8' }}>电站概览</div>
|
||||
<div style={{ fontSize: 12, color: '#999' }}>GeoTIFF 正射底图 · 设备点位叠加</div>
|
||||
</div>
|
||||
|
||||
@@ -318,7 +318,7 @@ export default function StationDashboard() {
|
||||
<Card
|
||||
title={
|
||||
<div style={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center' }}>
|
||||
<span style={{ fontWeight: 600, fontSize: 14, color: '#0837A8' }}>实时告警</span>
|
||||
<span style={{ fontWeight: 800, fontSize: 14, color: '#0837A8' }}>实时告警</span>
|
||||
<Button type="link" style={{ padding: 0, fontSize: 12 }}>更多</Button>
|
||||
</div>
|
||||
}
|
||||
@@ -366,7 +366,7 @@ export default function StationDashboard() {
|
||||
|
||||
{/* 设备在线状态 */}
|
||||
<Card
|
||||
title={<span style={{ fontWeight: 600, fontSize: 14, color: '#0837A8' }}>设备在线状态</span>}
|
||||
title={<span style={{ fontWeight: 800, fontSize: 14, color: '#0837A8' }}>设备在线状态</span>}
|
||||
bordered={false}
|
||||
style={{
|
||||
borderRadius: 8,
|
||||
@@ -399,7 +399,7 @@ export default function StationDashboard() {
|
||||
|
||||
{/* 天气信息 */}
|
||||
<Card
|
||||
title={<span style={{ fontWeight: 600, fontSize: 14, color: '#0837A8' }}>天气信息</span>}
|
||||
title={<span style={{ fontWeight: 800, fontSize: 14, color: '#0837A8' }}>天气信息</span>}
|
||||
bordered={false}
|
||||
style={{
|
||||
borderRadius: 8,
|
||||
@@ -412,7 +412,7 @@ export default function StationDashboard() {
|
||||
<CloudOutlined style={{ fontSize: 32, color: '#1890ff', marginRight: 12 }} />
|
||||
<div style={{ display: 'flex', flexDirection: 'row', gap: 12, alignItems: 'center' }}>
|
||||
<div>
|
||||
<div style={{ fontSize: 24, fontWeight: 600, color: '#1890ff' }}>22℃</div>
|
||||
<div style={{ fontSize: 24, fontWeight: 800, color: '#1890ff' }}>22℃</div>
|
||||
<div style={{ fontSize: 14, color: '#666', marginBottom: 2 }}>阴天</div>
|
||||
</div>
|
||||
<div>
|
||||
@@ -428,7 +428,7 @@ export default function StationDashboard() {
|
||||
<Card
|
||||
title={
|
||||
<div style={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center' }}>
|
||||
<span style={{ fontWeight: 600, fontSize: 14, color: '#0837A8' }}>清洗建议</span>
|
||||
<span style={{ fontWeight: 800, fontSize: 14, color: '#0837A8' }}>清洗建议</span>
|
||||
<Button type="link" style={{ padding: 0, fontSize: 12 }}>详情</Button>
|
||||
</div>
|
||||
}
|
||||
@@ -453,7 +453,7 @@ export default function StationDashboard() {
|
||||
autoFit={true}
|
||||
/>
|
||||
<div style={{ position: 'absolute', top: '50%', left: '50%', transform: 'translate(-50%, -50%)', textAlign: 'center' }}>
|
||||
<div style={{ fontSize: 24, fontWeight: 600, color: '#1890ff' }}>46</div>
|
||||
<div style={{ fontSize: 24, fontWeight: 800, color: '#1890ff' }}>46</div>
|
||||
<div style={{ fontSize: 12, color: '#666' }}>分</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -469,7 +469,7 @@ export default function StationDashboard() {
|
||||
<Row gutter={16} style={{ height: '25%' }} >
|
||||
<Col xs={12} style={{ height: '100%' }}>
|
||||
<Card
|
||||
title={<span style={{ color: '#0837A8', fontWeight: 600 }}>近期巡检记录</span>}
|
||||
title={<span style={{ color: '#0837A8', fontWeight: 800 }}>近期巡检记录</span>}
|
||||
bordered={false}
|
||||
style={{ ...cardStyle, height: '100%' }}
|
||||
bodyStyle={{ padding: 12, height: '66%', overflow: 'auto', scrollbarWidth: 'thin', scrollbarColor: '#ccc transparent' }}
|
||||
@@ -489,7 +489,7 @@ export default function StationDashboard() {
|
||||
</Col>
|
||||
<Col xs={12} style={{ height: '100%', }}>
|
||||
<Card
|
||||
title={<span style={{ color: '#0837A8', fontWeight: 600 }}>AI分析摘要</span>}
|
||||
title={<span style={{ color: '#0837A8', fontWeight: 800 }}>AI分析摘要</span>}
|
||||
bordered={false}
|
||||
style={{ ...cardStyle, height: '100%' }}
|
||||
bodyStyle={{ padding: 12, height: '66%', overflow: 'auto', scrollbarWidth: 'thin', scrollbarColor: '#ccc transparent' }}
|
||||
|
||||
Reference in New Issue
Block a user