From eda66cab417e2fa3fd736a7fd00b6ce05eac0caf Mon Sep 17 00:00:00 2001 From: feng626 <1304903146@qq.com> Date: Tue, 14 Dec 2021 22:45:13 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E7=BF=BB=E8=AF=91=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/i18n/langs/cn.json | 3 +++ src/i18n/langs/en.json | 11 ++++++++--- src/views/tickets/TicketFlow/FlowCreateUpdate.vue | 2 +- src/views/tickets/TicketFlow/FlowRuleField.vue | 2 +- src/views/tickets/TicketList.vue | 2 +- 5 files changed, 14 insertions(+), 6 deletions(-) diff --git a/src/i18n/langs/cn.json b/src/i18n/langs/cn.json index 5fd857906..c4406a959 100644 --- a/src/i18n/langs/cn.json +++ b/src/i18n/langs/cn.json @@ -1046,6 +1046,9 @@ "PermissionName": "授权规则名称", "Accept": "同意", "AssignedMe": "待我审批", + "FlowSetUp": "流程设置", + "ApprovalProcess": "审批流程", + "LevelApproval": "级审批", "Assignee": "处理人", "Assignees": "待处理人", "Close": "关闭", diff --git a/src/i18n/langs/en.json b/src/i18n/langs/en.json index 43336dce6..1dcf4072e 100644 --- a/src/i18n/langs/en.json +++ b/src/i18n/langs/en.json @@ -18,9 +18,9 @@ "username_group":"Username group", "hostname_group":"Hostname group", "asset_ip_group": "Asset ip group", - "system_users_name_group": "Systemusers name group", - "system_users_protocol_group": "Systemusers protocol group", - "system_users_username_group": "systemusers username group", + "system_users_name_group": "Systemuser name", + "system_users_protocol_group": "Systemuser protocol", + "system_users_username_group": "systemuser username", "apply_login_asset": "Apply login asset", "apply_login_system_user": "Apply login system user", "apply_login_user": "Apply login user", @@ -1008,6 +1008,9 @@ "PermissionName": "Permission name", "Accept": "Accept", "AssignedMe": "Assigned me", + "FlowSetUp": "Flow set up", + "ApprovalProcess": "Approval process", + "LevelApproval": "Level approval", "Assignee": "Assignee", "RequestPerm":"Request Perm", "AssignedInfo":"Assigned Info", @@ -1252,6 +1255,7 @@ "NodeAmount": "Node", "PasswordLength": "Password length", "PasswordStrategy": "Password strategy", + "SecretKeyStrategy": "Secret key strategy", "RegularlyPerform": "Regularly perform", "Result": "Result", "Retry": "Retry", @@ -1259,6 +1263,7 @@ "TaskList": "Task list", "TimeDelta": "Time delta", "Timer": "Timer", + "TimerPeriod": "Timer period", "Username": "Username" }, "Cloud": { diff --git a/src/views/tickets/TicketFlow/FlowCreateUpdate.vue b/src/views/tickets/TicketFlow/FlowCreateUpdate.vue index 6889d8347..bf1242fd0 100644 --- a/src/views/tickets/TicketFlow/FlowCreateUpdate.vue +++ b/src/views/tickets/TicketFlow/FlowCreateUpdate.vue @@ -22,7 +22,7 @@ export default { disabled: true }, rules: { - label: '审批流程', + label: this.$t('tickets.ApprovalProcess'), component: FlowRuleField, el: { level: 1 diff --git a/src/views/tickets/TicketFlow/FlowRuleField.vue b/src/views/tickets/TicketFlow/FlowRuleField.vue index 7572ed941..25f5261f0 100644 --- a/src/views/tickets/TicketFlow/FlowRuleField.vue +++ b/src/views/tickets/TicketFlow/FlowRuleField.vue @@ -4,7 +4,7 @@