<!DOCTYPE html>
<html>
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:th="http://www.thymeleaf.org">
<head>
<script src="http://code.jquery.com/jquery-latest.js"></script>
<meta charset="utf-8">
<title></title>
<!-- <link rel="stylesheet" type="text/css" media="screen"
	href="css/login.css"> -->
<style type="text/css">
table {
	max-width: 100%;
	margin-bottom: 18px;
	background-color: transparent;
	border-collapse: collapse;
	border-spacing: 0;
	display: table;
}

.table-bordered, .table-bordered>tbody>tr>td, .table-bordered>tbody>tr>th,
	.table-bordered>tfoot>tr>td, .table-bordered>tfoot>tr>th,
	.table-bordered>thead>tr>td, .table-bordered>thead>tr>th {
	border: 1px solid #ddd;
}

tbody {
	display: table-row-group;
	vertical-align: middle;
	border-color: inherit;
}

.table-striped>tbody>tr:nth-of-type(odd) {
	background-color: #f9f9f9;
}

tr {
	display: table-row;
	vertical-align: inherit;
	border-color: inherit;
}

.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th,
	.table>thead>tr>td, .table>thead>tr>th {
	padding: 8px 10px;
}

table.table-bordered tbody td, table.table-bordered tbody th {
	border-left-width: 0;
	border-bottom-width: 0;
}

.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th,
	.table>thead>tr>td, .table>thead>tr>th {
	line-height: 1.42857143;
	vertical-align: top;
}

td {
	display: table-cell;
}
ul{list-style: none;}
    li{
        float: left;
    }
</style>
</head>
<body>
	<div class="modal-content" style="width: 85%; margin: 0 auto;">
		<div id="print" style="width: 100%; margin: 0 auto">
			<div style="width: 100%;">
				<span
					style="font-size: 25px; display: block; width: 100%; float: left; text-align: center"
					onclick="printCon()" class="ng-binding">中央储备粮新港直属库有限公司</span>
			</div>

			<hr style="height: 3px; border: none; border-top: 3px double #000;">
			<div style="width: 100%; margin-top: -25px;">
				<span style="font-style: italic; display: block; text-align: center; float: left; padding-top: 5px"
					class="ng-binding">高大平房仓  25号仓粮情检测历史记录列表</span> 
				<!-- <span style="font-style: italic; display: block; text-align: center; float: right; padding-top: 5px"
					class="ng-binding">检测时间：2019-08-14 09:59:43</span> -->
                <div style="width: 100%; margin-top: 25px; float: right;">
                    <a th:href="@{'/detection/water/reports/911202236794497949001001.html'}">折线图详情</a>
                </div>
			</div>



			<table class="table table-striped table-bordered table-hover"
				border="1" style="width: 100%; margin-top: 10px;">

			<table id="table_6" border="1" style="width: 100%; margin-top: 10px;">

				<thead style="width: 100%; border: 1px solid #000">
					<tr id="report_title">
						<th style="border: 1px solid #000; text-align: center;">序号</th>
						<th style="border: 1px solid #000; text-align: center;">仓房名称</th>
						<th style="border: 1px solid #000; text-align: center;">仓房编号</th>
						<th style="border: 1px solid #000; text-align: center;">所属库点编码</th>
						<th style="border: 1px solid #000; text-align: center;">设计仓容</th>
						<th style="border: 1px solid #000; text-align: center;">实际仓容</th>
						<th style="border: 1px solid #000; text-align: center;">检测时间</th>
						<th style="border: 1px solid #000; text-align: center;">操作</th>
					</tr>
					<tr th:each="history,stat:${historyVOs.list}">
						<td th:text="${stat.count}" align="center"></td>
						<td th:text="${history.cfmc}" align="center"></td>
						<td th:text="${history.cfbh}" align="center"></td>
						<td th:text="${history.kddm}" align="center"></td>
						<td th:text="${history.sjcr}" align="center"></td>
						<td th:text="${history.sjcr01}" align="center"></td>
						<td th:text="${#dates.format(history.createDate,'yyyy-MM-dd HH:mm')}" align="center"></td>
                        <td align="center"><a th:href="@{'/detection/water/report/'+${history.cfbh}+'.html?historyId='+${history.historyId}}">查看</a>
                        </td>
					</tr>
				</thead>
			</table>
                <form th:action="@{'/detection/water/history/911202236794497949001001.html'}">
                    <!--这里也不用写hidden id-->
                    时间查询: <input th:type="date" name = "time" th:id="time"/>
                    <button type="submit">提交</button>

                </form>
                <div>
                    <div class="clearfix">

                        <ul class="pagination m-b-5 pull-right">
                            <li th:if="${historyVOs.hasPreviousPage}"><a
                                    th:href="@{'/detection/water/history/911202236794497949001001.html?pageNum='+${historyVOs.prePage}}"
                                    aria-label="Previous"> <i class="fa fa-angle-left"></i>&nbsp;上一页
                            </a></li>

                            <th:block th:each="nav : ${historyVOs.navigatepageNums}">
                                <li th:class="${nav==historyVOs.pageNum}?'active':''">&nbsp;&nbsp;&nbsp;&nbsp;<a
                                        th:href="@{'/detection/water/history/911202236794497949001001.html?pageNum='+${nav}}"
                                        th:text="${nav}"></a></li>
                            </th:block>

                            <th:block th:if="${historyVOs.hasNextPage}">
                                <li><a
                                        th:href="@{'/detection/water/history/911202236794497949001001.html?pageNum='+${historyVOs.nextPage}}"
                                        aria-label="Next"> 下一页&nbsp;<i class="fa fa-angle-right"></i>
                                </a></li>
                            </th:block>

                            <li><span th:text="'共'+${historyVOs.pages}+'页'"></span></li>
                        </ul>
                    </div>
                </div>



			<div style="width: 100%; margin-top: -10px;">
				<!-- <span
					style="font-style: italic; display: block; text-align: center; color: red; float: left; padding-top: 20px">注:
					温度单位:(℃)</span> <span
					style="font-style: italic; display: block; text-align: center; color: red; float: left; padding-top: 20px">;
					湿度单位:(%RH)</span> <span style="color: red; float: left; padding-top: 20px">;
					标红数值表示不在合理范围或设备异常.</span> <span
					style="font-style: italic; display: block; text-align: center; float: right; padding-top: 20px"
					class="ng-binding">制表时间:2019-09-11 09:33:45</span> -->
			</div>
			<table class="table table-striped table-bordered table-hover">

			</table>
		</div>
	</div>
</body>
</html>
<script type="text/javascript">
	function printCon() {
		window.print();
	}

</script>
