From c17d983b2f4aa5358fdfc28a86b6408d68347446 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Chuailei000=E2=80=9D?= <2280131253@qq.com> Date: Tue, 19 Apr 2022 20:14:30 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=BA=94=E7=94=A8?= =?UTF-8?q?=E6=94=B9=E5=AF=86=E8=AE=A1=E5=88=92=E8=AF=A6=E6=83=85=E9=A1=B5?= =?UTF-8?q?=E6=89=A7=E8=A1=8C=E5=88=97=E8=A1=A8=E6=93=8D=E4=BD=9C=E6=9D=83?= =?UTF-8?q?=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ChangeAuthPlanExecutionTaskList.vue | 1 + .../AppChangeAuthPlanExecution/ChangeAuthPlanExecutionList.vue | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 830f42e54..86fa74110 100644 --- a/src/views/accounts/ChangeAuthPlan/AppChangeAuthPlan/ChangeAuthPlanDetail/AppChangeAuthPlanExecution/ChangeAuthPlanExecutionDetail/ChangeAuthPlanExecutionTaskList.vue +++ b/src/views/accounts/ChangeAuthPlan/AppChangeAuthPlan/ChangeAuthPlanDetail/AppChangeAuthPlanExecution/ChangeAuthPlanExecutionDetail/ChangeAuthPlanExecutionTaskList.vue @@ -61,6 +61,7 @@ export default { name: 'retry', type: 'info', title: this.$t('xpack.ChangeAuthPlan.Retry'), + can: this.$hasPerm('xpack.change_applicationchangeauthplantask'), callback: function({ row, tableData }) { this.$axios.put( `/api/v1/xpack/change-auth-plan/app-plan-execution-subtask/${row.id}/`, diff --git a/src/views/accounts/ChangeAuthPlan/AppChangeAuthPlan/ChangeAuthPlanDetail/AppChangeAuthPlanExecution/ChangeAuthPlanExecutionList.vue b/src/views/accounts/ChangeAuthPlan/AppChangeAuthPlan/ChangeAuthPlanDetail/AppChangeAuthPlanExecution/ChangeAuthPlanExecutionList.vue index 6006a1a04..8c30500ab 100644 --- a/src/views/accounts/ChangeAuthPlan/AppChangeAuthPlan/ChangeAuthPlanDetail/AppChangeAuthPlanExecution/ChangeAuthPlanExecutionList.vue +++ b/src/views/accounts/ChangeAuthPlan/AppChangeAuthPlan/ChangeAuthPlanDetail/AppChangeAuthPlanExecution/ChangeAuthPlanExecutionList.vue @@ -92,7 +92,7 @@ export default { name: 'detail', title: this.$t('xpack.ChangeAuthPlan.Detail'), type: 'info', - can: 'xpack.view_applicationchangeauthplantask', + can: this.$hasPerm('xpack.view_applicationchangeauthplantask'), callback: function({ row }) { return this.$router.push({ name: 'AppChangeAuthPlanExecutionDetail', params: { id: row.id }}) }