汽车覆盖件,用户管理,分配角色按钮跳转修改

This commit is contained in:
wangyan21 2024-01-22 16:43:54 +08:00
parent 898656d33e
commit 05f7a30876
3 changed files with 17 additions and 2 deletions

View File

@ -400,6 +400,20 @@ export const dynamicRoutes = [
}
]
},
{
path: '/qcfgjManage/user-auth',
component: Layout,
hidden: true,
permissions: ['system:user:edit'],
children: [
{
path: 'role/:userId(\\d+)',
component: () => import('@/views/qcfgjManage/user/authRole'),
name: 'AuthRole',
meta: { title: '分配角色', activeMenu: '/qcfgjManage/user' }
}
]
},
]
// 防止连续点击多次路由报错

View File

@ -111,8 +111,9 @@ export default {
},
/** 关闭按钮 */
close() {
const obj = { path: '/sJwildAnimal/ysdwyhqx/user' }
const obj = { path: '/qcfgjManage/user' }
this.$tab.closeOpenPage(obj)
this.$tab.closePage();
}
}
}

View File

@ -621,7 +621,7 @@ export default {
/** 分配角色操作 */
handleAuthRole: function(row) {
const userId = row.userId;
this.$router.push("/sJwildAnimal/user-auth/role/" + userId);
this.$router.push("/qcfgjManage/user-auth/role/" + userId);
},
/** 提交按钮 */
submitForm: function() {