fix: 增加一些helptext

This commit is contained in:
Aaron3S
2023-02-22 18:55:07 +08:00
committed by huailei
parent 983cd266f5
commit f67aa65fa2
5 changed files with 11 additions and 0 deletions

View File

@@ -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",

View File

@@ -838,6 +838,8 @@
"Weekly": "週ごと"
},
"ops": {
"RunasHelpText": "スクリプトを実行するユーザー名を入力",
"RunasPolicyHelpText": "現在の資産にこの実行ユーザーが存在しない場合にアカウント選択ポリシーを実行することを示します",
"StatusGreen": "最近調子がいい\n",
"StatusRed": "最後のタスクの実行に失敗しました",
"StatusYellow": "最近の存在の実行に失敗しました",

View File

@@ -834,6 +834,8 @@
"Weekly": "按周"
},
"ops": {
"RunasHelpText": "填写运行脚本的用户名",
"RunasPolicyHelpText": "表示当前资产上没此运行用户时,采取什么账号选择策略",
"StatusGreen": "近期状态良好",
"StatusRed": "上一次任务执行失败",
"StatusYellow": "近期存在在执行失败",

View File

@@ -46,6 +46,9 @@ export default {
crontab: '0 0 * * *'
},
fieldsMeta: {
runas_policy: {
helpText: this.$tc('ops.RunasPolicyHelpText')
},
name: {
rules: [Required],
hidden: (formValue) => {

View File

@@ -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'),