[update] 修改bug87734
This commit is contained in:
@@ -158,7 +158,8 @@ export default {
|
|||||||
// 字典配置
|
// 字典配置
|
||||||
{
|
{
|
||||||
text: this.$t('system.tag.dictionaryConfiguration'),
|
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'),
|
text: this.$t('roleManage.userBtn'),
|
||||||
clickEvent: 'handleOpen',
|
clickEvent: 'handleOpen',
|
||||||
has: ''
|
has: 'sys:role:user'
|
||||||
},
|
},
|
||||||
// 授权
|
// 授权
|
||||||
{
|
{
|
||||||
text: this.$t('roleManage.toGrantAuthorization'),
|
text: this.$t('roleManage.toGrantAuthorization'),
|
||||||
clickEvent: 'handlePerssion',
|
clickEvent: 'handlePerssion',
|
||||||
has: ''
|
has: 'sys:role:permission'
|
||||||
},
|
},
|
||||||
// 编辑
|
// 编辑
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -313,13 +313,13 @@ export default {
|
|||||||
{
|
{
|
||||||
text: this.$t('details'),
|
text: this.$t('details'),
|
||||||
clickEvent: 'handleDetail',
|
clickEvent: 'handleDetail',
|
||||||
has: ''
|
has: 'user:detail'
|
||||||
},
|
},
|
||||||
// 密码
|
// 密码
|
||||||
{
|
{
|
||||||
text: this.$t('user.password'),
|
text: this.$t('user.password'),
|
||||||
clickEvent: 'handleChangePassword',
|
clickEvent: 'handleChangePassword',
|
||||||
has: '',
|
has: 'user:password',
|
||||||
show: (record) => {
|
show: (record) => {
|
||||||
// IAM同步过来的不能编辑
|
// IAM同步过来的不能编辑
|
||||||
return record.source !== UserSource.IAM.value
|
return record.source !== UserSource.IAM.value
|
||||||
|
|||||||
Reference in New Issue
Block a user