chengkai3
|
c6d547a985
|
feat: 高程导入改为异步非阻塞,避免大文件上传时前端长时间等待
改动范围:
- api/app/services/elevation_service.py
- web/src/app/admin/elevation/page.tsx
改动点:
1. API 端快速返回(elevation_service.py)
- 修改 `import_dataset_data_files`:不再在请求内同步执行暂存
- 新增 `_prepare_upload_files_for_staging`:快速读取上传文件并序列化为 base64
- API 端立即创建任务并返回,文件内容暂存在 `staged_files_json`
2. Worker 端异步暂存(elevation_service.py)
- 修改 `execute_dataset_data_import_job`:从 `staged_files_json` 读取文件
- 新增 `_stage_dataset_import_job_uploads_from_serialized`:从序列化数据恢复并暂存
- Worker 负责完整的"暂存→导入→分析"流程
3. 前端阶段展示(page.tsx)
- 更新 `importJobStageLabel`:添加 "pending" 和 "staging" 阶段标签
- 用户可看到"等待执行"和"暂存文件"等阶段
关联影响:
- 数据库 `staged_files_json` 字段存储格式变更(存储序列化的文件内容)
- 任务初始状态改为 "pending",Worker 启动后变为 "staging"
技术方案:
- 采用 base64 序列化文件内容存入数据库
- 保持现有暂存目录和清理逻辑不变
- WebSocket 进度推送机制继续有效
验证:
- Python 语法检查通过
- 修改符合现有代码风格和约定
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-12 12:42:17 +08:00 |
|
chengkai3
|
4328d9fd34
|
[fix/feat]:[FL-82][ATP模型管理改造]
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-11 23:45:57 +08:00 |
|
chengkai3
|
fac37ddb8d
|
[fix/feat]:[FL-81][ATP模型管理改造为资产发布制]
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-11 22:39:48 +08:00 |
|
chengkai3
|
61a1954034
|
[feat]:[FL-80][高程数据导入异步并支持进度回看]
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-10 15:38:10 +08:00 |
|
chengkai3
|
3a8027803c
|
[fix/feat]:[FL-77][修复杆塔高程回填任务 actor_user_id 传递]
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-10 08:31:11 +08:00 |
|
chengkai3
|
2a54857fe1
|
[fix/feat]:[FL-76][高程数据导入报错]
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-10 08:26:51 +08:00 |
|
chengkai3
|
2ad2405cd3
|
[fix/feat]:[FL-74][高程数据支持DEM地形瓦片预览和线路地形图]
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-10 00:26:09 +08:00 |
|
chengkai3
|
f7013ff32c
|
[fix]:[FL-70][移除测试临时锁文件]
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-09 12:30:27 +08:00 |
|
chengkai3
|
4ce57708b4
|
[fix]:[FL-70][删除线路时,塔杆要一起删除]
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-09 12:30:27 +08:00 |
|
chengkai3
|
d7f712e3c1
|
[feat]:[FL-69][接入 legacy ATP/EGM worker 适配链路]
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-09 12:28:02 +08:00 |
|
chengkai3
|
d36aeb8636
|
[feat]:[FL-65][新增定时任务管理页面]
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-09 12:00:59 +08:00 |
|
chengkai3
|
f26f7859cd
|
[feat]:[FL-62][补充系统日志审计覆盖范围]
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-09 11:31:00 +08:00 |
|
chengkai3
|
4e2b3dcdad
|
[fix]:[FL-57][统一计算任务到 Celery worker]
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-09 08:29:10 +08:00 |
|
chengkai3
|
2a10cc62d8
|
[fix]:[FL-55][ATP模型管理和线路管理菜单冲突]
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-09 00:11:58 +08:00 |
|
chengkai3
|
1adec62d6c
|
[feat]:[FL-51][ATP模型管理去掉版本管理]
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-08 23:44:18 +08:00 |
|
chengkai3
|
23980a3cf3
|
[fix]:[FL-48][it looks like wine32 is missing]
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-08 22:16:02 +08:00 |
|
chengkai3
|
de63459173
|
[fix]:[FL-47][把wine安装到fquiz-celery-worker中去]
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-08 18:58:24 +08:00 |
|
chengkai3
|
2f0f24e137
|
[fix]:[FL-42][修正模型导入清单]
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-08 12:54:00 +08:00 |
|
chengkai3
|
5a41cd4d3d
|
[fix/feat]:[FL-42][清理题库 Markdown 导题 热搜遗留模块]
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-08 12:48:12 +08:00 |
|
chengkai3
|
a6bb67752c
|
[fix]:[FL-44][清理遗留聊天 / 模型注册模块]
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-08 12:35:24 +08:00 |
|
chengkai3
|
dd8dd9244d
|
[fix]:[FL-43][清理遗留需求协同待办日程JWT生成器模块]
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-08 12:32:11 +08:00 |
|
chengkml
|
2263a0d45c
|
fix(admin): restore default menu visibility and protection
|
2026-06-08 10:49:35 +08:00 |
|
chengkai3
|
4d7f67f73a
|
[fix/feat]:[FL-39][移除 seed 启动自动调用,改为管理员手动接口触发]
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-08 09:08:01 +08:00 |
|
chengkai3
|
3451589401
|
[migrate]:[FL-37][补齐防雷报告图7雷区分布图输出]
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-08 05:15:45 +08:00 |
|
chengkai3
|
171a4a6089
|
[migrate]:[FL-35][杆塔多回路几何专用编辑器]
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-08 03:29:41 +08:00 |
|
chengkai3
|
f7c577932f
|
[migrate]:[FL-33][补齐防雷报告分级章节与图表输出]
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-08 01:32:56 +08:00 |
|
chengkai3
|
a9e2e587ae
|
[migrate]:[FL-30][加装避雷器复算与报告表14]
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-07 23:48:53 +08:00 |
|
chengkai3
|
0746e3ce28
|
[migrate]:[FL-31][add fl-analysis result export]
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-07 23:28:54 +08:00 |
|
chengkai3
|
cd0d605c5b
|
[migrate]:[FL-27][补齐杆塔专业参数编辑与导出字段]
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-07 21:42:05 +08:00 |
|
chengkai3
|
aebf152cd4
|
[migrate]:[FL-24][参数准备闭环与就绪校验]
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-07 20:37:53 +08:00 |
|
chengkai3
|
e21472bbd9
|
[migrate]:[FL-21][防雷分析普通/同跳计算接入ATP执行链路]
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-07 19:30:47 +08:00 |
|
chengkai3
|
923e4a8220
|
[migrate]:[FL-17][普通计算同跳计算工作流]
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-07 18:09:32 +08:00 |
|
chengkai3
|
6417c295e5
|
[migrate]:[FL-16][补齐报告生成与导出工作流]
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-07 17:39:20 +08:00 |
|
chengkai3
|
8a2af9135f
|
[migrate]:[FL-18][迁移故障复现工具]
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-07 17:35:43 +08:00 |
|
chengkai3
|
6244534582
|
[migrate]:[FL-13][迁移防雷计算规程法公式]
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-07 16:35:08 +08:00 |
|
chengkai3
|
632d2a2d17
|
[migrate]:[818141ae-204d-4339-8914-a1896eb8e4dc][防雷改造迁移]
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-07 16:06:52 +08:00 |
|
chengkai3
|
4c143e2842
|
[fix]:[FL-9][线路管理-创建线路优化]
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-07 11:49:10 +08:00 |
|
chengkai3
|
5194638af2
|
[fix/feat]:[FL-8][线路管理-新建线路表单调整]
Co-authored-by: multica-agent <github@multica.ai>
|
2026-06-07 11:35:02 +08:00 |
|
chengkml
|
95d6ed9461
|
chore: normalize fl-analysis api file mode
|
2026-06-06 23:40:02 +08:00 |
|
chengkml
|
0f8f4a0efb
|
feat: add fl-analysis grading and result page
|
2026-06-06 23:39:12 +08:00 |
|
chengkml
|
98f97bec01
|
feat: migrate tower profile professional fields
|
2026-06-06 22:16:09 +08:00 |
|
chengkml
|
578d124607
|
feat: add fl analysis backend skeleton
|
2026-06-06 20:56:44 +08:00 |
|
chengkml
|
4074f597c4
|
fix: refine auth cookie and route redirects
|
2026-05-17 00:09:33 +08:00 |
|
Admin
|
c4e3d06072
|
调整用户初始化数据为管理员账号
Co-authored-by: multica-agent <github@multica.ai>
|
2026-05-11 16:31:13 +08:00 |
|
Admin
|
184f9dcbb0
|
修复角色管理删除仅支持旧表结构的问题
Co-authored-by: multica-agent <github@multica.ai>
|
2026-05-07 09:46:21 +08:00 |
|
chengkai3
|
5357ef1fcc
|
杆塔模型初始化改为上传文件方式
|
2026-05-04 09:06:13 +08:00 |
|
chengkai3
|
3c4ad99d63
|
feat(tower-models): add tower model management with legacy data seed
|
2026-05-03 18:15:54 +08:00 |
|
chengkml
|
12a97e74a9
|
fix flower worker query fallback and legacy authz table guards
|
2026-05-03 16:08:46 +08:00 |
|
Admin
|
7c121b8948
|
优化高程数据管理交互并补充分析进度与文件明细能力
Co-authored-by: multica-agent <github@multica.ai>
|
2026-05-03 15:24:47 +08:00 |
|
Admin
|
a09d12c3c3
|
修复高程预览rasterio.warp子模块未加载导致采样失败
Co-authored-by: multica-agent <github@multica.ai>
|
2026-05-03 15:00:34 +08:00 |
|