完善分发与收集任务全流程

- RestJobEx 对齐 task_id,path_file 提交目录路径
- 运行页进度仅跟接口轮询,失败态停留 page3 UI
- 完成态卡位续做,USB/任务轮询生命周期优化
- 拆分 DLL 加载、任务 staging 与提交前校验
- 移除 mock 与冗余样式,补充 native 依赖

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
24kycj
2026-06-01 09:43:24 +08:00
parent 505e72ce28
commit 574cb353e8
56 changed files with 1617 additions and 2350 deletions
+4 -1
View File
@@ -14,18 +14,21 @@ const channels = {
'poll:job-stop',
'poll:usb-start',
'poll:usb-stop',
'poll:card-position-start',
'poll:card-position-stop',
'dialog:open-directory',
'dialog:open-file',
'fs:path-exists',
'fs:dir-size',
'fs:parse-soon',
'fs:write-job-csv',
'config:get',
'config:set',
'shell:open-path',
'design:open',
'dll:reject-available'
] as const,
on: ['job:poll-tick', 'usb:poll-tick', 'app:trace'] as const
on: ['job:poll-tick', 'usb:poll-tick', 'card:position-tick', 'app:trace'] as const
}
const cardsoonApi = {