Commit 7bbef083 by fengzhaoyu

编辑成功返回首页,角色太多增加

parent fcc1343c
...@@ -161,6 +161,7 @@ export default { ...@@ -161,6 +161,7 @@ export default {
$http.post(`/admin/manager/modifyFullRole`, data).then(res => { $http.post(`/admin/manager/modifyFullRole`, data).then(res => {
if (res.data.code === 0) { if (res.data.code === 0) {
this.$message.success('保存成功') this.$message.success('保存成功')
this.$router.push({ name: 'rightsManagement' })
} else { } else {
this.$message.error(res.data.msg) this.$message.error(res.data.msg)
} }
......
...@@ -67,6 +67,7 @@ export default { ...@@ -67,6 +67,7 @@ export default {
}, { }, {
title: '拥有该角色的员工', title: '拥有该角色的员工',
dataIndex: 'userHasRoles', dataIndex: 'userHasRoles',
width: '30%',
scopedSlots: { customRender: 'userHasRoles' } scopedSlots: { customRender: 'userHasRoles' }
}, { }, {
title: '创建时间', title: '创建时间',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment