From 666f35931cc40c540b1578244ee01a2a5fed3b77 Mon Sep 17 00:00:00 2001 From: mac Date: Tue, 7 Jul 2026 19:22:08 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E9=A6=96=E9=A1=B5=E2=86=92?= =?UTF-8?q?=E9=83=A8=E9=97=A8=EF=BC=8C=E7=A7=BB=E9=99=A4=E4=B8=9A=E5=8A=A1?= =?UTF-8?q?=E6=A6=82=E8=A7=88=E8=A1=A8=E5=92=8C4=E5=9B=BE=E8=A1=A8(?= =?UTF-8?q?=E5=B7=B2=E8=BF=81=E7=A7=BB=E5=88=B0=E6=80=BB=E8=A7=88tab)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 侧边栏首页→部门,图标改为trending-up - 移除部门页业务(项目)财务概览表 - 移除4张图表(月度签约/确收毛利/回款已付/项目利润) - 保留回款提醒+部门经营+部门现金流+近期动态 - 版本号 v1.0.0.14 --- static/modules/home.js | 8 -------- templates/index.html | 8 ++++---- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/static/modules/home.js b/static/modules/home.js index 01ebe8a..0792d37 100644 --- a/static/modules/home.js +++ b/static/modules/home.js @@ -168,17 +168,9 @@ function renderHome() { }; return buildDeptTable('部门经营情况', d.slice(0, 3)) + buildDeptTable('部门现金流', d.slice(3, 6)); })()} - ${card(`

业务(项目)财务概览

合同 → 确收 → 毛利 → 成本 → 项目利润 → 回款 → 已付 → 现金流

${thead}${tbody}
`, "p-4")} -
- ${card(`

月度签约趋势

2026
`, "p-4")} - ${card(`

月度确收与毛利

2026
`, "p-4")} - ${card(`

月度回款与已付

2026
`, "p-4")} - ${card(`

月度项目利润

2026
`, "p-4")} -
${card(`

近期动态

${summary.recent.map((r) => `
${r.content}
${r.followed_at}
`).join("")}
`, "p-5")} `; - renderCharts(financeMonthly); } function chartOptions(yCallback) { diff --git a/templates/index.html b/templates/index.html index 0dd8180..45c01b8 100644 --- a/templates/index.html +++ b/templates/index.html @@ -45,9 +45,9 @@
-