fix:调整路由
This commit is contained in:
@@ -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;
|
||||
|
||||
|
@@ -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: [],
|
||||
},
|
||||
|
Reference in New Issue
Block a user