From 9a0982e76dcf297f1db41d9d6ef026ef95028336 Mon Sep 17 00:00:00 2001 From: DXC Date: Mon, 20 Apr 2026 13:20:23 +0800 Subject: [PATCH] =?UTF-8?q?feat(audit-ui):=20=E9=87=8D=E6=96=B0=E5=BA=94?= =?UTF-8?q?=E7=94=A8=E5=89=8D=E7=AB=AF=E5=AE=A1=E8=AE=A1=E8=AF=A6=E6=83=85?= =?UTF-8?q?=E5=BC=B9=E7=AA=97=E6=B8=B2=E6=9F=93=E9=80=BB=E8=BE=91=EF=BC=8C?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E9=AB=98=E7=BA=A7=E5=AF=B9=E6=AF=94=E7=BB=93?= =?UTF-8?q?=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- inventory-web/src/views/system/AuditLog.vue | 264 ++++++++++++++++---- 1 file changed, 216 insertions(+), 48 deletions(-) diff --git a/inventory-web/src/views/system/AuditLog.vue b/inventory-web/src/views/system/AuditLog.vue index 890646a..5862e05 100644 --- a/inventory-web/src/views/system/AuditLog.vue +++ b/inventory-web/src/views/system/AuditLog.vue @@ -84,12 +84,15 @@ /> - - - + + + + {{ currentLog.id }} {{ currentLog.username }} ({{ currentLog.display_name }}) - {{ currentLog.module }} + + {{ currentLog.module }} + {{ currentLog.action }} @@ -97,23 +100,92 @@ {{ currentLog.ip_address }} {{ currentLog.method }} {{ currentLog.created_at }} - - {{ currentLog.url }} - -
-
变更内容 (JSON)
-
{{ formatDetails(currentLog.details) }}
+ +
+ + +
+
+ + 字段变更详情(共 {{ changesList.length }} 处变更) +
+ + + + + + + + + + + +
+ + +
+
+ + 数据删除快照 +
+ + + {{ formatValue(value) }} + + +
+ + +
+
+ + 新增数据详情 +
+ + + {{ formatValue(value) }} + + +
+ + +
+
+ + 原始数据 +
+
{{ rawJson }}
+
+ +