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 }}) }