From 32dc280a122768e906441fb7733b03b2a584fc18 Mon Sep 17 00:00:00 2001 From: fengachen <373943794@qq.com> Date: Tue, 14 Sep 2021 09:54:10 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=92=E8=89=B2=E6=8E=88=E6=9D=83=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E4=BF=AE=E6=94=B9=20=E8=B4=9F=E8=B4=A3=E4=BA=BA?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E6=8E=A5=E5=8F=A3=E5=8F=82=E6=95=B0=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/company/SelectPrincipal.vue | 2 +- src/views/system/modules/UserRoleModal.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/company/SelectPrincipal.vue b/src/components/company/SelectPrincipal.vue index 0cb0a4f..9d4cca0 100644 --- a/src/components/company/SelectPrincipal.vue +++ b/src/components/company/SelectPrincipal.vue @@ -35,7 +35,7 @@ export default { * 获取所有用户 */ initUserList() { - getAllUserList().then(res => { + getAllUserList({status:1}).then(res => { this.userList = res.result }) }, diff --git a/src/views/system/modules/UserRoleModal.vue b/src/views/system/modules/UserRoleModal.vue index af4b6c0..6bc85f6 100644 --- a/src/views/system/modules/UserRoleModal.vue +++ b/src/views/system/modules/UserRoleModal.vue @@ -163,7 +163,7 @@ }) }, loadData(){ - queryTreeListForRole().then((res) => { + queryTreeListForRole({roleId:this.roleId}).then((res) => { this.treeData = res.result.treeList this.allTreeKeys = res.result.ids queryRolePermission({roleId:this.roleId}).then((res)=>{