mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-25 14:34:46 +00:00
fix: 增加一些helptext
This commit is contained in:
@@ -835,6 +835,8 @@
|
||||
"Weekly": "Weekly"
|
||||
},
|
||||
"ops": {
|
||||
"RunasHelpText": "Fill in the user name to run the script",
|
||||
"RunasPolicyHelpText": "Indicates the account selection strategy when there is no running user on the current asset",
|
||||
"StatusGreen": "Recently in good condition",
|
||||
"StatusRed": "The last task execution failed",
|
||||
"StatusYellow": "Recent Execution Failures",
|
||||
|
||||
@@ -838,6 +838,8 @@
|
||||
"Weekly": "週ごと"
|
||||
},
|
||||
"ops": {
|
||||
"RunasHelpText": "スクリプトを実行するユーザー名を入力",
|
||||
"RunasPolicyHelpText": "現在の資産にこの実行ユーザーが存在しない場合にアカウント選択ポリシーを実行することを示します",
|
||||
"StatusGreen": "最近調子がいい\n",
|
||||
"StatusRed": "最後のタスクの実行に失敗しました",
|
||||
"StatusYellow": "最近の存在の実行に失敗しました",
|
||||
|
||||
@@ -834,6 +834,8 @@
|
||||
"Weekly": "按周"
|
||||
},
|
||||
"ops": {
|
||||
"RunasHelpText": "填写运行脚本的用户名",
|
||||
"RunasPolicyHelpText": "表示当前资产上没此运行用户时,采取什么账号选择策略",
|
||||
"StatusGreen": "近期状态良好",
|
||||
"StatusRed": "上一次任务执行失败",
|
||||
"StatusYellow": "近期存在在执行失败",
|
||||
|
||||
@@ -46,6 +46,9 @@ export default {
|
||||
crontab: '0 0 * * *'
|
||||
},
|
||||
fieldsMeta: {
|
||||
runas_policy: {
|
||||
helpText: this.$tc('ops.RunasPolicyHelpText')
|
||||
},
|
||||
name: {
|
||||
rules: [Required],
|
||||
hidden: (formValue) => {
|
||||
|
||||
@@ -108,6 +108,7 @@ export default {
|
||||
name: this.$t('ops.runAs'),
|
||||
align: 'left',
|
||||
value: 'root',
|
||||
tip: this.$tc('ops.RunasHelpText'),
|
||||
el: {
|
||||
autoComplete: true
|
||||
},
|
||||
@@ -121,6 +122,7 @@ export default {
|
||||
name: this.$t('ops.RunasPolicy'),
|
||||
align: 'left',
|
||||
value: 'skip',
|
||||
tip: this.$tc('ops.RunasPolicyHelpText'),
|
||||
options: [
|
||||
{
|
||||
label: this.$tc('ops.Skip'),
|
||||
|
||||
Reference in New Issue
Block a user