diff --git a/src/main/webapp/static/js/hospitalCommom/hospitalCommom.js b/src/main/webapp/static/js/hospitalCommom/hospitalCommom.js index eb7c226..497e40e 100644 --- a/src/main/webapp/static/js/hospitalCommom/hospitalCommom.js +++ b/src/main/webapp/static/js/hospitalCommom/hospitalCommom.js @@ -959,6 +959,8 @@ $("#updateStateBtn2").click(function () { if (result == 1) { //刷新 $('#table2').bootstrapTable('refresh'); + //获取选中节点 + initTree($("#idLab").html(),$("#checker").val()); toastr.success("批量使用成功!"); } else { toastr.error("批量使用失败,无记录!"); @@ -1409,3 +1411,8 @@ $("#searchBtn6").click(function(){ submitUpdate(ids,notNursingIds,sysflag); } }) + +//模态框 关闭前事件关闭任务详情,刷新表格2 +$('#workDetailModal').on('hide.bs.modal', function () { + initTable2(); +}); \ No newline at end of file