<%@ page language="java" import="java.util.*" pageEncoding="gbk"%>
<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=gbk" />
	<%@include file="../../../frame/assets/header-all.jsp"%>
	<link rel="stylesheet" href="../css/count.css">

	<script type="text/javascript" src="../../common/js/echarts/echarts.min.js"></script>
	<script type="text/javascript" src="../../common/js/echarts/EchartsBase.js"></script>
	<link rel="stylesheet" type="text/css" href="../../ptxztree/tree/css/zTreeStyle/zTreeStyle.css" />

	<script src="../../ptxztree/tree/js/jquery.ztree.all-3.5.min.js" type="text/javascript"></script>
	<script src="../../ptxztree/tree/js/jquery.ztree.exhide-3.5.min.js" type="text/javascript"></script>
	<script src="../../ptxztree/tree/bootstrap.min.js"></script>
	<script type="text/javascript" src="maintenancetimeliness.js"></script>

	<style type="text/css">
		.deviceAnalysisGraphChartBox{
			width:50%;
			height:90%;
		}
		#deviceAnalysisGraphChartBoxTime{
			position:absolute;
			right: 76px;
			top: -15px;
		}
		#deviceAnalysisGraphChartBoxTime li{
			float:left;
			margin: 0 1px;
			background-color:#e5e5e5;
			width:60px;
			height:24;
			text-align:center;
			line-height:24px;
			color:#aaaaaa;
			cursor:pointer;
		}
		#deviceAnalysisGraphChartBoxTime li.active{
			color:white;
			background-color:#61b760;

		}
		.searchGridStaticsSplitLine{
			position:absolute;
			width:1px;
			height:380px;
			top:10px;
			right:30px;
			background-color:#e5e5e5;
		}
		.jwTitle{
			font-size: 17px;
			font-weight: bold;
			text-align: center;
			padding:5px 5px;
			margin:5px 5px;
		}
		.jwTime{
			font-size: 15px;
			text-align: right;
			padding:5px 5px;
			margin:5px 5px;
		}
		#searchGridListDiv th,#searchGridListDiv td{
			height:30px;
			color: rgb(51, 51, 51);
			line-height: 18px;
			overflow: hidden;
			white-space: nowrap;
			text-overflow: ellipsis;
			text-align:center;
		}
		.form-line .text-content{
			width:120px;
		}
		.pagination > table{
			border-top:none !important;
		}
		.pagination-info{
			line-height:30px !important;
		}
		td{height: 30px;font-size:12px;}
	</style>
</head>
<!-- 设置高度,一行 44px,二行80,三行116-->
<body id="body" class="easyui-layout" >
<div class="easyui-layout" data-options="region:'west',split:true"  title='行政目录结构'  style="height: 100%; width: 200px;padding-left:5px; background: #fff; overflow-y: auto;overflow-x: hidden">
	<div class="form-line clearfix">
		<div class="fl" >
			<%--<span  style="margin-top: 8px;margin-bottom: 8px">设备类型：</span>--%>
			<input id="lb" class="easyui-combobox"/>
		</div>
		<div class="fl">
			<div style="margin-top: 8px;margin-bottom: 8px">设备名称：</div>
			<input id="LIKEfaultdevicename" class="easyui-textbox" data-options="required:false,validType:'length[0,40]'">
		</div>
		<div class="fl">
			<div style="margin-top: 8px;margin-bottom: 8px">创建时间(起)：</div>
			<input name="controlEndTime"   id="datetimeStart" type="text"  class="easyui-datebox" ">
		</div>
		<div class="fl">
			<div style="margin-top: 8px;margin-bottom: 8px">创建时间(止)：</div>
			<input name="controlEndTime"   id="datetimeEnd" type="text"  class="easyui-datebox">
		</div>
		<div class="fl" >
			<div style="margin-top: 8px;margin-bottom: 8px">维修最大时间跨度（天）：</div>
			<input type="text" id="range" class="easyui-numberbox" value="1" precision="0"  min="0"  max="366" data-options="min:0,precision:2">
		</div>

		<div class="fl" id="treediv">
			<div style="margin-top: 8px;margin-bottom: 8px">行政目录：</div>
			<ul id="xzTree"  class="ztree">
			</ul>
		</div>
	</div>
</div>
<div data-options="region:'center',split:false,border:false">
	<div class="datagrid-toolbar" style="border-top: 1px solid #ccc;">
		<table cellspacing="0" cellpadding="0">
			<tbody>
			<tr>
				<td>
					<a onclick="showList()" href="javascript:;" class="l-btn l-btn-small l-btn-plain" group="" id="">
		  							<span class="l-btn-left l-btn-icon-left">
		  								<span class="l-btn-text">统计列表</span>
		  								<span class="l-btn-icon icon-search">&nbsp;</span>
		  							</span>
					</a>
				</td>
				<td>
					<a onclick="showGraph()" href="javascript:;" class="l-btn l-btn-small l-btn-plain" group="" id="">
			  						<span class="l-btn-left l-btn-icon-left">
			  							<span class="l-btn-text">统计图</span>
			  							<span class="l-btn-icon icon-search">&nbsp;</span>
			  						</span>
					</a>
				</td>
				<td>
					<a onclick="doExport()" href="javascript:;" class="l-btn l-btn-small l-btn-plain" group="" id="">
		  							<span class="l-btn-left l-btn-icon-left">
		  								<span class="l-btn-text">导出</span>
		  								<span class="l-btn-icon icon-search">&nbsp;</span>
		  							</span>
					</a>
				</td>
				<td>
					<a onclick="showCompute('')" href="javascript:;" class="l-btn l-btn-small l-btn-plain" group="" id="">
			  						<span class="l-btn-left l-btn-icon-left">
			  							<span class="l-btn-text">计算公式</span>
			  							<span class="l-btn-icon icon-search">&nbsp;</span>
			  						</span>
					</a>
				</td>
			</tr>
			</tbody>
		</table>
		<table cellspacing="0" cellpadding="0" style="display:inline-block;height:26px;float:right;"><tbody><tr></tr></tbody></table>
	</div>
	<div style="height:430px;" id="searchGridPicDiv">
		<div id='searchGridGraph'  style="height:100%;width:100%;"></div>
	</div>
	<div style="height:100%;display:none;margin:0 auto;" id="searchGridListDiv" >
		<!-- <table id='searchGridList'></table>  -->
		<div style="height:90%;overflow-y: auto;width: 99%;">
			<!-- <div class="jwTitle" style=""><span>经纬度采集率统计</span></div>
            <div class="jwTime" style="">制表时间：<span id="timeTJ">2018-12-20 11:11:11</span></div> -->
			<div style="padding:5px 5px;margin:5px 5px;" id='' >
				<table  cellspacing="0"  width="100%"  cellpadding="0"  border="1"  align="center"  style="text-align:center;margin:0 auto;	border:1px solid #827d7d;font-size:12px;">
					<thead>
					<tr>
						<td colspan="8" style="font-size:14px;font-weight:bold;">及时维护率统计</td>
					</tr>
					<tr>
						<th >序号</th>
						<th >行政区划</th>
						<th >行政区划名称</th>
						<th >设备编号</th>
						<th >设备名称</th>
						<th >及时维护数</th>
						<th >未及时维护数</th>
						<th >及时维护率</th>
					</tr>
					</thead>
					<tbody id='searchGridList'>
					</tbody>
				</table>

			</div>
		</div>
		<div id="pp" style="background: rgb(249, 250, 249);margin:0 6px;"></div>
	</div>
</div>
<form action="" method="post" name="excelForm" id="excelForm" style="display: none;">
</form>

</body>
</html>	
