This is an automated email from the ASF dual-hosted git repository.

dockerzhang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/inlong.git


The following commit(s) were added to refs/heads/master by this push:
     new 8f6ce51cd7 [INLONG-10314][DashBoard] Add an operation time to the 
operation log table (#10316)
8f6ce51cd7 is described below

commit 8f6ce51cd75a5baf950571569a2013db204455e4
Author: wohainilaodou <[email protected]>
AuthorDate: Thu May 30 18:49:52 2024 +0800

    [INLONG-10314][DashBoard] Add an operation time to the operation log table 
(#10316)
    
    Co-authored-by: v_shuomqiu <[email protected]>
---
 inlong-dashboard/src/ui/locales/cn.json                           | 1 +
 inlong-dashboard/src/ui/locales/en.json                           | 1 +
 inlong-dashboard/src/ui/pages/GroupDetail/OperationLog/config.tsx | 6 ++++++
 3 files changed, 8 insertions(+)

diff --git a/inlong-dashboard/src/ui/locales/cn.json 
b/inlong-dashboard/src/ui/locales/cn.json
index 0691781f38..e055a3482e 100644
--- a/inlong-dashboard/src/ui/locales/cn.json
+++ b/inlong-dashboard/src/ui/locales/cn.json
@@ -669,6 +669,7 @@
   "pages.GroupDetail.OperationLog.Table.OperationType": "操作类型",
   "pages.GroupDetail.OperationLog.Table.OperationTarget": "操作目标",
   "pages.GroupDetail.OperationLog.Table.Log": "日志",
+  "pages.GroupDetail.OperationLog.Table.OperationTime": "操作时间",
   "pages.ApprovalDetail.GroupConfig.DataStorages": "数据存储",
   "pages.ApprovalDetail.GroupConfig.ApprovalInformation": "审批信息",
   "pages.ApprovalDetail.GroupConfig.DataFlowInformation": "数据流信息",
diff --git a/inlong-dashboard/src/ui/locales/en.json 
b/inlong-dashboard/src/ui/locales/en.json
index 828b7e7e8f..5afe3c4a2c 100644
--- a/inlong-dashboard/src/ui/locales/en.json
+++ b/inlong-dashboard/src/ui/locales/en.json
@@ -669,6 +669,7 @@
   "pages.GroupDetail.OperationLog.Table.OperationType": "Operation type",
   "pages.GroupDetail.OperationLog.Table.OperationTarget": "Operation target",
   "pages.GroupDetail.OperationLog.Table.Log": "Log",
+  "pages.GroupDetail.OperationLog.Table.OperationTime": "Operation time",
   "pages.ApprovalDetail.GroupConfig.DataStorages": "Data storages",
   "pages.ApprovalDetail.GroupConfig.ApprovalInformation": "Approval 
information",
   "pages.ApprovalDetail.GroupConfig.DataFlowInformation": "Data stream 
information",
diff --git a/inlong-dashboard/src/ui/pages/GroupDetail/OperationLog/config.tsx 
b/inlong-dashboard/src/ui/pages/GroupDetail/OperationLog/config.tsx
index 6816e2cf46..50d558c03d 100644
--- a/inlong-dashboard/src/ui/pages/GroupDetail/OperationLog/config.tsx
+++ b/inlong-dashboard/src/ui/pages/GroupDetail/OperationLog/config.tsx
@@ -20,6 +20,7 @@
 import i18n from '@/i18n';
 import { Tooltip } from 'antd';
 import React from 'react';
+import { dateFormat } from '@/core/utils';
 
 const targetList = [
   {
@@ -141,4 +142,9 @@ export const getTableColumns = [
       </Tooltip>
     ),
   },
+  {
+    title: i18n.t('pages.GroupDetail.OperationLog.Table.OperationTime'),
+    dataIndex: 'requestTime',
+    render: text => dateFormat(new Date(text)),
+  },
 ];

Reply via email to