1.引入js
<script src="${contextPath}/static/lhgDialog/lhgdialog.min.js"></script>
2.弹出窗口js代码
<script type="text/javascript">
//预警
function warnning(id){
$.dialog({
width : 600,
height : 400,
id :"warnning",
content : 'url:' +"${ctx}/hbzxjc/sxHbMonitorWastewater/enterResWarnning?id="+id,
title : "一键预警",
cache : false,
lock : true,
close : function() {
alert("关闭了");
window.location.reload(); //弹出窗口关闭后,刷新本页面
}
});
}
</script>