diff --git a/src/i18n/langs/en.json b/src/i18n/langs/en.json index f4cdff3a4..d982b2e6e 100644 --- a/src/i18n/langs/en.json +++ b/src/i18n/langs/en.json @@ -894,7 +894,7 @@ "TerminateTaskSendSuccessMsg": "Terminate task has been send, Please check later", "helpText": { "esUrl": "Tip: If you have multiple hosts, use comma (, ) to split (eg: http://www.jumpserver.a.com, http://www.jumpserver.b.com)", - "esIndex":"Es provides the default index: jumpserver", + "esIndex":"Es provides the default index: jumpserver. If you choose to build an index by date, this blank is the index prefix", "esDocType": "Es provides the default document type: command" } }, diff --git a/src/i18n/langs/ja.json b/src/i18n/langs/ja.json index 575217c2a..e923c126b 100644 --- a/src/i18n/langs/ja.json +++ b/src/i18n/langs/ja.json @@ -915,7 +915,7 @@ "TerminateTaskSendSuccessMsg": "最終タスクが発行されました。後で更新して確認してください。", "helpText": { "esUrl": "ヒント: 複数のホストがある場合は、カンマ ( , ) で分割します。 (Eg: http://www.jumpserver.a.com:3000、http://www.jumpserver.b.com:3000)", - "esIndex": "Esはデフォルトindexを提供します。", + "esIndex": "Esはデフォルトindexを提供します。日付による索引の作成を選択した場合、この空は索引接頭辞です。", "esDocType": "Esデフォルトのドキュメントタイプ: command" } }, diff --git a/src/i18n/langs/zh.json b/src/i18n/langs/zh.json index 510038abd..2ea7e630d 100644 --- a/src/i18n/langs/zh.json +++ b/src/i18n/langs/zh.json @@ -916,7 +916,7 @@ "TerminateTaskSendSuccessMsg": "终断任务已下发,请稍后刷新查看", "helpText": { "esUrl": "提示:如果有多台主机,请使用逗号 ( , ) 进行分割。(eg: http://www.jumpserver.a.com:3000,http://www.jumpserver.b.com:3000)", - "esIndex": "es提供默认index:jumpserver", + "esIndex": "es提供默认index:jumpserver。若选择按日期建索引,此空为索引前缀", "esDocType": "es默认文档类型:command" } }, diff --git a/src/views/settings/Terminal/Storage/CommandStorageCreateUpdate.vue b/src/views/settings/Terminal/Storage/CommandStorageCreateUpdate.vue index e5d81e8f5..3e3427c25 100644 --- a/src/views/settings/Terminal/Storage/CommandStorageCreateUpdate.vue +++ b/src/views/settings/Terminal/Storage/CommandStorageCreateUpdate.vue @@ -31,18 +31,14 @@ export default { helpText: this.$t('sessions.SetToDefaultStorage') }, meta: { - fields: ['HOSTS', 'IS_INDEX_BY_DAY', 'INDEX_PREFIX', 'INDEX', 'IGNORE_VERIFY_CERTS'], + fields: ['HOSTS', 'INDEX_BY_DATE', 'INDEX', 'IGNORE_VERIFY_CERTS'], fieldsMeta: { HOSTS: { helpText: this.$t('sessions.helpText.esUrl') }, - INDEX_PREFIX: { - hidden: (formValue) => !formValue.IS_INDEX_BY_DAY - }, INDEX: { rules: [Required], - helpText: this.$t('sessions.helpText.esIndex'), - hidden: (formValue) => formValue.IS_INDEX_BY_DAY + helpText: this.$t('sessions.helpText.esIndex') } } }