From 6ab8ce279667b9128f184b8dbf619d94fcf71aa8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=97=A0=E5=90=8D=E4=B8=B6=E5=B0=8F=E8=BE=88?= Date: Fri, 5 Feb 2021 09:23:28 +0800 Subject: [PATCH] =?UTF-8?q?update=20ruoyi-admin/src/main/resources/templat?= =?UTF-8?q?es/system/user/user.html.=20=E6=94=AF=E6=8C=81=E5=AD=97?= =?UTF-8?q?=E7=AC=A6=E4=B8=B2user=5Fid=EF=BC=8C=E9=81=BF=E5=85=8D=E5=AD=97?= =?UTF-8?q?=E7=AC=A6=E4=B8=B2ID=E6=97=B6=EF=BC=8C=E7=A8=8B=E5=BA=8F?= =?UTF-8?q?=E4=BC=9A=E4=BA=A7=E7=94=9F=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/templates/system/user/user.html | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/ruoyi-admin/src/main/resources/templates/system/user/user.html b/ruoyi-admin/src/main/resources/templates/system/user/user.html index 21d506c37..dcc1c9a84 100644 --- a/ruoyi-admin/src/main/resources/templates/system/user/user.html +++ b/ruoyi-admin/src/main/resources/templates/system/user/user.html @@ -175,8 +175,8 @@ actions.push('编辑 '); actions.push('删除 '); var more = []; - more.push("重置密码 "); - more.push("分配角色"); + more.push("重置密码 "); + more.push("分配角色"); actions.push('更多操作'); return actions.join(''); } @@ -225,13 +225,15 @@ } /* 用户管理-重置密码 */ - function resetPwd(userId) { + function resetPwd(obj) { + var userId = $(obj).attr("dataid"); var url = prefix + '/resetPwd/' + userId; $.modal.open("重置密码", url, '800', '300'); } /* 用户管理-分配角色 */ - function authRole(userId) { + function authRole(obj) { + var userId = $(obj).attr("dataid"); var url = prefix + '/authRole/' + userId; $.modal.openTab("用户分配角色", url); }