告警接口
This commit is contained in:
@@ -258,8 +258,7 @@ export default function StationDashboard() {
|
||||
marginBottom: 16,
|
||||
width: '100%',
|
||||
margin: '0 0 16px 0',
|
||||
flexWrap: 'nowrap',
|
||||
overflow: 'hidden'
|
||||
flexWrap: 'wrap',
|
||||
}}
|
||||
>
|
||||
{/* 今日发电量 */}
|
||||
@@ -275,8 +274,8 @@ export default function StationDashboard() {
|
||||
<div style={{ fontSize: 12, color: '#999', marginTop: 8 }}>日目标 5,000 kWh</div>
|
||||
</div>
|
||||
<div style={{
|
||||
width: 64,
|
||||
height: 64,
|
||||
width: 50,
|
||||
height: 50,
|
||||
background: '#E8FFEA',
|
||||
borderRadius: '50%',
|
||||
display: 'flex',
|
||||
@@ -284,7 +283,7 @@ export default function StationDashboard() {
|
||||
alignItems: 'center',
|
||||
boxShadow: '0 2px 8px rgba(0, 180, 42, 0.1)'
|
||||
}}>
|
||||
<ThunderboltOutlined style={{ fontSize: 32, color: '#00B42A' }} />
|
||||
<ThunderboltOutlined style={{ fontSize: 28, color: '#00B42A' }} />
|
||||
</div>
|
||||
</div>
|
||||
</Card>
|
||||
@@ -303,8 +302,8 @@ export default function StationDashboard() {
|
||||
<div style={{ fontSize: 12, color: '#999', marginTop: 8 }}>装机容量 1,000 kWp</div>
|
||||
</div>
|
||||
<div style={{
|
||||
width: 64,
|
||||
height: 64,
|
||||
width: 50,
|
||||
height: 50,
|
||||
background: '#E8F3FF',
|
||||
borderRadius: '50%',
|
||||
display: 'flex',
|
||||
@@ -312,7 +311,7 @@ export default function StationDashboard() {
|
||||
alignItems: 'center',
|
||||
boxShadow: '0 2px 8px rgba(22, 93, 255, 0.1)'
|
||||
}}>
|
||||
<DashboardOutlined style={{ fontSize: 32, color: '#165DFF' }} />
|
||||
<DashboardOutlined style={{ fontSize: 28, color: '#165DFF' }} />
|
||||
</div>
|
||||
</div>
|
||||
</Card>
|
||||
@@ -323,7 +322,7 @@ export default function StationDashboard() {
|
||||
<Card bordered={false} style={cardStyle} bodyStyle={{ padding: '16px' }}>
|
||||
<div style={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center' }}>
|
||||
<div>
|
||||
<div style={{ color: '#000', fontSize: 14, fontWeight: 600, marginBottom: 8 }}>Performance Ratio(PR)</div>
|
||||
<div style={{ color: '#000', fontSize: 14, fontWeight: 600, marginBottom: 8 }}>Performance Ratio</div>
|
||||
<div style={{ display: 'flex', alignItems: 'baseline' }}>
|
||||
<span style={{ color: '#00B42A', fontSize: 24, fontWeight: 800 }}>82.6%</span>
|
||||
</div>
|
||||
@@ -332,8 +331,8 @@ export default function StationDashboard() {
|
||||
</div>
|
||||
</div>
|
||||
<div style={{
|
||||
width: 64,
|
||||
height: 64,
|
||||
width: 50,
|
||||
height: 50,
|
||||
background: '#E8FFEA',
|
||||
borderRadius: '50%',
|
||||
display: 'flex',
|
||||
@@ -341,7 +340,7 @@ export default function StationDashboard() {
|
||||
alignItems: 'center',
|
||||
boxShadow: '0 2px 8px rgba(0, 180, 42, 0.1)'
|
||||
}}>
|
||||
<BarChartOutlined style={{ fontSize: 32, color: '#00B42A' }} />
|
||||
<BarChartOutlined style={{ fontSize: 28, color: '#00B42A' }} />
|
||||
</div>
|
||||
</div>
|
||||
</Card>
|
||||
@@ -361,8 +360,8 @@ export default function StationDashboard() {
|
||||
</div>
|
||||
</div>
|
||||
<div style={{
|
||||
width: 64,
|
||||
height: 64,
|
||||
width: 50,
|
||||
height: 50,
|
||||
background: '#E8F3FF',
|
||||
borderRadius: '50%',
|
||||
display: 'flex',
|
||||
@@ -370,7 +369,7 @@ export default function StationDashboard() {
|
||||
alignItems: 'center',
|
||||
boxShadow: '0 2px 8px rgba(22, 93, 255, 0.1)'
|
||||
}}>
|
||||
<RiseOutlined style={{ fontSize: 32, color: '#165DFF' }} />
|
||||
<RiseOutlined style={{ fontSize: 28, color: '#165DFF' }} />
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -391,8 +390,8 @@ export default function StationDashboard() {
|
||||
</div>
|
||||
</div>
|
||||
<div style={{
|
||||
width: 64,
|
||||
height: 64,
|
||||
width: 50,
|
||||
height: 50,
|
||||
background: '#FFF1F0',
|
||||
borderRadius: '50%',
|
||||
display: 'flex',
|
||||
@@ -400,7 +399,7 @@ export default function StationDashboard() {
|
||||
alignItems: 'center',
|
||||
boxShadow: '0 2px 8px rgba(245, 63, 63, 0.1)'
|
||||
}}>
|
||||
<BellOutlined style={{ fontSize: 32, color: '#F53F3F' }} />
|
||||
<BellOutlined style={{ fontSize: 28, color: '#F53F3F' }} />
|
||||
</div>
|
||||
</div>
|
||||
</Card>
|
||||
@@ -418,8 +417,8 @@ export default function StationDashboard() {
|
||||
<div style={{ fontSize: 12, color: '#999', marginTop: 8 }}>本月累计节省</div>
|
||||
</div>
|
||||
<div style={{
|
||||
width: 64,
|
||||
height: 64,
|
||||
width: 50,
|
||||
height: 50,
|
||||
background: '#FFF7E8',
|
||||
borderRadius: '50%',
|
||||
display: 'flex',
|
||||
@@ -427,7 +426,7 @@ export default function StationDashboard() {
|
||||
alignItems: 'center',
|
||||
boxShadow: '0 2px 8px rgba(255, 125, 0, 0.1)'
|
||||
}}>
|
||||
<MoneyCollectOutlined style={{ fontSize: 32, color: '#FF7D00' }} />
|
||||
<MoneyCollectOutlined style={{ fontSize: 28, color: '#FF7D00' }} />
|
||||
</div>
|
||||
</div>
|
||||
</Card>
|
||||
|
||||
Reference in New Issue
Block a user