[update] 修改bug87734

This commit is contained in:
lideqin
2024-08-05 17:37:08 +08:00
parent c1dcb53015
commit 7c99a60a63
3 changed files with 6 additions and 5 deletions
+2 -1
View File
@@ -158,7 +158,8 @@ export default {
// 字典配置
{
text: this.$t('system.tag.dictionaryConfiguration'),
clickEvent: 'editDictItem'
clickEvent: 'editDictItem',
has: 'sys:dict:set'
},
// 编辑
{
+2 -2
View File
@@ -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'
},
// 编辑
{
+2 -2
View File
@@ -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