继续增加4张报表的打印功能
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
|
||||
<link rel="shortcut icon" href="<%=path%>/images/favicon.ico" type="image/x-icon" />
|
||||
<script type="text/javascript" src="<%=path %>/js/jquery-1.8.0.min.js"></script>
|
||||
<script type="text/javascript" src="<%=path %>/js/print/print.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="<%=path %>/js/easyui-1.3.5/themes/default/easyui.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="<%=path %>/js/easyui-1.3.5/themes/icon.css"/>
|
||||
<link type="text/css" rel="stylesheet" href="<%=path %>/css/common.css" />
|
||||
@@ -39,6 +40,8 @@
|
||||
<td> </td>
|
||||
<td>
|
||||
<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-search" id="searchBtn">查询</a>
|
||||
|
||||
<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-print" id="printBtn">打印</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -55,6 +58,7 @@
|
||||
{
|
||||
initTableData();
|
||||
ininPager();
|
||||
print();
|
||||
});
|
||||
|
||||
//初始化表格数据
|
||||
@@ -180,6 +184,12 @@
|
||||
}
|
||||
});
|
||||
}
|
||||
//报表打印
|
||||
function print() {
|
||||
$("#printBtn").off("click").on("click",function(){
|
||||
CreateFormPage('打印报表', $('#tableData'));
|
||||
});
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user