diff --git a/cyx-admin/src/main/resources/templates/base/affairs/affairs.html b/cyx-admin/src/main/resources/templates/base/affairs/affairs.html index ac22876..fcc4075 100644 --- a/cyx-admin/src/main/resources/templates/base/affairs/affairs.html +++ b/cyx-admin/src/main/resources/templates/base/affairs/affairs.html @@ -2,56 +2,83 @@ + + -
-
-
-
-
-
    - -
  • - - -
  • -
  • - - -
  • -
  • - - -
  • -
  • -  搜索 -  重置 -
  • -
-
-
+
+
+
+
+ 组织机构 +
+
+ + + + +
- - -
-
+
+
+
+
+
+
+
+
+
    + + + +
  • + + +
  • +
  • + + +
  • +
  • + + +
  • +
  • +  搜索 +  重置 +
  • +
+
+
+
+ + +
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/cyx-admin/src/main/resources/templates/base/user/user.html b/cyx-admin/src/main/resources/templates/base/user/user.html index 8520fc6..27bbd17 100644 --- a/cyx-admin/src/main/resources/templates/base/user/user.html +++ b/cyx-admin/src/main/resources/templates/base/user/user.html @@ -189,23 +189,7 @@ $.table.init(options); } - function queryDeptTree() - { - var url = ctx + "base/user/deptTreeData"; - var options = { - url: url, - expandLevel: 2, - onClick : zOnClick - }; - $.tree.init(options); - - function zOnClick(event, treeId, treeNode) { - $("#deptId").val(treeNode.id); - $("#parentId").val(treeNode.pId); - $.table.search(); - } - } - + $('#btnExpand').click(function() { $._tree.expandAll(true); $(this).hide();