diff --git a/hx-ai-intelligent/src/directives/permission.ts b/hx-ai-intelligent/src/directives/permission.ts index d606ee7..4f69a52 100644 --- a/hx-ai-intelligent/src/directives/permission.ts +++ b/hx-ai-intelligent/src/directives/permission.ts @@ -7,8 +7,6 @@ import type { App, Directive, DirectiveBinding } from 'vue'; import { authorizationService } from '/nerv-lib/saas/store/modules/authorization-service'; function isAuth(el: Element, binding: any) { - console.log(el, binding); - const { checkPermission, checkAllPermission, checkPermissionRouter } = authorizationService(); const { value, modifiers } = binding; diff --git a/hx-ai-intelligent/src/router/organizationManage.ts b/hx-ai-intelligent/src/router/organizationManage.ts index a1f3ad4..56f25a9 100644 --- a/hx-ai-intelligent/src/router/organizationManage.ts +++ b/hx-ai-intelligent/src/router/organizationManage.ts @@ -14,49 +14,23 @@ const organizationManage = { children: [ { path: 'index', - name: 'userManageIndex', + name: 'UserManageIndex', component: () => import('/@/view/organizationManage/usermanage/index.vue'), meta: { title: '用户管理', keepAlive: true, + isCheck: false, operates: [ { title: '新增', code: 'userAdd' }, - { - title: '导入', - code: 'userImport', - }, - { - title: '模板下载', - code: 'userTemDownload', - }, - { - title: '导出', - code: 'userExports', - }, - { - title: '批量删除', - code: 'userBatchDel', - }, - { - title: '编辑', - code: 'userEdit', - }, - { - title: '冻结', - code: 'userFrozen', - }, - { - title: '解冻', - code: 'userUnFrozen', - }, - { - title: '重置密码', - code: 'userCodeReset', - }, - { - title: '删除', - code: 'userDelete', - }, + { title: '导入', code: 'userImport' }, + { title: '模板下载', code: 'userTemDownload' }, + { title: '导出', code: 'userExports' }, + { title: '批量删除', code: 'userBatchDel' }, + { title: '编辑', code: 'userEdit' }, + { title: '冻结', code: 'userFrozen' }, + { title: '解冻', code: 'userUnFrozen' }, + { title: '重置密码', code: 'userCodeReset' }, + { title: '删除', code: 'userDelete' }, ], // backApi: [], },