diff --git a/cyx-admin/src/main/resources/static/ruoyi/js/ry-ui.js b/cyx-admin/src/main/resources/static/ruoyi/js/ry-ui.js index 2a306cb..1c0ab1f 100644 --- a/cyx-admin/src/main/resources/static/ruoyi/js/ry-ui.js +++ b/cyx-admin/src/main/resources/static/ruoyi/js/ry-ui.js @@ -1391,7 +1391,7 @@ var table = { view: options.view, data: options.data }; - $.get(options.url, function(data) { + $.get(options.url,options.data?options.data:{}, function(data) { var treeId = $("#treeId").val(); tree = $.fn.zTree.init($("#" + options.id), setting, data); $._tree = tree; 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 f9ba565..13f215f 100644 --- a/cyx-admin/src/main/resources/templates/base/affairs/affairs.html +++ b/cyx-admin/src/main/resources/templates/base/affairs/affairs.html @@ -2,83 +2,59 @@