v1.7.10 — 首页指标简化为6卡片:重点项目/业务方案/产品版本/本月确收/本月毛利/本月净利

This commit is contained in:
mac
2026-06-16 15:09:49 +08:00
parent 2c199aae76
commit c68fcaadcc
2 changed files with 9 additions and 8 deletions

View File

@@ -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,