diff --git a/src/router/pam/activity.js b/src/router/pam/activity.js index 10c26163f..e1e308d49 100644 --- a/src/router/pam/activity.js +++ b/src/router/pam/activity.js @@ -15,7 +15,7 @@ export default [ children: [ { path: '', - component: () => import('@/views/pam/AccountScan/index.vue'), + component: () => import('@/views/pam/AccountCheck/index.vue'), name: 'AccountPushList', meta: { title: i18n.t('账号会话'), diff --git a/src/router/pam/security.js b/src/router/pam/security.js index 57bf5b182..0c660af4a 100644 --- a/src/router/pam/security.js +++ b/src/router/pam/security.js @@ -18,7 +18,7 @@ export default [ children: [ { path: '', - component: () => import('@/views/pam/AccountScan/index.vue'), + component: () => import('@/views/pam/AccountCheck/index.vue'), name: 'AccountPushList', meta: { title: i18n.t('账号检查'), @@ -27,31 +27,5 @@ export default [ } } ] - }, - { - path: 'risk', - name: 'AccountRisk', - component: empty, - redirect: { - name: 'AccountPushList' - }, - meta: { - app: 'accounts', - name: 'BaseAccountRisk', - icon: 'accounts', - resource: 'pushaccountautomation' - }, - children: [ - { - path: '', - component: () => import('@/views/accounts/AccountPush/index.vue'), - name: 'AccountPushList', - meta: { - title: i18n.t('风险分析'), - menuTitle: i18n.t('风险分析'), - permissions: ['accounts.view_pushaccountautomation'] - } - } - ] } ] diff --git a/src/views/pam/AccountCheck/AccountCheckEngine.vue b/src/views/pam/AccountCheck/AccountCheckEngine.vue new file mode 100644 index 000000000..925bb3db1 --- /dev/null +++ b/src/views/pam/AccountCheck/AccountCheckEngine.vue @@ -0,0 +1,44 @@ + + + diff --git a/src/views/pam/AccountScan/AccountPushCreateUpdate.vue b/src/views/pam/AccountCheck/AccountPushCreateUpdate.vue similarity index 100% rename from src/views/pam/AccountScan/AccountPushCreateUpdate.vue rename to src/views/pam/AccountCheck/AccountPushCreateUpdate.vue diff --git a/src/views/pam/AccountScan/AccountPushDetail/AccountPushInfo.vue b/src/views/pam/AccountCheck/AccountPushDetail/AccountPushInfo.vue similarity index 100% rename from src/views/pam/AccountScan/AccountPushDetail/AccountPushInfo.vue rename to src/views/pam/AccountCheck/AccountPushDetail/AccountPushInfo.vue diff --git a/src/views/pam/AccountScan/AccountPushDetail/index.vue b/src/views/pam/AccountCheck/AccountPushDetail/index.vue similarity index 100% rename from src/views/pam/AccountScan/AccountPushDetail/index.vue rename to src/views/pam/AccountCheck/AccountPushDetail/index.vue diff --git a/src/views/pam/AccountScan/AccountPushExecutionDetail/AccountPushExecutionInfo.vue b/src/views/pam/AccountCheck/AccountPushExecutionDetail/AccountPushExecutionInfo.vue similarity index 100% rename from src/views/pam/AccountScan/AccountPushExecutionDetail/AccountPushExecutionInfo.vue rename to src/views/pam/AccountCheck/AccountPushExecutionDetail/AccountPushExecutionInfo.vue diff --git a/src/views/pam/AccountScan/AccountPushExecutionDetail/AccountPushExecutionTaskList.vue b/src/views/pam/AccountCheck/AccountPushExecutionDetail/AccountPushExecutionTaskList.vue similarity index 100% rename from src/views/pam/AccountScan/AccountPushExecutionDetail/AccountPushExecutionTaskList.vue rename to src/views/pam/AccountCheck/AccountPushExecutionDetail/AccountPushExecutionTaskList.vue diff --git a/src/views/pam/AccountScan/AccountPushExecutionDetail/index.vue b/src/views/pam/AccountCheck/AccountPushExecutionDetail/index.vue similarity index 100% rename from src/views/pam/AccountScan/AccountPushExecutionDetail/index.vue rename to src/views/pam/AccountCheck/AccountPushExecutionDetail/index.vue diff --git a/src/views/pam/AccountScan/AccountPushExecutionList.vue b/src/views/pam/AccountCheck/AccountPushExecutionList.vue similarity index 100% rename from src/views/pam/AccountScan/AccountPushExecutionList.vue rename to src/views/pam/AccountCheck/AccountPushExecutionList.vue diff --git a/src/views/pam/AccountScan/AccountPushList.vue b/src/views/pam/AccountCheck/AccountPushList.vue similarity index 100% rename from src/views/pam/AccountScan/AccountPushList.vue rename to src/views/pam/AccountCheck/AccountPushList.vue diff --git a/src/views/pam/AccountScan/index.vue b/src/views/pam/AccountCheck/index.vue similarity index 78% rename from src/views/pam/AccountScan/index.vue rename to src/views/pam/AccountCheck/index.vue index c16fdf88f..0c82bca11 100644 --- a/src/views/pam/AccountScan/index.vue +++ b/src/views/pam/AccountCheck/index.vue @@ -23,15 +23,15 @@ export default { }, { title: this.$t('检查任务'), - name: 'AccountPushExecutionList', + name: 'AccountCheckTask', hidden: !this.$hasPerm('accounts.view_pushaccountexecution'), component: () => import('@/views/accounts/AccountPush/AccountPushExecutionList.vue') }, { title: this.$t('检查引擎'), - name: 'AccountPushExecutionList', - hidden: !this.$hasPerm('accounts.view_pushaccountexecution'), - component: () => import('@/views/accounts/AccountPush/AccountPushExecutionList.vue') + name: 'AccountCheckEngine', + hidden: !this.$hasPerm('accounts.view_accountcheckautomation'), + component: () => import('@/views/pam/AccountCheck/AccountCheckEngine.vue') } ] }