diff --git a/frontend/src/audit/export/auditExportService.ts b/frontend/src/audit/export/auditExportService.ts
index 190ef751..b6c1182b 100644
--- a/frontend/src/audit/export/auditExportService.ts
+++ b/frontend/src/audit/export/auditExportService.ts
@@ -1,7 +1,7 @@
import { auditExportColumns } from "./auditExportColumns";
import { formatAuditRows } from "./auditExportFormatter";
import type { AuditEvent } from "..";
-import { saveFile } from "../../runtime";
+import { saveFileWithFeedback } from "../../utils/fileTaskFeedback";
const BOM = "\ufeff";
@@ -24,7 +24,7 @@ export const exportAuditCsv = async (events: AuditEvent[], options: AuditExportO
const rows = formatAuditRows(events);
const csv = buildCsv(rows);
const blob = new Blob([csv], { type: "text/csv;charset=utf-8;" });
- await saveFile({
+ await saveFileWithFeedback({
suggestedName: options.fileName.endsWith(".csv") ? options.fileName : `${options.fileName}.csv`,
mimeType: "text/csv;charset=utf-8",
data: blob,
diff --git a/frontend/src/components/DesktopLayout.vue b/frontend/src/components/DesktopLayout.vue
index 122612b3..4095a5b1 100644
--- a/frontend/src/components/DesktopLayout.vue
+++ b/frontend/src/components/DesktopLayout.vue
@@ -1,15 +1,12 @@
-
+
@@ -150,6 +167,11 @@
+
+
-
服务器设置
+
系统偏好
@@ -252,9 +274,15 @@
v-for="item in workspaceTabs"
:key="item.path"
class="workspace-tab"
- :class="{ active: activeMenu === item.path }"
+ :class="{ active: activeMenu === item.path, dragging: draggingWorkspaceTabPath === item.path }"
+ draggable="true"
+ @dragstart="startWorkspaceTabDrag(item.path, $event)"
+ @dragover="allowWorkspaceTabDrop"
+ @drop.prevent="dropWorkspaceTab(item.path, $event)"
+ @dragend="draggingWorkspaceTabPath = ''"
+ @contextmenu.prevent.stop="openWorkspaceTabMenu(item, $event)"
>
-
diff --git a/frontend/src/views/DesktopServerSettings.vue b/frontend/src/views/DesktopServerSettings.vue
index f090cf02..ae1dfce0 100644
--- a/frontend/src/views/DesktopServerSettings.vue
+++ b/frontend/src/views/DesktopServerSettings.vue
@@ -22,6 +22,19 @@
:closable="false"
/>
+
+
+ 检查时间
+ {{ connectionDiagnostic.checkedAt }}
+ 健康检查
+ {{ connectionDiagnostic.healthUrl }}
+ 耗时
+ {{ connectionDiagnostic.durationMs }}ms
+ HTTP
+ {{ connectionDiagnostic.httpStatus || "-" }}
+
+
+
-
- 允许 HTTPS 服务地址;本地开发可使用 http://localhost 或 http://127.0.0.1。
-
-
取消
@@ -51,7 +60,7 @@