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 }}
+
+ +