diff --git a/frontend/src/components/canvas/components/Toolbar.vue b/frontend/src/components/canvas/components/Toolbar.vue index a4e3f4e5c0..53b2e6bc5a 100644 --- a/frontend/src/components/canvas/components/Toolbar.vue +++ b/frontend/src/components/canvas/components/Toolbar.vue @@ -76,10 +76,10 @@ - + - + {{ $t('panel.panel_save_warn_tips') }} diff --git a/frontend/src/views/system/user/index.vue b/frontend/src/views/system/user/index.vue index 36eb05ae1b..2e29261c52 100644 --- a/frontend/src/views/system/user/index.vue +++ b/frontend/src/views/system/user/index.vue @@ -191,6 +191,9 @@ export default { }, { label: this.$t('member.edit_password'), icon: 'el-icon-s-tools', type: 'success', click: this.editPassword, show: this.checkPermission(['user:editPwd']) + }, { + label: '权限查看', icon: 'el-icon-lock', type: 'warning', click: this.showAuth, + show: this.checkPermission(['user:editPwd']) } ], searchConfig: { @@ -352,6 +355,9 @@ export default { edit(row) { this.$router.push({ name: 'system-user-form', params: row }) }, + showAuth(row) { + this.$router.push({ name: 'system-user-form', params: row }) + }, // edit(row) { // this.depts = null // this.formType = 'modify'