From b95867d229ec5c295643db7058564a2ea2f6d6dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Chuailei000=E2=80=9D?= <2280131253@qq.com> Date: Mon, 25 Apr 2022 17:49:54 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=B3=BB=E7=BB=9F=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E5=BA=94=E7=94=A8=E8=B4=A6=E5=8F=B7=E5=88=97=E8=A1=A8=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=E4=B8=BA=E4=B8=8D=E5=8F=AF=E7=82=B9=E5=87=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/AppAccountListTable/index.vue | 6 +++++- .../SystemUser/SystemUserDetail/AppAccountList.vue | 11 +++++++++-- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/src/components/AppAccountListTable/index.vue b/src/components/AppAccountListTable/index.vue index 51d86a0fb..f7b0557d1 100644 --- a/src/components/AppAccountListTable/index.vue +++ b/src/components/AppAccountListTable/index.vue @@ -38,6 +38,10 @@ export default { hasClone: { type: Boolean, default: false + }, + systemUserDisabled: { + type: Boolean, + default: true } }, data() { @@ -84,7 +88,7 @@ export default { showOverflowTooltip: true, formatter: DetailFormatter, formatterArgs: { - can: this.$hasPerm('assets.view_systemuser'), + can: this.systemUserDisabled && this.$hasPerm('assets.view_systemuser'), getTitle({ row }) { return row.systemuser_display }, diff --git a/src/views/assets/SystemUser/SystemUserDetail/AppAccountList.vue b/src/views/assets/SystemUser/SystemUserDetail/AppAccountList.vue index 36b30f122..c3b2127fa 100644 --- a/src/views/assets/SystemUser/SystemUserDetail/AppAccountList.vue +++ b/src/views/assets/SystemUser/SystemUserDetail/AppAccountList.vue @@ -1,7 +1,13 @@