From c4e67a8942e514b65ab41bb19781d50576c15725 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Fri, 24 Sep 2021 19:56:52 +0800
Subject: [PATCH] 用户
---
src/views/system/user.vue | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/src/views/system/user.vue b/src/views/system/user.vue
index f8e63bc..eda8308 100644
--- a/src/views/system/user.vue
+++ b/src/views/system/user.vue
@@ -50,7 +50,7 @@
type="info"
size="small"
plain
- v-if="permission.user_role"
+ v-if="permission.user_role && isguanli"
icon="el-icon-user"
@click="handleGrant"
>角色配置
@@ -221,6 +221,8 @@
}
};
return {
+ isguanli: true,
+
sizes: [5, 19],
deptids: null,
@@ -771,6 +773,8 @@
if (this.userInfo.role_name == "保安公司管理员") {
this.deptids = this.userInfo.dept_id;
this.sizes = [0, 24];
+ this.isguanli = false;
+ // this.option.group[2].value = this.userInfo.Id;
} else {
this.deptids = null;
this.sizes = [5, 19];
--
Gitblit v1.9.3