From 90050bf87dc9e331452c49391d83d39c13f7a9c3 Mon Sep 17 00:00:00 2001 From: feng <1304903146@qq.com> Date: Mon, 20 Jan 2025 16:36:41 +0800 Subject: [PATCH] perf: checkaccountautomation perm --- src/views/pam/RiskDetect/AccountCheckTaskList.vue | 2 +- src/views/pam/RiskDetect/index.vue | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/pam/RiskDetect/AccountCheckTaskList.vue b/src/views/pam/RiskDetect/AccountCheckTaskList.vue index b25eaff3b..63c7df8e8 100644 --- a/src/views/pam/RiskDetect/AccountCheckTaskList.vue +++ b/src/views/pam/RiskDetect/AccountCheckTaskList.vue @@ -9,7 +9,7 @@ import { GenericListTable } from '@/layout/components' import AmountFormatter from '@/components/Table/TableFormatters/AmountFormatter.vue' export default { - name: 'AccountPushList', + name: 'AccountCheckTaskList', components: { GenericListTable }, diff --git a/src/views/pam/RiskDetect/index.vue b/src/views/pam/RiskDetect/index.vue index dcb4a0280..f7bce8bf9 100644 --- a/src/views/pam/RiskDetect/index.vue +++ b/src/views/pam/RiskDetect/index.vue @@ -24,19 +24,19 @@ export default { { title: this.$t('DetectTasks'), name: 'AccountCheckTask', - hidden: !this.$hasPerm('accounts.view_accountcheckautomation'), + hidden: !this.$hasPerm('accounts.view_checkaccountautomation'), component: () => import('./AccountCheckTaskList.vue') }, { title: this.$t('Executions'), name: 'AccountCheckExecution', - hidden: !this.$hasPerm('accounts.view_accountcheckautomation'), + hidden: !this.$hasPerm('accounts.view_checkaccountautomation'), component: () => import('./AccountCheckExecutionList.vue') }, { title: this.$t('DetectEngines'), name: 'AccountCheckEngine', - hidden: !this.$hasPerm('accounts.view_accountcheckautomation'), + hidden: !this.$hasPerm('accounts.view_checkaccountautomation'), component: () => import('@/views/pam/RiskDetect/AccountCheckEngine.vue') } ]