From 809dc883f530bb30c361960574072e9441ec21c1 Mon Sep 17 00:00:00 2001
From: zxr <271055687@qq.com>
Date: Mon, 3 Aug 2026 21:52:48 +0800
Subject: [PATCH] =?UTF-8?q?feat:=20=E5=BB=BA=E7=AB=8B=E5=8E=86=E5=8F=B2?=
=?UTF-8?q?=E6=8A=A5=E5=91=8A=E6=A1=A3=E6=A1=88=E4=B8=AD=E5=BF=83?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/ops/report.ts | 2 +
src/views/ops/pages/report/history/index.vue | 328 +++++++++++++++++--
2 files changed, 309 insertions(+), 21 deletions(-)
diff --git a/src/api/ops/report.ts b/src/api/ops/report.ts
index 8c7847d..b1def2c 100644
--- a/src/api/ops/report.ts
+++ b/src/api/ops/report.ts
@@ -43,6 +43,8 @@ export interface ReportRecord {
file_path?: string
file_size?: number
file_mime?: string
+ started_at?: string
+ finished_at?: string
created_at: string
updated_at: string
}
diff --git a/src/views/ops/pages/report/history/index.vue b/src/views/ops/pages/report/history/index.vue
index 19b7552..79cb6b8 100644
--- a/src/views/ops/pages/report/history/index.vue
+++ b/src/views/ops/pages/report/history/index.vue
@@ -1,38 +1,324 @@
-
-
+
-
-
- 前往统计报告
- 前往 TopN
-
+
+
+
+
+
+
-
+
+
+ {{ reportTypeLabel[record.report_type] || record.report_type || '—' }}
+
+
+
+
+ {{ reportStatusLabel[record.status] || record.status || '—' }}
+
+
+
+
+ {{ record.error_message || '—' }}
+
+
+
+
+ 下载 PDF
+
+ 生成失败
+ 生成中
+ 无 PDF
+
+
+
+