From 908916fefdce116b049a9b32082f9c4a16f9a06b Mon Sep 17 00:00:00 2001 From: XuqmGroup Date: Wed, 27 May 2026 12:52:29 +0800 Subject: [PATCH] =?UTF-8?q?feat(logs):=20=E6=B7=BB=E5=8A=A0=E5=8D=B3?= =?UTF-8?q?=E6=97=B6=E9=80=9A=E8=AE=AF=E6=93=8D=E4=BD=9C=E6=97=A5=E5=BF=97?= =?UTF-8?q?=E5=B9=B6=E4=BC=98=E5=8C=96=E7=95=8C=E9=9D=A2=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在 operation log 视图中新增即时通讯标签页 - 为 IM 服务添加操作摘要、资源类型等字段支持 - 统一三个标签页的操作类型和资源类型的中文映射 - 重构操作摘要生成功能,区分租户平台、即时通讯和版本管理 - 优化表格列宽度和布局显示 - 添加 IM 日志的数据加载和分页功能 - 新增 IM 应用选择和页面切换事件处理 - 在 API 定义中添加 summary 字段支持 --- tenant-platform/src/api/im.ts | 1 + .../src/views/logs/OperationLogView.vue | 452 +++++++++++++----- 2 files changed, 324 insertions(+), 129 deletions(-) diff --git a/tenant-platform/src/api/im.ts b/tenant-platform/src/api/im.ts index 234287c..301ea6b 100644 --- a/tenant-platform/src/api/im.ts +++ b/tenant-platform/src/api/im.ts @@ -138,6 +138,7 @@ export interface OperationLog { resourceType: string resourceId?: string | null detail?: string | null + summary?: string | null createdAt: number } diff --git a/tenant-platform/src/views/logs/OperationLogView.vue b/tenant-platform/src/views/logs/OperationLogView.vue index d775271..b66d5f1 100644 --- a/tenant-platform/src/views/logs/OperationLogView.vue +++ b/tenant-platform/src/views/logs/OperationLogView.vue @@ -4,6 +4,7 @@ +
- + 刷新 @@ -34,22 +35,17 @@ - + @@ -61,21 +57,12 @@