first commit
This commit is contained in:
44
WebRoot/jsp/timeefficiency/patrolListReport.jsp
Normal file
44
WebRoot/jsp/timeefficiency/patrolListReport.jsp
Normal file
@ -0,0 +1,44 @@
|
||||
<%@ page language="java" pageEncoding="UTF-8"%>
|
||||
<style type="text/css">
|
||||
.select2-container .select2-selection--single{
|
||||
height:34px;
|
||||
line-height: 34px;
|
||||
}
|
||||
.select2-selection__arrow{
|
||||
margin-top:3px;
|
||||
}
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
var exportTestFun_pdf = function(id) {
|
||||
var bizId = $('#search_code').val();
|
||||
window.location.href = ext.contextPath + '/timeEfficiency/patrolPlan/exportTest.do?bizId='+bizId+'&type=${type}';
|
||||
/* $.post(ext.contextPath + '/timeEfficiency/patrolPlan/exportTest.do', {bizId:bizId,type:'${type}'} , function(data) {
|
||||
}); */
|
||||
};
|
||||
$(function() {
|
||||
$('#reportIframe').attr("src",ext.contextPath +"/timeEfficiency/patrolPlan/showReportTest.do?bizId=${param.bizId}&type=${param.type}");
|
||||
})
|
||||
</script>
|
||||
<div class="modal fade" id="subModal">
|
||||
<div class="modal-dialog modal-lg">
|
||||
<div class="modal-content ">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span></button>
|
||||
<h4 class="modal-title">计划报表</h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="btn-group">
|
||||
<button type="button" class="btn btn-default btn-sm" onclick="exportTestFun_pdf();"><i class="fa fa-file-pdf-o"></i> </button>
|
||||
<button type="button" class="btn btn-default btn-sm" onclick="exportTestFun_pdf();"><i class="fa fa-file-excel-o"></i> </button>
|
||||
</div>
|
||||
<iframe id='reportIframe' style="width:100%;height:440px" frameborder="0"></iframe>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.modal-content -->
|
||||
</div>
|
||||
<!-- /.modal-dialog -->
|
||||
</div>
|
||||
Reference in New Issue
Block a user