diff --git a/client/src/pages/DashboardPage.tsx b/client/src/pages/DashboardPage.tsx
index a520b94..8c830fd 100644
--- a/client/src/pages/DashboardPage.tsx
+++ b/client/src/pages/DashboardPage.tsx
@@ -58,9 +58,15 @@ export function DashboardPage() {
queryFn: () => api.get('/situational-awareness/alerts'),
})
+ const { data: expenseData } = useQuery({
+ queryKey: ['store-expense/overview'],
+ queryFn: () => api.get('/store-expense/overview'),
+ })
+
const pageLoading = odLoading || dailyLoading || riskLoading || priorityLoading || loopLoading
const od = (overview as any)?.data
+ const ex = (expenseData as any)?.data
const riskRows = (riskData as any)?.data || []
const priorityRows = (priorityData as any)?.data || []
const dailyRows = (daily as any)?.data || []
@@ -182,6 +188,24 @@ export function DashboardPage() {
+ {/* 利润与成本 */}
+ {ex && (
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ )}
+
{/* 闭环健康度 */}
{lh && (