diff --git a/backend/flask_app.py b/backend/flask_app.py index e39ccee..dc526d9 100644 --- a/backend/flask_app.py +++ b/backend/flask_app.py @@ -377,6 +377,9 @@ def bootstrap(): "monthly_revenue": revenue_month, "monthly_net_profit": revenue_month - cost_month, "upcoming_products": len([x for x in products if x["status"] in ["规划中", "设计中", "开发中", "测试中"]]), + "total_projects": len(operations), + "total_proposals": len(proposals), + "total_products": len(products), # Extended finance metrics "signed_amount": signed_amount, "signed_annual": signed_annual, diff --git a/static/app.js b/static/app.js index 8ae98f2..454f8bf 100644 --- a/static/app.js +++ b/static/app.js @@ -115,16 +115,14 @@ function renderHome() { const tblCard = (title, rows) => card(`
| ${label} | ${value} |