腾讯WorkBuddy 24d645b77c 界面优化:对齐参考图视觉风格
- 统计卡图标改为圆形光盘并加发光环(危险/警告/成功语义用边框色强调)
- 新增 3D 卡片栈视觉:总账端「重点公司」、公司端「账户覆盖」以透视扇形呈现,高亮当前需关注项
- 新增覆盖连续性时间轴(横向 12 月轴 + 账户覆盖条 + 今日指示)
- 统计卡与玻璃面板加入顶部内高光,提升层次与深度
- 补齐 1180/900/720/460 断点的卡片栈与时间轴响应式

Refs BAI-28
2026-08-07 01:03:05 +08:00

往来台账

当前版本包含银行流水表头识别内核,以及相互独立的总账管理端和公司业务端原型。

How recognition works

  1. Scan the first 50 rows of every worksheet.
  2. Normalize whitespace and full-width characters in candidate headers.
  3. Match required header aliases against known bank template signatures.
  4. Map columns by header name, independent of their order.
  5. Normalize transaction dates, income, expense, balance, counterparty, and reference fields.
  6. Reject unknown or ambiguous templates instead of guessing.

The original Excel file is never modified.

Run

python -m pip install -r requirements.txt
$env:PYTHONPATH = "src"
python -m bank_importer.cli "流水模板"
python -m unittest discover -s tests -v
python server.py

访问地址:

  • 登录入口:http://127.0.0.1:4173/
  • 总账管理端:http://127.0.0.1:4173/admin.html
  • 公司业务端:http://127.0.0.1:4173/company.html

公司端上传会把所选工作簿提交到本地 /api/parse,与 CLI 使用同一个确定性表头解析器。当前前端是交互原型,公司、账号、期初、提醒和导入确认仅保存在当前浏览器页面中,尚未接入数据库和正式身份认证。

The CLI prints batch summaries only. It does not print sensitive transaction details.

S
Description
No description provided
Readme
10 MiB
Languages
Python 73%
JavaScript 14.4%
HTML 8%
CSS 4.2%
Shell 0.4%