修复导出数据为空的情况下异常

This commit is contained in:
leijun
2018-10-30 18:16:57 +08:00
parent 2b78d3e8a2
commit c5b140c8bd

View File

@@ -373,7 +373,8 @@ var checkboxes=$("#${id} ${value} tbody tr td input.i-checks:checkbox");
doAll(checkboxes,url);
//导出检索条件下所有数据
}else{
if($("#showTotalCount").html().trim() > maxRow){
var totalCount = $("#showTotalCount").html() == undefined ? '' : $("#showTotalCount").html().trim();
if(totalCount > maxRow){
top.$.jBox.confirm("<spring:message code='export_confirm_message'/>"+maxRow+"!","<spring:message code='info'/>",function(v,h,f){
if(v=="ok"){
$("#searchForm").attr("action",url);