<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <title>稳态指标合格率</title>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport"
          content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
    <link rel="stylesheet" href="${ctx}/css/plugin/bootstrap/bootstrap.min.css">
    <link rel="stylesheet" href="${ctx}/css/plugin/datatables/datatables.bootstrap.css">
    <link rel="stylesheet" href="${ctx}/css/plugin/datatimepicker/bootstrap-datetimepicker.css">
    <link rel="stylesheet" href="${ctx}/css/plugin/ztree/zTreeStyle.css">
    <link rel="stylesheet" href="${ctx}/css/plugin/fontawesome/font-awesome.min.css">
    <link rel="stylesheet" href="${ctx}/css/basic.css">
    <link rel="stylesheet" href="${ctx}/css/plugin/basicButton.css">
    <link rel="stylesheet" href="${ctx}/css/tip.css">
    <style>
        html, body {
            background-color: #F9F9F9 !important;
            overflow: hidden;
        }

        ul {
            padding: 0 2px;
            border: 1px solid #696969;
            border-radius: 4px;
        }
        
        #area {
            background-color: #fff !important;
        }
    </style>
</head>
<body>
<div class="container-fluid">
    <div class="form-inline mt10">
        <div class="form-group has-feedback mr10">
            <label>区域：</label>
            <div class="disinlineb">
                <input id="area" class="form-control" style="width: 140px" readonly>
                <i class="fa fa-caret-down areaicon"></i>
                <i class="fa fa-caret-up treeUpIcon disnone"
                   style="color: #C9CBCE;position: absolute;left: 60px;font-size: 18px;z-index: 9999;top: 20px"></i>
                <div class=" ztree treeUpDiv disnone " id="areaTree"
                     style="position: absolute;width: 140px;height: 147px;border: 2px solid #C9CBCE;overflow: auto;top: 32px;background: #fff;z-index: 100;border-radius: 2px">
                </div>
            </div>
        </div>
        <div class="form-group">
            <%@include file="../../include/time.jsp" %>
            <button type="button" class="btn btn-primary " id="query">
                <i class="glyphicon glyphicon-search"></i>
            </button>
			<button id="helper" type="button" class="btn btn-primary tip tip-bottom" data-tip="合格率详解">
				<i class="glyphicon glyphicon-info-sign" style="margin-left: -3px;margin-right: -3px;"></i>
			</button>
        </div>
        <div class="form-group fr mr15">
            <span class='fr font12'><span class='info'><span class='inB bg-info smallBlock'></span> 合格率≥90%</span><span
                    class='warn'> <span class='inB bg-warn smallBlock'></span> 60%≤合格率<90% </span><span
                    class='error'> <span class='inB bg-error smallBlock'></span> 合格率<60%</span></span>
        </div>
    </div>
    <div class="row">
        <ul class="nav nav-pills nav-justified mt10" id="qualifiedTab">
            <li class="active"><a href="#steady" data-toggle="tab" id="allData">全部</a></li>
            <li><a href="#steady" data-toggle="tab" id="frequency">频率偏差</a></li>
            <li><a href="#steady" data-toggle="tab" id="flicker">闪变</a></li>
            <li><a href="#steady" data-toggle="tab" id="uBalance">三相电压不平衡度</a></li>
            <li><a href="#steady" data-toggle="tab" id="harmVoltage">谐波电压</a></li>
            <li><a href="#steady" data-toggle="tab" id="voltageDeviation">电压偏差</a></li>
            <li><a href="#steady" data-toggle="tab" id="harmElec">谐波电流</a></li>
            <li><a href="#steady" data-toggle="tab" id="iNeg">负序电流</a></li>
            <li><a href="#steady" data-toggle="tab" id="inUharm">间谐波电压含有率</a></li>
        </ul>
        <div class="tab-content">
            <div class="tab-pane active" id="steady">
                <%--区域模块--%>
                <div class="col-sm-12  single" id="areaDepts"></div>
                <%--电压等级、终端厂家模块--%>
                <div class="col-sm-6  single" id="voltage"></div>
                <div class="col-sm-6  single" id="loadType"></div>
                <div class="col-sm-12  allArea" id="table">
                    <table id="areaTable" class="table table-striped table-bordered dataTable no-footer">
                        <thead>
                        <tr>
                            <th>区域</th>
                            <th>频率偏差(%)</th>
                            <th>闪变(%)</th>
                            <th>三相电压不平衡度(%)</th>
                            <th>谐波电压(%)</th>
                            <th>电压偏差(%)</th>
                            <th>谐波电流(%)</th>
                            <th>负序电流(%)</th>
                            <th>间谐波电压含有率(%)</th>
                            <th>操作</th>
                        </tr>
                        </thead>
                    </table>
                </div>
                <div class="col-sm-12  allArea" id="allArea"></div>
                <div class="col-sm-6 singleArea none" id="singleTable">
                    <table id="singeleAreaTable" class="table table-striped table-bordered dataTable no-footer ">
                        <thead>
                        <tr>
                            <th>稳态指标</th>
                            <th>合格率(%)</th>
                        </tr>
                        </thead>
                    </table>
                </div>
                <div class="col-sm-6 singleArea none" id="singleArea"></div>
            </div>
        </div>
    </div>
</div>
<input type="hidden" id="startTime">
<input type="hidden" id="endTime">
<input type="hidden" id="gist">
<input type="hidden" id="type">
<script src="${ctx}/js/plugin/jquery/jquery.min.js"></script>
<script src="${ctx}/js/plugin/layui/layer.js"></script>
<script src="${ctx}/js/plugin/echarts/echarts.js"></script>
<script src="${ctx}/js/plugin/bootstrap/bootstrap.min.js"></script>
<script src="${ctx}/js/plugin/jquery/jquery.contextMenu.js"></script>
<script src="${ctx}/js/plugin/jquery/jquery.cleverTabs.js"></script>
<script src="${ctx}/js/plugin/datatables/datatables.jquery.js"></script>
<script src="${ctx}/js/plugin/datatables/datatables.bootstrap.js"></script>
<script src="${ctx}/js/plugin/bootstrap/bootstrap-datetimepicker.js"></script>
<script src="${ctx}/js/plugin/bootstrap/bootstrap-datetimepicker.zh-CN.js"></script>
<script src="${ctx}/jspJS/utils/loading.js"></script>
<script src="${ctx}/jspJS/utils/timeControl.js"></script>
<script src="${ctx}/js/color.js"></script>
<script src="${ctx}/js/plugin/ztree/jquery.ztree.core.js"></script>
<script src="${ctx}/js/area.js"></script>
<script src="${ctx}/jspJS/area/steadyCommon.js"></script>
<script src="${ctx}/jspJS/utils/judgeAjaxStatus.js"></script>
<script src="${ctx}/jspJS/utils/barUtil.js"></script>
<script src="${ctx}/js/basic.js"></script>
<script src="${ctx}/jspJS/utils/tableSort.js"></script>
<script src="${ctx}/jspJS/area/steady.js"></script>
<script src="${ctx}/jspJS/utils/helper.js"></script>
<script>
$("#helper").click(function (){
	toHelper("#wtzbhgl");
});
</script>
</body>
</html>
