From 3489b5f8fa3f373b8d9c522e306655205f5bf50f Mon Sep 17 00:00:00 2001 From: soehi <811446351@qq.com> Date: Wed, 2 Dec 2026 15:32:35 +0800 Subject: [PATCH] feat: export center activities with photos to Word --- dist/index.html | 6 ++--- dist/js/app.js | 11 ++++++++-- requirements.txt | 1 + server/center_export.py | 44 ++++++++++++++++++++++++++++++++++--- server/main.py | 2 +- tests/test_center_export.py | 41 ++++++++++++++++++++++++++++++---- 6 files changed, 92 insertions(+), 13 deletions(-) diff --git a/dist/index.html b/dist/index.html index aa46a41..4805e7c 100644 --- a/dist/index.html +++ b/dist/index.html @@ -166,13 +166,13 @@
导出当前账号可见的数据,隐藏联系方式。照片与材料包以引用形式提供,全部CSV打包为ZIP。
- +Word 格式仅导出当前可见的一楼活动,每个活动包含活动名称和照片,合并为一个 DOCX。
程序读取:GET /api/center/data;字段说明:GET /api/center/schema。均需使用本人登录令牌。
@@ -366,7 +366,7 @@ - +