<%@ page language="java" errorPage="/error.jsp" pageEncoding="UTF-8"
	contentType="text/html; charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE html>
<html>
<head>
<title>通行统计</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- bootstrap 3.0.2 -->

<link href="<c:url value='/scripts/lib/layui/layui.css'/>" rel="stylesheet" type="text/css" />
<link href="<c:url value='/styles/AdminLTE.css?2018-12-28'/>" rel="stylesheet" type="text/css" />
<link href="<c:url value='/styles/dataStatistic/visitorStatistic.css?2018-12-28'/>" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<c:url value='/scripts/lib/jquery-1.8.2.min.js'/>"></script>
<script type="text/javascript" src="<c:url value='/scripts/lib/layui/layui.js'/>"></script>
<script type="text/javascript" src="<c:url value='/scripts/lib/template-native.js'/>"></script>
<script type="text/javascript" src="<c:url value='/scripts/lib/echarts/echarts.common.min.js'/>"></script>
<script type="text/javascript" src="${ctx }/scripts/common/enlarge.js"></script>
<script type="text/javascript" src="${ctx }/scripts/admin/dataStatistic/visitorStatistic.js?2019-1-17"></script>
<script type="text/javascript" src="${ctx }/scripts/admin/cjqt.js?2019-1-17"></script>

</head>
<body>
	
	<input type="hidden" value="${ctx}" id="contextPath" />
	<div class="bread-wp">
			统计数据  > 通行统计
	</div>
	<div class="right-content">
		<div class="main-content-mode-wp clearfloat email-publish-wp ">
		<form:form  id="conditionform"  class="clearfloat">
	            <c:if test="${fn:length(orgs) > 1}">
		            <div class=" part-wp">
		              <span class="search-tips">校区</span>
		              <input class="default-select" name="orgId" id="orgId"  autocomplete="off"/>
		              <span class="select_wrap _hide"></span>
	              	</div>
	            </c:if>
	            <c:if test="${fn:length(orgs) == 1}">
	              <input type="hidden" name="orgId" id="orgId" value="${orgs[0].id}" org__id="${orgs[0].id}" class="single-orgid default-select">
	            </c:if>
			<div class="part-wp">
				<span class="search-tips">统计周期</span>
				<select class="default-select status" >
					<option value="1">年</option>
					<option value="2">季度</option>
					<option value="3">月</option>
					<option value="4">日</option>
				</select>
			</div>
			<div class=" part-wp">
              <span class="search-tips">统计时间</span>
              <input type="text" class="small-input beginTimeClass" id="beginTime_1" placeholder="年份" name="beginTime" readonly> 
              <div class="jidu_div _hide">
              	<input type="text" class="small-input beginTimeClass _hide" id="beginTime_2" placeholder="季度" name="beginTime" jidu__Data=‘’ autocomplete="off" readonly> 
              	<span class="jidu_wrap _hide">
              	
              	</span>
              </div>
              <input type="text" class="small-input beginTimeClass _hide" id="beginTime_3" placeholder="月份" name="beginTime" readonly> 
              <input type="text" class="small-input beginTimeClass _hide" id="beginTime_4" placeholder="开始时间" name="beginTime" readonly> 

              <span class="endTime_wrap _hide">
              	<span class="zhi">至</span>	
              	<input type="text" placeholder="结束时间"  name="endTime" class="small-input" id="endTime" readonly>
          		</span>
              
            </div>
			<button class="search-btn btn-red" type="button">查询</button>
			<button class="set-btn btn-white" type="button">重置</button>
	 		<c:if test="${fn:length(orgs) > 1}">
					<button class="btn-export-white export-wp export-btn" type="button" id="excelFile">导出 </button>
			</c:if>
			<c:if test="${fn:length(orgs) == 1}">
				<button class="btn-export-white export-wp export-wp-no" type="button" id="excelFile">导出 
				</button>
			</c:if>
		</form:form>
	 		
		 <div id='echarts_wrap'>
		 	<select class="default-select optionSelect">
		 			<option value="count">通行次数</option>
					<option value="userCount">员工通行次数</option>	
					<option value="visitorCount">访客通行次数</option>
					<option value="qrcodeCount">二维码通行次数</option>
					<option value="entityCardCount">实体卡通行次数</option>
			</select>
		 	 <div id="echarts">
		 	 </div>
		 </div>
	 	 <table class="layui-hide" id="LAY_table_user" lay-filter="user"></table>  
		</div>
	</div>
	<script type="text/html" id="indexTpl">
    {{d.LAY_TABLE_INDEX+1}}
	</script>
</body>
</html>