From e5b905c4555df632d9ddcb830f3979f05be18054 Mon Sep 17 00:00:00 2001 From: RuoYi Date: Mon, 21 Nov 2022 13:39:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=94=A8=E6=88=B7=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E9=87=8D=E7=BD=AE=E6=97=B6=E5=8F=96=E6=B6=88=E9=83=A8?= =?UTF-8?q?=E9=97=A8=E9=80=89=E6=8B=A9(I621OJ)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/resources/templates/system/user/user.html | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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 a682044a5..a59916ee7 100644 --- a/ruoyi-admin/src/main/resources/templates/system/user/user.html +++ b/ruoyi-admin/src/main/resources/templates/system/user/user.html @@ -54,7 +54,7 @@
  •  搜索 -  重置 +  重置
  • @@ -221,6 +221,15 @@ $('#btnRefresh').click(function() { queryDeptTree(); }); + + /* 自定义重置-表单重置/隐藏框/树节点选择色/搜索 */ + function resetPre() { + $("#user-form")[0].reset(); + $("#deptId").val(""); + $("#parentId").val(""); + $(".curSelectedNode").removeClass("curSelectedNode"); + $.table.search(); + } /* 用户管理-部门 */ function dept() {