feat:添加角色用户管理,修复一堆相关问题

This commit is contained in:
李大饼
2024-10-12 17:16:48 +08:00
parent 6f691e45d8
commit b6b54164a8
5 changed files with 159 additions and 160 deletions

View File

@@ -95,7 +95,7 @@ export const dynamicRoutes = [
permissions: ['system:user:edit'],
children: [
{
path: 'role/:userId(\\d+)',
path: 'role/:userId([\\w-]+)',
component: () => import('@/views/system/user/authRole'),
name: 'AuthRole',
meta: { title: '分配角色', activeMenu: '/system/user' }
@@ -109,7 +109,7 @@ export const dynamicRoutes = [
permissions: ['system:role:edit'],
children: [
{
path: 'user/:roleId(\\d+)',
path: 'user/:roleId([\\w-]+)',
component: () => import('@/views/system/role/authUser'),
name: 'AuthUser',
meta: { title: '分配用户', activeMenu: '/system/role' }
@@ -151,7 +151,7 @@ export const dynamicRoutes = [
permissions: ['tool:gen:edit'],
children: [
{
path: 'index/:tableId(\\d+)',
path: 'index/:tableId([\\w-]+)',
component: () => import('@/views/tool/gen/editTable'),
name: 'GenEdit',
meta: { title: '修改生成配置', activeMenu: '/tool/gen' }