diff --git a/src/components/devices/WayLinePage.tsx b/src/components/devices/WayLinePage.tsx
index fc647a0..1ebc317 100644
--- a/src/components/devices/WayLinePage.tsx
+++ b/src/components/devices/WayLinePage.tsx
@@ -532,7 +532,6 @@ export default function WayLinePage({ onRefresh }) {
if (item.list) combinedList = combinedList.concat(item.list);
});
}
- console.log('看板任务列表:', combinedList);
setBoardTaskList(combinedList);
}
} catch (err) {
diff --git a/src/pages/ReportCenter.tsx b/src/pages/ReportCenter.tsx
index a6f8ef3..a2b7bed 100644
--- a/src/pages/ReportCenter.tsx
+++ b/src/pages/ReportCenter.tsx
@@ -27,12 +27,60 @@ const { Text, Title } = Typography;
// 模拟数据(完全匹配参考图)
const overviewCards = [
- { title: '本月发电量', value: '138.6', unit: 'MWh', trend: '环比 ↑ +6.2%', color: '#00B42A', bg: '#E8FFEA', icon:
},
- { title: 'PR均值', value: '82.8', unit: '%', trend: '环比 ↑ +1.1%', color: '#165DFF', bg: '#E8F3FF', icon:
},
- { title: '运维工单完成率', value: '93.4', unit: '%', trend: '本月累计 126 单', color: '#165DFF', bg: '#E8F3FF', icon:
},
- { title: '告警闭环率', value: '94.2', unit: '%', trend: '严重告警 8 条', color: '#F53F3F', bg: '#FFF1F0', icon:
},
- { title: '清洗收益提升', value: '+7.6', unit: '%', trend: '预估增发 12,850 kWh', color: '#00B42A', bg: '#E8FFEA', icon:
},
- { title: '自动生成报告', value: '24', unit: '份', trend: '本月累计', color: '#722ED1', bg: '#F9F0FF', icon:
},
+ {
+ title: '本月发电量',
+ value: '138.6',
+ unit: 'MWh',
+ trend: '环比 ↑ +6.2%',
+ color: '#00B42A',
+ iconBg: '#E8FFEA',
+ icon:
+ },
+ {
+ title: 'PR均值',
+ value: '82.8',
+ unit: '%',
+ trend: '环比 ↑ +1.1%',
+ color: '#165DFF',
+ iconBg: '#E8F3FF',
+ icon:
+ },
+ {
+ title: '运维工单完成率',
+ value: '93.4',
+ unit: '%',
+ trend: '本月累计 126 单',
+ color: '#165DFF',
+ iconBg: '#E8F3FF',
+ icon:
+ },
+ {
+ title: '告警闭环率',
+ value: '94.2',
+ unit: '%',
+ trend: '严重告警 8 条',
+ color: '#F53F3F',
+ iconBg: '#FFF1F0',
+ icon:
+ },
+ {
+ title: '清洗收益提升',
+ value: '+7.6',
+ unit: '%',
+ trend: '预估增发 12,850 kWh',
+ color: '#00B42A',
+ iconBg: '#E8FFEA',
+ icon:
+ },
+ {
+ title: '自动生成报告',
+ value: '24',
+ unit: '份',
+ trend: '本月累计',
+ color: '#722ED1',
+ iconBg: '#F9F0FF',
+ icon:
+ },
];
const monthlyPowerData = [
@@ -132,11 +180,7 @@ export default function ReportCenterPage() {
.report-tabs .ant-tabs-nav {
margin-bottom: 8px !important;
}
- .report-tabs .ant-tabs-tab {
- padding: 2px 4px !important;
- font-size: 14px;
- font-weight: 500;
- }
+
.filter-label {
font-size: 12px;
color: #86909C;
@@ -153,7 +197,7 @@ export default function ReportCenterPage() {
}
`}
-
+
报表中心
{/* 页面头部标签 */}
@@ -169,66 +213,52 @@ export default function ReportCenterPage() {
{overviewCards.map((card, idx) => (
-
+
-
- {card.title}
-
- }
- value={card.value}
- precision={card.title === 'PR均值' ? 1 : 1}
- suffix={
- card.unit && (
- {card.unit}
- )
- }
- valueStyle={{
- color: card.color,
- fontSize: 28,
- fontWeight: 700,
- marginBottom: 4
+ {/* 左侧文字区域 */}
+
+
+ {card.title}
+
+
+ {card.value}
+ {card.unit}
+
+ {/* 底部环比/备注 */}
+
+ {card.trend}
+
+
+
+ {/* 右侧圆形图标区域 */}
+
+
+ >
+ {card.icon}
+
- {card.rate && (
-
- 环比
-
- {card.rate}
-
-
- )}
-
- {card.desc && (
-
- {card.desc}
-
- )}
))}
diff --git a/src/pages/WorkOrder.tsx b/src/pages/WorkOrder.tsx
index 4166822..a77e7b1 100644
--- a/src/pages/WorkOrder.tsx
+++ b/src/pages/WorkOrder.tsx
@@ -450,8 +450,8 @@ const WorkOrderPage = () => {
-
{item.title}
-
+
{item.title}
+
{item.value}
{item.unit &&
{item.unit}}