From 44d4571c2e94221662e29c1be18199528632535e Mon Sep 17 00:00:00 2001 From: zengwh <81383286@qq.com> Date: Mon, 27 Jul 2020 15:41:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=88=86=E7=B1=BB=E6=A0=91?= =?UTF-8?q?=E7=82=B9=E5=87=BB=E6=96=87=E5=AD=97=E9=80=89=E4=B8=AD=E5=92=8C?= =?UTF-8?q?=E5=8E=BB=E6=8E=89=E5=9B=BE=E7=89=87=E6=9F=B1=E7=8A=B6=E5=9B=BE?= =?UTF-8?q?y=E8=BD=B4=E6=9C=80=E5=A4=A7=E5=80=BC=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 3 ++- src/main/webapp/WEB-INF/views/vCountDir/vCountList.jsp | 1 - .../webapp/static/js/hospitalCommom/hospitalCommom.js | 10 ++++++++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 7a45b09..e28be59 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ target /.idea/ -*.iml \ No newline at end of file +*.iml +rebel.xml \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/views/vCountDir/vCountList.jsp b/src/main/webapp/WEB-INF/views/vCountDir/vCountList.jsp index ff4f03b..d1efcb7 100644 --- a/src/main/webapp/WEB-INF/views/vCountDir/vCountList.jsp +++ b/src/main/webapp/WEB-INF/views/vCountDir/vCountList.jsp @@ -243,7 +243,6 @@ yAxis: { type: 'value', - max: '1200', axisLine: { show: false, lineStyle: { diff --git a/src/main/webapp/static/js/hospitalCommom/hospitalCommom.js b/src/main/webapp/static/js/hospitalCommom/hospitalCommom.js index 35223c2..ea4fe04 100644 --- a/src/main/webapp/static/js/hospitalCommom/hospitalCommom.js +++ b/src/main/webapp/static/js/hospitalCommom/hospitalCommom.js @@ -779,10 +779,16 @@ var setting = { $('#table2').bootstrapTable('refreshOptions', {limit: 1, offset: 10}); //刷新 $('#table2').bootstrapTable('refresh'); - } + }, + onClick:onClick } }; - +//树点击事件 +function onClick(e, treeId, treeNode) { + var zTree = $.fn.zTree.getZTreeObj("ztree"); + //点击后选中 + zTree.checkNode(treeNode,!treeNode.checked, true); +}; //查询树节点 function searchNode() { var zTree = $.fn.zTree.getZTreeObj("ztree");