<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="../bootstrap/css/bootstrap.css">
    <link rel="stylesheet" href="../bootstrap/css/bootstrap-datetimepicker.css">
    <link rel="stylesheet" href="../bootstrap/css/bootstrap-select.css">
    <link rel="stylesheet" href="../bootstrap/css/bootstrap-treeview.css">
    <link rel="stylesheet" href="../bootstrap/css/bootstrap-switch.min.css">
    <link rel="stylesheet" href="../css/sjcx.css">
    <link rel="stylesheet" href="../css/photoviewer.css">
    <!--<link rel="stylesheet" href="../css/viewer.min.css">-->
    <title>事件手动过滤</title>
</head>
<body>
<div id="page-sy">
    <div class="right-nav">
        <div class="tab-content content-sjfx">
            <div role="tabpanel" class="tab-pane active" id="sjcx">
                <div class="div-left">
                    <div class="div-xzml">
                        <!--<span class="xzxq">行政辖区</span>-->
                        <input type="text" class="form-control input-pub" placeholder="请输入点位 回车搜索" v-model="searchText"
                               style="width: calc(100% - 20px);margin-left: 10px;margin-bottom: 10px;" @keyup.enter="fastSearch">
                        <div class="div-xzml-div">
                            <img src="../img/sjcx/xzml.png">
                            <span>监控目录</span>
                        </div>
                        <div id="tree-xzxq" style="height: calc(100% - 80px);overflow-x: auto;float: left;width: 100%;"></div>
                    </div>
                    <div id="sjcx_s" class="div-right">
                        <div class="div-right-top">
                            <span class="pub-span">告警时间：</span>
                            <input type="text" class="form-control input-pub" id="kssj" style="width: 300px;" placeholder="请选择开始时间至结束时间">
                            <span class="pub-span">车辆类型</span>
                            <select class="form-control selectpicker" multiple v-model="cllx_select" id="cllxs">
                                <option v-for="(item,index) in arr_cllx" :value="item.id"
                                        v-text="item.value"></option>
                            </select>
                            <span class="pub-span" style="margin-left: 10px;">处理状态</span>
                            <select class="form-control selectpicker" multiple v-model="clzt_select">
                                <option value="0">未处理</option>
                                <option value="1">正检</option>
                                <option value="2">误检</option>
                                <option value="2">重复事件</option>
                            </select>
                            <span class="pub-span" style="margin-left: 10px;">自动刷新</span>
                            <input type="checkbox" id="push" @click="zdsx" style="width: 17px;height: 17px;margin-top: 16px;"/>
                            <span class="glyphicon glyphicon-th-list table-class"
                                  :style="{'color':!show?'#368ff3 !important':''}" @click="qh_tab(1)"></span>
                            <span class="glyphicon glyphicon-th table-class"
                                  :style="{'color':show?'#368ff3 !important':''}" @click="qh_tab(2)"></span>
                        </div>
                        <div>
                            <span style="float:left;line-height: 52px;margin-right: 10px;">事件类型：</span>
                            <ul class="nav nav-pills " role="tablist">
                                <li role="presentation" :class="['tab-pane',(index==num)?'active':'']"
                                    v-for="(item,index) in data_sjlxs" @click="change(item,index)">
                                    {{item.name}}
                                </li>
                            </ul>
                            <ul class="nav navbar-nav navbar-right admin more">
                                <li class="dropdown">
                                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true"
                                       aria-expanded="false"><span style="color: #368ff3;">更多</span></a>
                                    <ul class="dropdown-menu" style="min-width: 200px;">
                                        <li v-for="(item,index) in data_sjlxs1" @click="change_gd(item,index)" :class="['tab-pane',(index==num1)?'active':'']"><a v-text="item.name"></a></li>
                                    </ul>
                                </li>
                            </ul>
                            <span style="float: left;margin-left: 18px;line-height: 48px;color: #368ff3;" v-text="gd_span"></span>
                            <button type="button" class="btn btn-sm pub-btn" style="margin-left: 30px;" @click="getChange()">查询</button>
                        </div>
                        <div style="height:calc(100% - 164px);margin-top: 20px;" class="tables">
                            <ul class="div-ul div-pub-gt" v-if="show"  id="manualtable" >

                            </ul>
                            <table v-if="!show" class="table table-td">
                                <thead>
                                <tr style="background-color: rgb(228, 228, 228);">
                                    <td>告警类型</td>
                                    <td>告警时间</td>
                                    <td>通道名称</td>
                                    <td>辖区名称</td>
                                    <td>操作</td>
                                </tr>
                                </thead>
                                <tbody class="div-pub-gt">
                                <tr v-for="(item,index) in data_table_wfpz">
                                    <td v-text="item.recordname"></td>
                                    <td v-text="item.recordtime"></td>
                                    <td v-text="item.tdmc"></td>
                                    <td v-text="item.xzmc"></td>
                                    <td>
                                        <img src="../img/sjcx/lssp.png" style="width: 20px;" v-show="item.videopath==null?false:true">
                                        <button type="button" class="btn btn-sm pub-btn"
                                                @click="xq(item)" style="margin-left: 5px;margin-top: 0px;padding: 2px 7px;">详情
                                        </button>
                                    </td>
                                </tr>
                                </tbody>
                            </table>
                        </div>
                        <div class="div-right-buttom">
                            <div style="line-height: 64px;float: left;font-weight: 900;">
                                <span>共</span><span style="color: red;" v-text="count"></span><span>条</span>
                            </div>
                            <ul id="fy4" style="float: right;"></ul>
                            <div style="float: right;margin-top: 21px;margin-right: 30px;width: 111px;line-height: 36px;font-weight: 900;">
                                <span style="float: left;width: 34px;">每页</span>
                                <select class="form-control selectpicker" v-model="fy_select" style="width: 50px;padding: 0px 3px;float: left;"v-on:change="getChange()">
                                    <option>10</option>
                                    <option>20</option>
                                    <option>30</option>
                                    <option>40</option>
                                    <option>50</option>
                                </select>
                                <span style="float: left;margin-left: 8px;">条</span>
                            </div>
                        </div>
                        <div class="state_div" v-show="show_nums">
                            <button type="button" class="btn btn-sm btn1" id="all">全选</button>
                            <button type="button" class="btn btn-sm btn1" id="unall">取消</button>
                            <span v-text="'已选择'+state_arr.length+'项'"></span>
                            <button type="button" class="btn btn-sm btn2" @click="state_cli(3)">重复事件</button>
                            <button type="button" class="btn btn-sm btn3" @click="state_cli(2)">误检</button>
                            <button type="button" class="btn btn-sm btn4" @click="state_cli(1)">正检</button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<!--事件实时提醒弹出框-->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
    <div class="modal-dialog" role="document" style="width: 650px;">
        <div class="modal-content" style="color: #e6eaef;width: 650px;">
            <div class="modal-header" style="background-color: rgb(48, 53, 72);">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
                        aria-hidden="true" style="color: white;">&times;</span></button>
                <h6 class="modal-title">事件详细信息
                </h6>
            </div>
            <div class="modal-body">
                <div>
                    <div class="top-video">
                        <video id="my_video_1" class="video-js" controls preload="auto" width="480" height="280"
                               ref='video' v-show="show_s" style="object-fit: fill;width: 100%;height: 100%;" :src="video_src">
                        </video >
                        <img :src="img_src_s" v-show="!show_s" style="width: 100%;height: 100%;cursor: zoom-in;" data-gallery="manual">
                    </div>
                    <div class="pub-div" v-show="!show_s">
                        <div class="div-img" style="width: 100%;">
                            <img v-for="(item,index) in data_wfsp" :src="item.src" @click="click_img_bf(item.src)">
                        </div>
                    </div>
                    <div class="pub-div">
                        <button type="button" class="btn btn-sm" v-bind:class=class_s @click="sp_qh(1)">事件图片
                        </button>
                        <button type="button" class="btn btn-sm" v-bind:class=class_s1 @click="sp_qh(2)" v-show="data_sj.videopath==null?false:true">事件视频</button>
                    </div>
                    <div style="color: #5d5d5d;" class="pub-div">
                        <div class="gjlx">
                            <span v-text="data_sj.recordname"></span>
                        </div>
                        <div class="pub-div-span">
                            <span>报警时间：</span>
                            <span v-text="data_sj.recordtime"></span>
                        </div>
                        <div class="pub-div-span">
                            <span>辖区编号：</span>
                            <span v-text="data_sj.areaid"></span>
                        </div>
                        <div class="pub-div-span">
                            <span>辖区名称：</span>
                            <span v-text="data_sj.xzmc"></span>
                        </div>
                        <div class="pub-div-span">
                            <span>通道编号：</span>
                            <span v-text="data_sj.fdid+'_'+data_sj.channelid"></span>
                        </div>
                        <div class="pub-div-span">
                            <span>通道名称：</span>
                            <span v-text="data_sj.tdmc"></span>
                        </div>
                        <div class="pub-div-span">
                            <span>通道名称：</span>
                            <span v-text="data_sj.tdmc"></span>
                        </div>
                        <div class="pub-div-span">
                            <span>通道名称：</span>
                            <span v-text="data_sj.tdmc"></span>
                        </div>
                        <div class="pub-div-span">
                        <span @click="delete(item)">删除</span>
                        <span @click="send(item)">推送</span>
                        </div>
                    </div>
                </div>
            </div>
            <div class="modal-footer" style="border-top:none;">
                <button type="button" class="btn btn-sm" data-dismiss="modal" style="color: #2f2f2f;">关闭</button>
            </div>
        </div>
    </div>
</div>

</body>
<script src="../js/jquery-3.1.1.min.js"></script>
<!--<script src="../js/viewer.min.js"></script>-->
<script src="../js/util/photoviewer.js"></script>
<script src="../bootstrap/js/bootstrap.js"></script>
<script src="../bootstrap/js/bootstrap-paginator.js"></script>
<script src="../bootstrap/js/bootstrap-treeview.js"></script>
<script src="../bootstrap/js/bootstrap-select.js"></script>
<script src="../bootstrap/js/bootstrap-switch.min.js"></script>
<!--<script src="../bootstrap/js/bootstrap-datetimepicker.js"></script>-->
<!--<script src="../bootstrap/js/bootstrap-datetimepicker.zh-CN.js"></script>-->
<script src="../js/laydate/laydate.js"></script>
<script src="../js/vue.js"></script>
<script src="../js/util/http_util.js"></script>
<script src="../js/manualscreen/sjcx.js"></script>
<script src="../js/manualscreen/do.js"></script>

</html>