From 7d16d7eab27d600d63f26b0314ad15c602de1765 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Tue, 17 Aug 2021 17:45:58 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=E4=BB=AA=E8=A1=A8=E6=9D=BF=E5=85=B3?= =?UTF-8?q?=E9=97=AD=E6=8F=90=E7=A4=BA=E6=96=87=E6=A1=88=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/canvas/components/Toolbar.vue | 4 ++-- frontend/src/views/system/user/index.vue | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) 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'