From 421b3366cb556ac0edb82354cc6546a69990ef08 Mon Sep 17 00:00:00 2001 From: wanglei Date: Fri, 31 Oct 2025 16:47:13 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=A8=E6=88=B7=E7=AE=A1=E7=90=86=E5=88=97?= =?UTF-8?q?=E8=A1=A8=20=20=E6=B7=BB=E5=8A=A0=E6=8C=89=E8=A7=92=E8=89=B2?= =?UTF-8?q?=E6=90=9C=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/views/system/user/index.vue | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/ruoyi-ui/src/views/system/user/index.vue b/ruoyi-ui/src/views/system/user/index.vue index 7f2b43b..40ad718 100644 --- a/ruoyi-ui/src/views/system/user/index.vue +++ b/ruoyi-ui/src/views/system/user/index.vue @@ -16,10 +16,17 @@ - + + + + + + + @@ -287,6 +294,7 @@ export default { userName: undefined, phonenumber: undefined, status: undefined, + roleId: undefined, deptId: undefined }, // 列信息 @@ -344,6 +352,7 @@ export default { this.getList() this.getDeptTree() + this.getRolels() this.getConfigKey("sys.user.initPassword").then(response => { this.initPassword = response.msg }) @@ -565,6 +574,11 @@ export default { // 提交上传文件 submitFileForm() { this.$refs.upload.submit() + }, + getRolels(){ + getUser().then(response => { + this.roleOptions = response.roles + }) } } }