From d5fc939a40c5851e30d073e354bb6108381de9c5 Mon Sep 17 00:00:00 2001 From: feng626 <1304903146@qq.com> Date: Tue, 18 Jan 2022 19:05:22 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=94=B9=E5=AF=86=E7=BF=BB=E8=AF=91?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ChangeAuthPlanExecutionTaskList.vue | 5 ++++- .../ChangeAuthPlanExecutionTaskList.vue | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/views/accounts/ChangeAuthPlan/AppChangeAuthPlan/ChangeAuthPlanDetail/AppChangeAuthPlanExecution/ChangeAuthPlanExecutionDetail/ChangeAuthPlanExecutionTaskList.vue b/src/views/accounts/ChangeAuthPlan/AppChangeAuthPlan/ChangeAuthPlanDetail/AppChangeAuthPlanExecution/ChangeAuthPlanExecutionDetail/ChangeAuthPlanExecutionTaskList.vue index bc41adef3..166caf94e 100644 --- a/src/views/accounts/ChangeAuthPlan/AppChangeAuthPlan/ChangeAuthPlanDetail/AppChangeAuthPlanExecution/ChangeAuthPlanExecutionDetail/ChangeAuthPlanExecutionTaskList.vue +++ b/src/views/accounts/ChangeAuthPlan/AppChangeAuthPlan/ChangeAuthPlanDetail/AppChangeAuthPlanExecution/ChangeAuthPlanExecutionDetail/ChangeAuthPlanExecutionTaskList.vue @@ -22,7 +22,7 @@ export default { tableConfig: { url: `/api/v1/xpack/change-auth-plan/app-plan-execution-subtask/?plan_execution_id=${this.object.id}`, columns: [ - 'app_display', 'system_user_display', 'is_success', 'reason', 'timedelta', 'date_start', 'actions' + 'app_display', 'system_user_display', 'is_success', 'reason_display', 'timedelta', 'date_start', 'actions' ], columnsMeta: { app_display: { @@ -35,6 +35,9 @@ export default { return { row.app_display } } }, + reason_display: { + label: this.$t('xpack.AccountBackupPlan.Reason') + }, system_user_display: { label: this.$t('xpack.ChangeAuthPlan.SystemUser') }, diff --git a/src/views/accounts/ChangeAuthPlan/AssetChangeAuthPlan/ChangeAuthPlanDetail/ChangeAuthPlanExecution/ChangeAuthPlanExecutionDetail/ChangeAuthPlanExecutionTaskList.vue b/src/views/accounts/ChangeAuthPlan/AssetChangeAuthPlan/ChangeAuthPlanDetail/ChangeAuthPlanExecution/ChangeAuthPlanExecutionDetail/ChangeAuthPlanExecutionTaskList.vue index d71dfe06e..8dd0e3ec5 100644 --- a/src/views/accounts/ChangeAuthPlan/AssetChangeAuthPlan/ChangeAuthPlanDetail/ChangeAuthPlanExecution/ChangeAuthPlanExecutionDetail/ChangeAuthPlanExecutionTaskList.vue +++ b/src/views/accounts/ChangeAuthPlan/AssetChangeAuthPlan/ChangeAuthPlanDetail/ChangeAuthPlanExecution/ChangeAuthPlanExecutionDetail/ChangeAuthPlanExecutionTaskList.vue @@ -22,7 +22,7 @@ export default { tableConfig: { url: `/api/v1/xpack/change-auth-plan/plan-execution-subtask/?plan_execution_id=${this.object.id}`, columns: [ - 'username', 'asset', 'is_success', 'reason', 'timedelta', 'date_start', 'actions' + 'username', 'asset', 'is_success', 'timedelta', 'date_start', 'reason_display', 'actions' ], columnsMeta: { asset: { @@ -42,6 +42,9 @@ export default { return row.timedelta.toFixed(2) + 's' } }, + reason_display: { + label: this.$t('xpack.AccountBackupPlan.Reason') + }, actions: { formatterArgs: { hasDelete: false,