houhuan
|
0721ed099c
|
@
feat: shadcn主题 + 文件关系追踪 + 处理流程修复
前端:
- 全站应用 shadcn/ui 主题 (zinc灰调, Inter字体, 1px细边框, 无硬阴影)
- 重写 global.css / Dashboard.vue / Login.vue / Layout.vue 样式
- 新增文件处理子页面: 采购单(Orders), 表格处理(Tables), 图片处理(Images)
- 侧边栏使用 el-sub-menu 组织文件处理导航
后端:
- 新增 file_relations 表追踪 input→output→result 链路
- 新增 /files/relations, /files/stats/detailed 等关系查询API
- 新增 ocr-single, excel-single, pipeline-single, merge-batch 端点
- 处理流程增加跳过逻辑 (已处理文件自动跳过)
- 全流程不再自动合并, 合并仅在采购单页面手动触发
Bug修复:
- TaskManager: asyncio.create_task 在线程池中无事件循环 → 改用 _schedule() 调度
- PurchaseOrderMerger 缺少 config 参数 → 传入 ConfigManager()
- FastAPI regex= 弃用 → 改为 pattern=
- merger.process() 接收 Path 对象 → 转为字符串
@
|
2026-05-05 14:16:30 +08:00 |
|
houhuan
|
dedc3b4183
|
feat: complete web application — FastAPI backend + Vue 3 SPA frontend
- Full FastAPI backend with JWT auth, file management, processing pipeline,
memory CRUD, barcode mappings, config management, cloud sync
- Vue 3 + Element Plus frontend with dashboard, task history, HTTP logs,
memory editor, barcode editor, config editor, sync page
- HTTP request logging middleware with SQLite persistence
- Task history tracking with progress and retry support
- File metadata recording for upload/download operations
- WebAuth section in config.ini for bcrypt password storage
- Bug fix: logs.py count query returns tuple not dict
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-05-05 11:59:07 +08:00 |
|
houhuan
|
79522d8356
|
feat: add task history query and retry API endpoints
|
2026-05-05 11:33:40 +08:00 |
|
houhuan
|
c49105a678
|
feat: add HTTP log query API endpoints
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-05-05 11:33:23 +08:00 |
|
houhuan
|
5de8694eec
|
feat: persist task lifecycle to SQLite via TaskManager
|
2026-05-05 11:32:07 +08:00 |
|
houhuan
|
205e18563d
|
feat: record file operations to metadata table + add history/stats endpoints
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
2026-05-05 11:32:04 +08:00 |
|
houhuan
|
56561068ea
|
feat: add HTTP request logging middleware
|
2026-05-05 11:31:47 +08:00 |
|
houhuan
|
280b94ae1d
|
feat: add db_schema for http_logs, task_history, file_metadata tables
|
2026-05-05 11:29:41 +08:00 |
|