Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 

164 rader
7.4 KiB

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<link href="${contextPath}/ureport/res/ureport-asserts/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
<link href="${contextPath}/ureport/res/ureport-asserts/css/bootstrap-select.min.css" rel="stylesheet" type="text/css" />
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<meta http-equiv="Cache-Control" content="no-siteapp" />
<meta name ="viewport" content ="initial-scale=1, maximum-scale=3, minimum-scale=1, user-scalable=no">
<title>${title}</title>
<style type="text/css" id="_ureport_table_style">
${style}
#_ureport_table tr{
height: 34px !important;
}
#_ureport_table ._A1{
line-height: 2 !important;
}
#_ureport_table ._ureport_tr td{
background-color: #f4f4f4;
height: 40px !important;
}
#_ureport_table td{
word-break: break-all;
border-color: #dddddd !important;
}
</style>
<script type="text/javascript" src="${contextPath}/ureport/res/ureport-asserts/venderjs/jquery.min.js"></script>
<script type="text/javascript" src="${contextPath}/ureport/res/ureport-asserts/venderjs/bootstrap.min.js"></script>
<script type="text/javascript" src="${contextPath}/ureport/res/ureport-asserts/venderjs/Chart.bundle.min.js"></script>
<script type="text/javascript" src="${contextPath}/ureport/res/ureport-asserts/venderjs/chartjs-plugin-datalabels.min.js"></script>
<script type="text/javascript" src="${contextPath}/ureport/res/ureport-asserts/venderjs/bootstrap-datetimepicker.js"></script>
<script type="text/javascript" src="${contextPath}/ureport/res/ureport-asserts/js/preview.bundle.js"></script>
<script type="text/javascript" src="${contextPath}/ureport/res/ureport-asserts/venderjs/bootstrap-select.min.js"></script>
<script type="text/javascript" src="${contextPath}/ureport/res/ureport-asserts/venderjs/defaults-zh_CN.min.js"></script>
<script>
var userAgent = navigator.userAgent; // 取得浏览器的userAgent字符串
console.log(userAgent)
var isTrident = navigator.userAgent.indexOf('Trident') > -1 // 是否是IE内核
if(isTrident){
window.location.href = "/ureport/ietip"
}
</script>
</head>
<body style="margin:5px">
${upSearchFormHtml}
#if($tools.show)
<div style="border:solid 1px #ddd;border-radius:5px;height:35px;width:100%;margin-bottom:5px;background:#f8f8f8">
<div style="text-align:${reportAlign}">
#if($tools.print)
<button type="button" class="btn btn-default ureport-print" style="display:inline-block;padding:0;background:#f8f8f8;border:none;margin:3px" title="在线打印">
<img src='${contextPath}/ureport/res/ureport-asserts/icons/print.svg' width="20px" height="20px">
</button>
#end
#if($tools.pdfPrint)
<button type="button" class="btn btn-default ureport-pdf-direct-print" style="display:inline-block;padding:0;background:#f8f8f8;border:none;margin:3px" title="PDF在线打印">
<img src='${contextPath}/ureport/res/ureport-asserts/icons/pdf-direct-print.svg' width="20px" height="20px">
</button>
#end
#if($tools.pdfPreviewPrint)
<button type="button" class="btn btn-default ureport-pdf-print" style="display:inline-block;padding:0;background:#f8f8f8;border:none;margin:3px" title="PDF在线预览打印">
<img src='${contextPath}/ureport/res/ureport-asserts/icons/pdf-print.svg' width="20px" height="20px">
</button>
#end
#if($tools.pdf)
<button type="button" class="btn btn-default ureport-export-pdf" style="display:inline-block;padding:0;background:#f8f8f8;border:none;margin:3px" title="导出PDF">
<img src='${contextPath}/ureport/res/ureport-asserts/icons/pdf.svg' width="20px" height="20px">
</button>
#end
#if($tools.word)
<button type="button" class="btn btn-default ureport-export-word" style="display:inline-block;padding:0;background:#f8f8f8;border:none;margin:3px" title="导出WORD">
<img src='${contextPath}/ureport/res/ureport-asserts/icons/word.svg' width="20px" height="20px">
</button>
#end
#if($tools.excel)
<button type="button" class="btn btn-default ureport-export-excel" style="display:inline-block;padding:0;background:#f8f8f8;border:none;margin:3px" title="导出EXCEL">
<img src='${contextPath}/ureport/res/ureport-asserts/icons/excel.svg' width="20px" height="20px">
</button>
#end
#if($tools.pagingExcel)
<button type="button" class="btn btn-default ureport-export-excel-paging" style="display:inline-block;padding:0;background:#f8f8f8;border:none;margin:3px" title="分页导出EXCEL">
<img src='${contextPath}/ureport/res/ureport-asserts/icons/excel-paging.svg' width="20px" height="20px">
</button>
#end
#if($tools.sheetPagingExcel)
<button type="button" class="btn btn-default ureport-export-excel-paging-sheet" style="display:inline-block;padding:0;background:#f8f8f8;border:none;margin:3px" title="分页分Sheet导出EXCEL">
<img src='${contextPath}/ureport/res/ureport-asserts/icons/excel-with-paging-sheet.svg' width="20px" height="20px">
</button>
#end
#if($tools.paging)
<div class="btn-group">
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" style="background:#f8f8f8;border:none;color:#337ab7">
#if($pageIndex>0)
分页预览
#else
预览
#end
<span class="caret"></span>
</button>
<ul class="dropdown-menu" role="menu">
#if($hasTools)
<li><a href="${contextPath}/ureport/preview?_u=${file}&_t=${_t}&${customParameters}" style="color:#337ab7">预览</a></li>
#else
<li><a href="${contextPath}/ureport/preview?_u=${file}&${customParameters}" style="color:#337ab7">预览</a></li>
#end
#if($hasTools)
<li><a href="${contextPath}/ureport/preview?_u=${file}&_i=1&_t=${_t}&${customParameters}" style="color:#337ab7">分页预览</a></li>
#else
<li><a href="${contextPath}/ureport/preview?_u=${file}&_i=1&${customParameters}" style="color:#337ab7">分页预览</a></li>
#end
</ul>
</div>
#end
#if($pageIndex>0)
<span id='pagingContainer' style="font-size:14px;margin-left:1px;color:#337ab7">
<span id='totalPageLabel'>${totalPageWithCol}</span>
<select id="pageSelector" class="form-control" style="display:inline-block;width:inherit;font-size:13px;height:28px;margin-top:2px">
#foreach($index in [1..$totalPageWithCol])
<option>${index}</option>
#end
</select>
<span id='pageLinkContainer'></span>
</span>
#end
#if($isback)
<button type="button" class="btn btn-default ureport-back-btn" style="display:inline-block;padding:0;background:#f8f8f8;border:none;margin:3px;float: right" title="返回">
<img src='${contextPath}/ureport/res/ureport-asserts/icons/back.svg' width="22px" height="22px">
</button>
#end
</div>
</div>
#end
${downSearchFormHtml}
<div id="_ureport_table" style="float:${reportAlign}">
${content}
</div>
<iframe name="_print_frame" width="0" height="0" frameborder="0" src="about:blank"></iframe>
<iframe name="_print_pdf_frame" width="0" height="0" frameborder="0" src="about:blank"></iframe>
<script type="text/javascript">
window._server="${contextPath}/ureport";
window.formElements=[];
$(document).ready(function(){
buildPaging(${pageIndex},${totalPageWithCol});
#if($intervalRefreshValue>0)
_intervalRefresh($intervalRefreshValue,$totalPageWithCol);
#end
_buildChartDatas($chartDatas);
${searchFormJs}
function doSearch(){
submitSearchForm("${file}","${customParameters}");
}
function resetForm() {
$("#ureport_search_form input").val("");
$("#ureport_search_form select").val("").trigger("change");
}
});
</script>
</body>
</html>