Merge branch 'develop' of https://git.mesalab.cn/K18_NTCS_WEB/NTC.git into develop
This commit is contained in:
@@ -12,8 +12,8 @@
|
|||||||
<script src="${ctxStatic }/global/plugins/tableExport-3.3.13/tableexport.js"></script>
|
<script src="${ctxStatic }/global/plugins/tableExport-3.3.13/tableexport.js"></script>
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
|
@page { size: landscape; }
|
||||||
</style>
|
</style>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
@@ -167,6 +167,9 @@
|
|||||||
<sys:message content="${message}" type="${messageType }" />
|
<sys:message content="${message}" type="${messageType }" />
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="pull-right">
|
<div class="pull-right">
|
||||||
|
<button type="button" class="btn btn-default" id="print-btn" >
|
||||||
|
<i class="fa fa-download"> <spring:message code="print" /></i>
|
||||||
|
</button>
|
||||||
<button type="button" class="btn btn-default" id="export-btn" >
|
<button type="button" class="btn btn-default" id="export-btn" >
|
||||||
<i class="fa fa-download"> <spring:message code="export" /></i>
|
<i class="fa fa-download"> <spring:message code="export" /></i>
|
||||||
</button>
|
</button>
|
||||||
@@ -301,6 +304,9 @@
|
|||||||
$("caption").remove();
|
$("caption").remove();
|
||||||
getPageData(1, 10);
|
getPageData(1, 10);
|
||||||
});
|
});
|
||||||
|
$("#print-btn").click(function() {
|
||||||
|
window.print();
|
||||||
|
});
|
||||||
/**
|
/**
|
||||||
* 获取本页数据
|
* 获取本页数据
|
||||||
* @param currentPage 当前页数 【初次查数据,默认第1页】
|
* @param currentPage 当前页数 【初次查数据,默认第1页】
|
||||||
|
|||||||
Reference in New Issue
Block a user