diff --git a/src/App.tsx b/src/App.tsx index e41da92..8ca133c 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -412,7 +412,7 @@ export default function App() {
{/* Title row */}
-

羚牛氢能车辆资产

+

羚牛氢能车辆资产

{/* Right: status + theme */}
@@ -1275,25 +1275,17 @@ export default function App() { 总运营车辆 {deptData.reduce((s, d) => s + d.totalAssets, 0)}
-
setShowPlateNumbers({ batch: 'All', model: 'All', location: 'All', attendance: 'active', source: 'department', title: '部门运营统计 - 出勤车辆' })}> +
出勤车辆 - - {deptData.reduce((acc, d) => acc + d.operatingCount, 0)} - + -
-
setShowPlateNumbers({ batch: 'All', model: 'All', location: 'All', attendance: 'idle', source: 'department', title: '部门运营统计 - 闲置车辆' })}> +
闲置车辆 - - {deptData.reduce((acc, d) => acc + d.idleCount, 0)} - + -
平均出勤 - - {deptData.length > 0 ? (deptData.reduce((acc, d) => acc + d.attendanceRate, 0) / deptData.length).toFixed(1) : 0}% - + -
@@ -1379,9 +1371,7 @@ export default function App() { {dept.department} - - {dept.attendanceRate}% - + - - - - - + - + - {isExpanded ? : } @@ -1599,8 +1569,8 @@ export default function App() { >

{dept.department}

- - 出勤率: {dept.attendanceRate}% + + 出勤率: -
@@ -1609,15 +1579,13 @@ export default function App() {
总运营
{dept.totalAssets}
-
{ e.stopPropagation(); setShowPlateNumbers({ batch: 'All', model: 'All', location: 'All', department: dept.department, attendance: 'active', source: 'department', title: `部门运营统计 - ${dept.department} - 出勤车辆` }); }}> -
出勤
-
{dept.operatingCount}
+
+
出勤
+
-
-
{ e.stopPropagation(); setShowPlateNumbers({ batch: 'All', model: 'All', location: 'All', department: dept.department, attendance: 'idle', source: 'department', title: `部门运营统计 - ${dept.department} - 闲置车辆` }); }}> +
闲置
-
{dept.idleCount}
+
-