<html xmlns:th="http://www.thymeleaf.org">
<head>
<title>私塾家</title>
<script th:include="sys/common/metaCSS" th:remove="tag"></script> 
<script th:include="sys/common/metaJS" th:remove="tag"></script> 
<script src="sys/js/My97DatePicker/WdatePicker.js" th:src="@{/static/sys/js/My97DatePicker/WdatePicker.js}"></script>
</head>
<style>
	.tablelink{margin-right:10px;}
	.stylecss{
	      color: red;
	}
	.select_width{
	     width: 220px;
	}
	.date_width{
	     width: 150px;
	}
</style>
<body>
<div class="place">
	<span>位置：</span>
	<ul class="placeul">
		<li><a href="#">销售管理</a></li>
		<li><a href="#">销售信息</a></li>
	</ul>
</div>
<div class="rightinfo">
	<form id="seachform" th:action="@{/sys/bookList/salseCountList.html}" method="post">
	  <input type="hidden" name="reportType" id="reportType" />
	<ul class="seachform">
			
			<li>
				<label>销售姓名</label>
				<input type="text" id="saleName" name="saleName" th:value="${search.get('saleName')}" class="scinput " placeholder="销售姓名">
			</li>
			
		<li>
			<input type="button" class="scbtn" value="查询" />
		</li>
		
		
		
	</ul>
	</form>
	<table class="tablelist">
		<thead>
		    <tr>
				<th style="width: 50px;">序号</th>
		    	<th>销售姓名</th>
		    	<th>销售性别</th>
		    	<th>销售电话</th>
		        <th>服务商户数</th>
		        <th>服务设备数</th>
		    </tr>
		</thead>
		<tbody>
			<tr th:each="item:${list}" >
					<td th:text="${itemStat.count}"></td>
					<td th:text="${item.get('sale_name')}"></td>
					<td  th:switch="${item.get('sex')}">
						<span th:case="0" >女</span>
						<span th:case="1" >男</span>
						<span th:case="2" >未知</span>
					</td>
					<td th:text="${item.get('telephone')}"></td>
				
					<td th:text="${item.get('salecount')}"></td>
					<td th:text="${item.get('mcount')}"></td>
			</tr>
		</tbody>
	</table>

	<!-- 分页 -->
	<div class="pagin">
    	<div class="message">共<i class="blue">[[${page.rowCnt}]]</i>条记录，当前显示第&nbsp;<i class="blue">[[${page.pageNo }]]&nbsp;</i>页</div>
    	<div th:utext='${listNavigatHtml}' th:remove="tag" ></div>
   	</div>
</div>
</body>
</html>