<%--
  Created by IntelliJ IDEA.
  User: 徐扬
  Date: 2020/10/9
  Time: 19:00
--%>
<%@ 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/buttons.dataTables.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/basicButton.css">
    <link rel="stylesheet" href="${ctx}/css/plugin/bootstrapSwitch/bootstrap-switch.min.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">
    <style>
        .tr {
            text-align: center;
        }

        .td {
            text-align: center;
            height: 48px;
            line-height: 48px
        }

        #vdlist {
            min-width: 3000px;
        }

        .table > tbody > tr > td {
            padding: 3px;
            line-height: 1.42857143;
            vertical-align: top;
            border-top: 1px solid #ddd;
        }

        body {
            overflow: hidden;
        }

        .pagination > li > a, .pagination > li > span {
            position: relative;
            float: left;
            padding: 6px 12px;
            margin-left: -1px;
            line-height: 1.42857143;
            text-decoration: none;
            border: 1px solid #ddd;
        }

        @media screen and (max-width: 1400px) {
            #fliteData input {
                width: 150px;
            }
        }

        #area {
            background-color: #fff !important;
        }
        #allLineCheck {
            width: 18px;
            height: 18px;
            display: inline-block;
            text-align: center;
            vertical-align: middle;
            line-height: 18px;
            margin-right: 10px;
            position: relative;
            margin-top: 0px;
        }
    </style>
</head>
<body>
<div class="container-fluid">
    <div class="form-inline header mt10">
        <label class="form-group">区域：</label>
        <div class="form-group has-feedback">
            <div class="disinlineb">
                <input id="area" class="form-control" style="width: 120px" readonly>
                <i class="fa fa-caret-down areaicon"></i>
                <i class="fa fa-caret-up treeUpIcon disnone"
                   style="color: #C9CBCE;position: absolute;left: 20px;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 has-feedback mr10" >
            <label >电压等级：</label>
            <select class="width3 form-control" id="vollevel"></select>
        </div>
        <%@include file="../../include/time.jsp"%>
        <div class="form-group has-feedback ml10">
            <label>统计类型：</label>
            <input type="checkbox" checked class="checkbox"/>
        </div>
        <div class="form-group has-feedback ml10">
            <label style="margin-top: 3px">全部监测点：</label>
            <input type="checkbox" id="allLineCheck"/>
        </div>
        <button id="query" type="button" class="btn btn-primary ml5">
            <i class="glyphicon glyphicon-search"></i>
        </button>
        <div class="fr" id="exportSubTable" style="margin-top: 6px">
            <a class="dt-button buttons-html5"><i class='glyphicon glyphicon-share'></i><span>导出</span></a>
        </div>
        <div class="form-group fr mr10" id="fliteData">
            <input type="text" class="form-control" onkeyup="searchResult(this.value)" placeholder="筛选数据"
                   style="width: 130px;margin-top: 4px">
        </div>
    </div>
    <table id="vdlist" class="table table-striped table-bordered dataTable no-footer">
        <thead>
        <tr>
            <th style="line-height: 50px" rowspan="2">序号</th>
<%--            <th style="line-height: 50px" rowspan="2">省公司</th>--%>
            <th style="line-height: 50px" rowspan="2">地市公司</th>
            <th style="line-height: 50px" rowspan="2">电站名称</th>
            <th style="line-height: 50px" rowspan="2">电站电压等级</th>
            <th style="line-height: 50px" rowspan="2">在线监测点数量(个)</th>
            <th style="line-height: 50px" rowspan="2">告警监测点数量(个)</th>
            <th style="line-height: 50px" rowspan="2">告警次数</th>
            <th style="line-height: 50px" rowspan="2">告警频次(次/点)</th>
            <th colspan="8">各项稳态指标告警频次(次/点)</th>
            <th colspan="3">各项暂态指标告警频次(次/点)</th>
        </tr>
        <tr>
            <th>频率偏差</th>
            <th>电压偏差</th>
            <th>谐波电压</th>
            <th>谐波电流</th>
            <th>三相电压不平衡度</th>
            <th>闪变</th>
            <th>间谐波电压</th>
            <th>负序电流</th>
            <th>短时中断</th>
            <th>电压暂降</th>
            <th>电压暂升</th>
        </tr>
        </thead>
    </table>
</div>
</body>
<script src="${ctx}/js/plugin/jquery/jquery.min.js"></script>
<script src="${ctx}/js/plugin/bootstrap/bootstrap.min.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}/js/plugin/datatables/datatables.jquery.js"></script>
<script src="${ctx}/js/plugin/datatables/dataTables.buttons.min.js"></script>
<script src="${ctx}/js/plugin/datatables/datatables.bootstrap.js"></script>
<script src="${ctx}/js/plugin/datatables/buttons.html5.min.js"></script>
<script src="${ctx}/js/plugin/layui/layer.js"></script>
<script src="${ctx}/jspJS/utils/loading.js"></script>
<script src="${ctx}/jspJS/utils/timeControl.js"></script>
<script src="${ctx}/jspJS/utils/judgeAjaxStatus.js"></script>
<script src="${ctx}/js/plugin/bootstrapSwitch/bootstrap-switch.min.js"></script>
<script src="${ctx}/js/plugin/ztree/jquery.ztree.core.js"></script>
<script src="${ctx}/js/area.js"></script>
<script src="${ctx}/js/color.js"></script>
<script src="${ctx}/jspJS/area/warningsubstation.js"></script>
</html>

