From 9d7a11e4d5cd28f656bfe0febde133766b271dd4 Mon Sep 17 00:00:00 2001 From: ulleo Date: Wed, 29 Oct 2025 18:01:24 +0800 Subject: [PATCH] =?UTF-8?q?feat(X-Pack):=20[=E6=95=B0=E6=8D=AE=E5=A1=AB?= =?UTF-8?q?=E6=8A=A5]=E5=A2=9E=E5=8A=A0=E5=AE=9A=E6=97=B6=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1=E6=B8=85=E7=90=86=E6=93=8D=E4=BD=9C=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/src/locales/en.ts | 1 + core/core-frontend/src/locales/tw.ts | 1 + core/core-frontend/src/locales/zh-CN.ts | 1 + .../src/views/system/parameter/basic/BasicEdit.vue | 2 ++ .../main/java/io/dataease/constant/XpackSettingConstants.java | 1 + .../src/main/java/io/dataease/utils/SystemSettingUtils.java | 1 + 6 files changed, 7 insertions(+) diff --git a/core/core-frontend/src/locales/en.ts b/core/core-frontend/src/locales/en.ts index 2a7b60c950..62c7b2f92f 100644 --- a/core/core-frontend/src/locales/en.ts +++ b/core/core-frontend/src/locales/en.ts @@ -3812,6 +3812,7 @@ export default { frontTimeOut: 'Request timeout (seconds)', logLiveTime: 'Operation log retention time (days)', thresholdLogLiveTime: 'Threshold alarm record retention time (days)', + dataFillingLogLiveTime: 'DataFilling operation log retention time (days)', exportFileLiveTime: 'Background export file retention time (days)', platformOid: 'Third-party platform user organization', platformRid: 'Third-party platform user role', diff --git a/core/core-frontend/src/locales/tw.ts b/core/core-frontend/src/locales/tw.ts index 2bf628c84d..35299213a1 100644 --- a/core/core-frontend/src/locales/tw.ts +++ b/core/core-frontend/src/locales/tw.ts @@ -3701,6 +3701,7 @@ export default { frontTimeOut: '請求超時時間 (秒)', logLiveTime: '操作日誌保留時間 (天)', thresholdLogLiveTime: '閾值警告記錄保留時間 (天)', + dataFillingLogLiveTime: '數據填報操作日誌保留時間 (天)', exportFileLiveTime: '後台匯出檔案保留時間 (天)', platformOid: '第三方平台使用者組織', platformRid: '第三方平台使用者角色', diff --git a/core/core-frontend/src/locales/zh-CN.ts b/core/core-frontend/src/locales/zh-CN.ts index 6723176c1e..fe1a09abcc 100644 --- a/core/core-frontend/src/locales/zh-CN.ts +++ b/core/core-frontend/src/locales/zh-CN.ts @@ -3710,6 +3710,7 @@ export default { frontTimeOut: '请求超时时间 (秒)', logLiveTime: '操作日志保留时间 (天)', thresholdLogLiveTime: '阈值告警记录保留时间 (天)', + dataFillingLogLiveTime: '数据填报操作日志保留时间 (天)', exportFileLiveTime: '后台导出文件保留时间 (天)', platformOid: '第三方平台用户组织', platformRid: '第三方平台用户角色', diff --git a/core/core-frontend/src/views/system/parameter/basic/BasicEdit.vue b/core/core-frontend/src/views/system/parameter/basic/BasicEdit.vue index 9d5ed2c2c7..1d16307b37 100644 --- a/core/core-frontend/src/views/system/parameter/basic/BasicEdit.vue +++ b/core/core-frontend/src/views/system/parameter/basic/BasicEdit.vue @@ -32,6 +32,7 @@ const requireKeys = [ 'logLiveTime', 'thresholdLogLiveTime', 'exportFileLiveTime', + 'dataFillingLogLiveTime', 'frontTimeOut', 'loginLimitTime', 'loginLimitRate' @@ -340,6 +341,7 @@ defineExpose({ v-else-if=" item.pkey === 'logLiveTime' || item.pkey === 'thresholdLogLiveTime' || + item.pkey === 'dataFillingLogLiveTime' || item.pkey === 'loginLimitRate' || item.pkey === 'loginLimitTime' " diff --git a/sdk/common/src/main/java/io/dataease/constant/XpackSettingConstants.java b/sdk/common/src/main/java/io/dataease/constant/XpackSettingConstants.java index 95e2b87641..55981e5980 100644 --- a/sdk/common/src/main/java/io/dataease/constant/XpackSettingConstants.java +++ b/sdk/common/src/main/java/io/dataease/constant/XpackSettingConstants.java @@ -11,6 +11,7 @@ public class XpackSettingConstants { public static final String PVP = "basic.pvp"; public static final String DEFAULT_LOGIN = "basic.defaultLogin"; public static final String THRESHOLD_LOG_LIVE_TIME = "basic.thresholdLogLiveTime"; + public static final String DATA_FILLING_LOG_LIVE_TIME = "basic.dataFillingLogLiveTime"; public static final String DEFAULT_SORT = "basic.defaultSort"; public static final String DEFAULT_OPEN = "basic.defaultOpen"; public static final String LOGIN_LIMIT = "basic.loginLimit"; diff --git a/sdk/common/src/main/java/io/dataease/utils/SystemSettingUtils.java b/sdk/common/src/main/java/io/dataease/utils/SystemSettingUtils.java index 79bdc4ae55..6d603cb5bd 100644 --- a/sdk/common/src/main/java/io/dataease/utils/SystemSettingUtils.java +++ b/sdk/common/src/main/java/io/dataease/utils/SystemSettingUtils.java @@ -16,6 +16,7 @@ public class SystemSettingUtils { XpackSettingConstants.PLATFORM_RID, XpackSettingConstants.DEFAULT_LOGIN, XpackSettingConstants.THRESHOLD_LOG_LIVE_TIME, + XpackSettingConstants.DATA_FILLING_LOG_LIVE_TIME, XpackSettingConstants.LOGIN_LIMIT, XpackSettingConstants.LOGIN_LIMIT_RATE, XpackSettingConstants.LOGIN_LIMIT_TIME);