|
@@ -1,15 +1,53 @@
|
|
|
+<!DOCTYPE html>
|
|
|
+<html>
|
|
|
+<head>
|
|
|
+ <title>统计</title>
|
|
|
+ {include file="common/meta" /}
|
|
|
+</head>
|
|
|
+<style>
|
|
|
+ /* 默认情况下,屏幕上显示 */
|
|
|
+ .hide-on-print {
|
|
|
+ display: block;
|
|
|
+ text-align: right;
|
|
|
+ margin-bottom: 20px;
|
|
|
+ padding-top: 20px;
|
|
|
+ }
|
|
|
|
|
|
-<div class="panel panel-default panel-intro">
|
|
|
+ .table-bordered {
|
|
|
+ border: 1px solid #ddd;
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ .table-bordered > thead > tr > th, .table-bordered > tbody > tr > th, .table-bordered > tfoot > tr > th, .table-bordered > thead > tr > td, .table-bordered > tbody > tr > td, .table-bordered > tfoot > tr > td {
|
|
|
+ border: 1px solid #ddd;
|
|
|
+ text-align: center;
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ /* 打印时隐藏 */
|
|
|
+ @media print {
|
|
|
+ .hide-on-print {
|
|
|
+ display: none;
|
|
|
+ }
|
|
|
+ .form-horizontal {
|
|
|
+ display: none;
|
|
|
+ }
|
|
|
+ }
|
|
|
+</style>
|
|
|
+
|
|
|
+<body style="width: 760px;margin: 0 auto">
|
|
|
+
|
|
|
+ <div class="hide-on-print">
|
|
|
+ <button type="button" onclick="printPage()" class="btn btn-primary dropdown-toggle">打印</button>
|
|
|
+ <button type="button" onclick="printPage()" class="btn btn-primary dropdown-toggle">导出PDF</button>
|
|
|
+ </div>
|
|
|
|
|
|
<form method="POST" class="form-horizontal" action="">
|
|
|
- <div class="form-group">
|
|
|
- <div class="col-xs-12 col-sm-2">
|
|
|
+ <div class="form-group" style="margin: 0px;padding: 0px;margin-bottom: 15px;">
|
|
|
+ <div class="col-xs-10 col-sm-4" style="margin: 0px;padding: 0px;" >
|
|
|
<input type="text" class="form-control" name="choicedatetime" value="{$defaultdatetime}" placeholder="选择时间" id="choicedatetime" data-index="4" autocomplete="off">
|
|
|
</div>
|
|
|
- </div>
|
|
|
- <div class="form-group layer-footer">
|
|
|
- <label class="control-label col-xs-12 col-sm-2"></label>
|
|
|
- <div class="col-xs-12 col-sm-8">
|
|
|
+ <div class="col-xs-10 col-sm-2" >
|
|
|
<button type="submit" class="btn btn-success btn-embossed">{:__('OK')}</button>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -21,11 +59,11 @@
|
|
|
<td colspan="8">日期:{$defaultdatetime}</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
- <td rowspan="2" style="vertical-align: middle;text-align: center">序号</td>
|
|
|
- <td rowspan="2" style="vertical-align: middle;text-align: center">姓名</td>
|
|
|
- <td rowspan="2" style="vertical-align: middle;text-align: center">昵称</td>
|
|
|
- <td colspan="3" style="text-align: center">考试统计</td>
|
|
|
- <td colspan="2" style="text-align: center">培训统计</td>
|
|
|
+ <td rowspan="2" style="vertical-align: middle;">序号</td>
|
|
|
+ <td rowspan="2" style="vertical-align: middle;">姓名</td>
|
|
|
+ <td rowspan="2" style="vertical-align: middle;">昵称</td>
|
|
|
+ <td colspan="3" >考试统计</td>
|
|
|
+ <td colspan="2" >培训统计</td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td>应参加考试</td>
|
|
@@ -56,7 +94,6 @@
|
|
|
</table>
|
|
|
|
|
|
|
|
|
-</div>
|
|
|
|
|
|
<script src="/assets/laydate/laydate.js"></script>
|
|
|
<script>
|
|
@@ -66,4 +103,11 @@
|
|
|
//数组格式为 5.3.0 开始新增,之前版本直接配置 true 或任意分割字符即可
|
|
|
,range: ['#test-startDate-1', '#test-endDate-1']
|
|
|
});
|
|
|
-</script>
|
|
|
+ //打印ctrl+P
|
|
|
+ function printPage() {
|
|
|
+ window.print();
|
|
|
+ }
|
|
|
+</script>
|
|
|
+</body>
|
|
|
+</html>
|
|
|
+
|