2021.1.14 更新页面

master
wzqgit 5 years ago
parent 1223989a03
commit f5cb6a0bad

@ -2172,14 +2172,14 @@
title: '医生', title: '医生',
field: 'doctorName', field: 'doctorName',
align: 'left', align: 'left',
formatter: function (value, row, index) { <%--formatter: function (value, row, index) {--%>
//调接口 参数:工号 返回:名字 <%--//调接口 参数:工号 返回:名字--%>
var request = new XMLHttpRequest(); <%--var request = new XMLHttpRequest();--%>
request.open('GET', '${path}/getDoctorOrNursName?user_name=' + value, false); <%--request.open('GET', '${path}/getDoctorOrNursName?user_name=' + value, false);--%>
request.send(null); <%--request.send(null);--%>
return request.responseText; <%--return request.responseText;--%>
} <%--}*/--%>
}, },
{ {
title: '医生提交日期', title: '医生提交日期',
@ -2213,14 +2213,14 @@
title: '护士', title: '护士',
field: 'nurseName', field: 'nurseName',
align: 'left', align: 'left',
formatter: function (value, row, index) { <%--formatter: function (value, row, index) {--%>
//调接口 参数:工号 返回:名字 <%--//调接口 参数:工号 返回:名字--%>
var request = new XMLHttpRequest(); <%--var request = new XMLHttpRequest();--%>
request.open('GET', '${path}/getDoctorOrNursName?user_name=' + value, false); <%--request.open('GET', '${path}/getDoctorOrNursName?user_name=' + value, false);--%>
request.send(null); <%--request.send(null);--%>
return request.responseText; <%--return request.responseText;--%>
} <%--}--%>
}, },
{ {
title: '护士提交日期', title: '护士提交日期',

@ -477,6 +477,7 @@
} else { } else {
toastr.warning("正在查询,请稍等..."); toastr.warning("正在查询,请稍等...");
} }
$(".selectpicker").selectpicker( 'deselectAll' );
}); });

@ -2143,6 +2143,7 @@
} else { } else {
toastr.warning("正在查询,请稍等..."); toastr.warning("正在查询,请稍等...");
} }
$(".selectpicker").selectpicker( 'deselectAll' );
}); });
//添加pdf记录 //添加pdf记录

@ -1,4 +1,4 @@
<%@ page contentType="text/html;charset=UTF-8" language="java" import="java.util.*" %> <%@ page contentType="text/html;charset=UTF-8" language="java" import="java.util.*" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<c:set value="${pageContext.request.contextPath}" var="path" scope="page"/> <c:set value="${pageContext.request.contextPath}" var="path" scope="page"/>
@ -2601,6 +2601,7 @@
} else { } else {
toastr.warning("正在查询,请稍等..."); toastr.warning("正在查询,请稍等...");
} }
$(".selectpicker").selectpicker( 'deselectAll' );
}); });

@ -406,6 +406,7 @@
} else { } else {
toastr.warning("正在查询,请稍等..."); toastr.warning("正在查询,请稍等...");
} }
$(".selectpicker").selectpicker( 'deselectAll' );
// $('#table').bootstrapTable('destroy'); // $('#table').bootstrapTable('destroy');
//$('#table').bootstrapTable('refreshOptions', {limit: 1, offset: 10}); //$('#table').bootstrapTable('refreshOptions', {limit: 1, offset: 10});
//刷新 //刷新

@ -615,6 +615,7 @@
} else { } else {
toastr.warning("正在查询,请稍等..."); toastr.warning("正在查询,请稍等...");
} }
$(".selectpicker").selectpicker( 'deselectAll' );
}); });
//获取table的高度 //获取table的高度

@ -2492,6 +2492,7 @@
} else { } else {
toastr.warning("正在查询,请稍等..."); toastr.warning("正在查询,请稍等...");
} }
$(".selectpicker").selectpicker( 'deselectAll' );
}); });
//添加pdf记录 //添加pdf记录

@ -983,6 +983,7 @@ var tipLoad = 1;
} else { } else {
toastr.warning("正在查询,请稍等..."); toastr.warning("正在查询,请稍等...");
} }
$(".selectpicker").selectpicker( 'deselectAll' );
// $('#table').bootstrapTable('destroy'); // $('#table').bootstrapTable('destroy');
//$('#table').bootstrapTable('refreshOptions', {limit: 1, offset: 10}); //$('#table').bootstrapTable('refreshOptions', {limit: 1, offset: 10});
//刷新 //刷新

@ -293,6 +293,7 @@
$('#searchBtn').click(function () { $('#searchBtn').click(function () {
$("#table").bootstrapTable("refreshOptions", {pageNumber: 1}); $("#table").bootstrapTable("refreshOptions", {pageNumber: 1});
$(".selectpicker").selectpicker( 'deselectAll' );
}); });
}); });
</script> </script>

Loading…
Cancel
Save