From 7c99a60a63a45de552e6c333f36737f70308f79f Mon Sep 17 00:00:00 2001 From: lideqin <694785430@qq.com> Date: Mon, 5 Aug 2024 17:37:08 +0800 Subject: [PATCH] =?UTF-8?q?[update]=20=E4=BF=AE=E6=94=B9bug87734?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/DictList.vue | 3 ++- src/views/system/RoleUserList.vue | 4 ++-- src/views/system/UserList.vue | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-) 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