[update] 修改bug87734
This commit is contained in:
@@ -158,7 +158,8 @@ export default {
|
||||
// 字典配置
|
||||
{
|
||||
text: this.$t('system.tag.dictionaryConfiguration'),
|
||||
clickEvent: 'editDictItem'
|
||||
clickEvent: 'editDictItem',
|
||||
has: 'sys:dict:set'
|
||||
},
|
||||
// 编辑
|
||||
{
|
||||
|
||||
@@ -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'
|
||||
},
|
||||
// 编辑
|
||||
{
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user