mirror of
https://gitee.com/ssssssss-team/magic-boot.git
synced 2025-01-19 03:52:50 +08:00
角色列表添加用户列表跳转
This commit is contained in:
parent
7c0519888a
commit
71f4ee0ba1
@ -117,9 +117,18 @@ export default {
|
||||
{
|
||||
title: '操作',
|
||||
type: 'btns',
|
||||
width: 200,
|
||||
width: 270,
|
||||
fixed: 'right',
|
||||
btns: [
|
||||
{
|
||||
permission: 'role:user:list',
|
||||
title: '用户列表',
|
||||
type: 'text',
|
||||
icon: 'el-icon-user-solid',
|
||||
click: (row) => {
|
||||
this.$router.push({ path: `/system/user/user-list?roleId=${row.id}` })
|
||||
}
|
||||
},
|
||||
{
|
||||
permission: 'role:save',
|
||||
title: '修改',
|
||||
|
@ -157,6 +157,9 @@ export default {
|
||||
ids: []
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.tableOptions.where.roleId.value = this.$route.query.roleId
|
||||
},
|
||||
methods: {
|
||||
checkChange(values) {
|
||||
this.tableOptions.where.officeId = values
|
||||
|
Loading…
Reference in New Issue
Block a user