diff --git a/src/views/system/DictList.vue b/src/views/system/DictList.vue index 5437976..a16e9d9 100644 --- a/src/views/system/DictList.vue +++ b/src/views/system/DictList.vue @@ -158,7 +158,8 @@ export default { // 字典配置 { text: this.$t('system.tag.dictionaryConfiguration'), - clickEvent: 'editDictItem' + clickEvent: 'editDictItem', + has: 'sys:dict:set' }, // 编辑 { diff --git a/src/views/system/RoleUserList.vue b/src/views/system/RoleUserList.vue index 1e0b880..896dcbc 100644 --- a/src/views/system/RoleUserList.vue +++ b/src/views/system/RoleUserList.vue @@ -277,13 +277,13 @@ export default { { text: this.$t('roleManage.userBtn'), clickEvent: 'handleOpen', - has: '' + has: 'sys:role:user' }, // 授权 { text: this.$t('roleManage.toGrantAuthorization'), clickEvent: 'handlePerssion', - has: '' + has: 'sys:role:permission' }, // 编辑 { diff --git a/src/views/system/UserList.vue b/src/views/system/UserList.vue index 8d805c6..e73646e 100644 --- a/src/views/system/UserList.vue +++ b/src/views/system/UserList.vue @@ -313,13 +313,13 @@ export default { { text: this.$t('details'), clickEvent: 'handleDetail', - has: '' + has: 'user:detail' }, // 密码 { text: this.$t('user.password'), clickEvent: 'handleChangePassword', - has: '', + has: 'user:password', show: (record) => { // IAM同步过来的不能编辑 return record.source !== UserSource.IAM.value