From 89c00344ccc002d3ac92b6d3f979f5e99cb6357c Mon Sep 17 00:00:00 2001
From: zengh <123456>
Date: Thu, 26 May 2022 17:59:18 +0800
Subject: [PATCH] 角色权限修改

---
 src/views/system/user.vue |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/views/system/user.vue b/src/views/system/user.vue
index 15b7c13..727bdf3 100644
--- a/src/views/system/user.vue
+++ b/src/views/system/user.vue
@@ -1173,6 +1173,9 @@
       this.onLoad(this.page, this.query);
     },
     onLoad(page, params = {}) {
+      if (this.userInfo.role_name != "administrator"){
+        params["jurisdiction"] = this.userInfo.workjurisdiction;
+      }
       this.loading = true;
       getList(
         page.currentPage,

--
Gitblit v1.9.3