From 7fdb6c70334b50b42c043dce653bfc1bca1fa1ef Mon Sep 17 00:00:00 2001 From: wyh <13423906455@163.com> Date: Wed, 3 Jun 2026 14:51:20 +0800 Subject: [PATCH 01/10] =?UTF-8?q?feat(import):=20=E5=AF=BC=E5=85=A5?= =?UTF-8?q?=E9=94=99=E9=A2=98=E5=BA=93=E5=BC=B9=E7=AA=97=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E6=96=B0=E5=BB=BA=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/app/WorkspaceView.vue | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/frontend/src/views/app/WorkspaceView.vue b/frontend/src/views/app/WorkspaceView.vue index b8318056..64827569 100644 --- a/frontend/src/views/app/WorkspaceView.vue +++ b/frontend/src/views/app/WorkspaceView.vue @@ -141,6 +141,7 @@ const doReset = async () => { const { eraseEnabled, eraseLoading, eraseImages, eraseDone, ocrLoading, ocrPages, ocrDone, + currentRunId, currentRecordId, setCurrentRecordId, startProcess, doErase, doOcr, doSplit, doSaveToDb, } = useSplitPipeline(pushToast, currentView, step, S, uploadReady, splitting, splitCompleted, uploadMode, selectedLlmOption, questions, selectedIds, pendingFiles, typesetMath) @@ -166,6 +167,10 @@ const handleLoadRecord = (qs, record) => { questions.value = qs || []; selectedIds.clear() splitCompleted.value = true; step.value = S.value.EXPORT currentView.value = 'workspace_review' + // 保存 record_id,用于后续导入错题库 + setCurrentRecordId(record?.id || null) + // 清除 run_id,因为历史记录导入不依赖 WorkflowRun + currentRunId.value = null pushToast('success', `已加载「${record?.subject || '历史记录'}」的 ${qs.length} 道题目`) nextTick(() => typesetMath()) } @@ -294,7 +299,7 @@ onBeforeUnmount(() => { @@ -356,6 +361,14 @@ onBeforeUnmount(() => { {{ project.name }} + + + + +
+

+ 将整理后的笔记保存到: +

+
+ +
+
+ +
From 29530de9c147a68990252296e5217e54989796c6 Mon Sep 17 00:00:00 2001 From: wyh <13423906455@163.com> Date: Sun, 7 Jun 2026 21:38:17 +0800 Subject: [PATCH 05/10] =?UTF-8?q?feat(note):=20=E7=AC=94=E8=AE=B0=E6=95=B4?= =?UTF-8?q?=E7=90=86=E9=A1=B9=E7=9B=AE=E9=80=89=E6=8B=A9=E5=BC=B9=E7=AA=97?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E6=96=B0=E5=BB=BA=E7=AC=94=E8=AE=B0=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在笔记项目选择弹窗底部添加「新建笔记本」按钮 - 与错题库导入弹窗保持一致的交互体验 --- frontend/src/views/app/WorkspaceView.vue | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/frontend/src/views/app/WorkspaceView.vue b/frontend/src/views/app/WorkspaceView.vue index 1dd2dfdc..47b41f34 100644 --- a/frontend/src/views/app/WorkspaceView.vue +++ b/frontend/src/views/app/WorkspaceView.vue @@ -403,6 +403,14 @@ onBeforeUnmount(() => { {{ project.name }} +