|
@@ -285,13 +285,14 @@ export default {
|
|
|
loading()
|
|
|
})
|
|
|
},
|
|
|
- updatePermession(roleId) {
|
|
|
- this.menuIds = ''
|
|
|
- this.menuIds = this.$refs.menuTree.getCheckedKeys().join(',').concat(',').concat(this.$refs.menuTree.getHalfCheckedKeys().join(','))
|
|
|
- permissionUpd(roleId, this.menuIds).then(() => {
|
|
|
- this.dialogPermissionVisible = false
|
|
|
- this.$notify.success('修改成功')
|
|
|
- })
|
|
|
+ updatePermession (roleId) {
|
|
|
+ this.menuIds = ''
|
|
|
+ this.menuIds = this.$refs.menuTree.getCheckedKeys().join(',').concat(',').concat(this.$refs.menuTree.getHalfCheckedKeys().join(','))
|
|
|
+ permissionUpd(roleId, this.menuIds).then(() => {
|
|
|
+ this.dialogPermissionVisible = false
|
|
|
+ this.$store.dispatch('GetMenu', false)
|
|
|
+ this.$notify.success('修改成功')
|
|
|
+ })
|
|
|
}
|
|
|
}
|
|
|
}
|