fix: sync/barcode/memory overhaul + detailed logs + preview + result tracking

- Sync: fix GiteaSync constructor + add push()/pull() methods
- Barcode: two-tab layout matching GUI (mapping + special rules)
- Memory: spec→specification unification, manual add, confidence/price tracking
- Processing: TaskLogHandler captures detailed logs (barcode mapping, unit conversion)
- Preview: fullscreen dialog for file preview (image/Excel) in Orders/Tables/Images
- Detail: per-file log filtering in file pages
- Tasks: result files now per-task, add copy path button
- Config: reactive edited state + save_config fix
- Dashboard: sync task isolation, log limit 10

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-05-05 19:37:10 +08:00
parent c18039f790
commit 81bafaf557
20 changed files with 1610 additions and 502 deletions
+2 -2
View File
@@ -126,7 +126,7 @@ async function checkStatus() {
async function doPush() {
syncing.value = true
try {
await processingStore.startTask('/sync/push')
await processingStore.startTask('/sync/push', undefined, 'sync')
} catch (err: any) {
ElMessage.error(err.response?.data?.detail || '推送失败')
} finally {
@@ -137,7 +137,7 @@ async function doPush() {
async function doPull() {
syncing.value = true
try {
await processingStore.startTask('/sync/pull')
await processingStore.startTask('/sync/pull', undefined, 'sync')
} catch (err: any) {
ElMessage.error(err.response?.data?.detail || '拉取失败')
} finally {