mirror of
https://github.com/jumpserver/lina.git
synced 2025-08-01 07:01:26 +00:00
perf: 优化字段
This commit is contained in:
parent
d6c3cce161
commit
92a23c6e69
@ -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"
|
||||
}
|
||||
},
|
||||
|
@ -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"
|
||||
}
|
||||
},
|
||||
|
@ -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"
|
||||
}
|
||||
},
|
||||
|
@ -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')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user