123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta name="renderer" content="webkit">
- <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
- <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
- <meta http-equiv="pragma" content="no-cache">
- <meta http-equiv="Cache" content="no-cache">
- <meta http-equiv="cache-control" content="no-cache, must-revalidate">
- <meta http-equiv="expires" content="0">
- <meta name="viewport"
- content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
- <title>报警统计</title>
- <link rel="stylesheet" href="../css/index.css">
- <link rel="stylesheet" href="../css/style.css">
- <link rel="stylesheet" href="../css/iconfont.css">
- <script src="../js/vue.min.js"></script>
- <script src="../js/index.js"></script>
- <script src="../js/jquery.min.js"></script>
- <script type="text/javascript">
- document.write('<script src="../assets/init.js?id='+(new Date().getTime())+'" type="text/javascript" charset="utf-8"><\/script>');
- </script>
- <script>
- checkLogin();
- </script>
- <style type="text/css">
- * {
- padding: 0;
- margin: 0;
- box-sizing: border-box;
- }
- .yz_main{
- width: calc(100% - 160px);
- height: 100%;
- float: right;
- padding: 10px;
- }
- .yz_aside{
- width: 160px;
- height: 100%;
- float: left;
- color: #fff;
- background-color: #06162d;
- }
- .yz_aside li{
- cursor: pointer;
- padding: 7px 0;
- }
- li{
- list-style: none;
- }
- .warmli li{
- font-size: 14px;
- color: #94d1ff;
- padding: 7px 0 7px 33px;
- }
- .warmli li.act{
- color: #fff;
- background-color: #0081FF;
- }
- .el-pagination__jump,.el-pagination__total{
- color: #fff;
- }
-
- .Sense .el-input__inner{
- background-color: transparent;
- border: none;
- color: #fff;
- }
- .detailli{
- width:24%;
- margin: 0 0.5% 10px;
- color:#94d1ff;
- }
- .detailli i{
- margin-right: 4px;
- }
- @media screen and (max-width: 700px) {
- .detailli{
- width:100%;
- }
- }
- .el-image__error{
- color: #fff;
- background-color: #b1b1b1;
- }
- .el-dialog__body{
- padding: 0;
- }
- .el-dialog__header{
- padding: 5px 20px;
- }
- .el-dialog__title{
- font-size: 14px
- }
- .el-dialog__headerbtn{
- top: 10px;
- }
- .el-date-editor.el-input{
- width: 140px;
- }
- .mapInfo>div{
- display: flex;
- align-items: flex-start;
- color: #474747;
- margin-bottom: 4px;
- }
- .mapInfo>div>div:first-child{
- color:#0068ff;
- width: 50px;
- }
- .mapInfo>div>div:last-child{
- width:calc(100% - 50px);
- }
- </style>
- </head>
- <body>
- <div id="app" style="height:100vh;overflow: auto;">
- <div class="yz_aside warmli">
- <div v-for="(item,index) in warmLi" :key="index">
- <div style="color: #5793f3;" class="padding-sm yz_cursor" @click="changeShow(index)">
- <i class="text-lg iconfont" :class="!item.show?'icon-jia-xianxingfangkuang':'icon-jian-xianxingfangkuang'"></i>
- <span>{{item.label}}</span>
- </div>
- <ul v-if="item.show">
- <block v-for="(subit,subind) in item.children" :key="subind">
- <li :class="subit.type == ajaxType?'act':''" :data-type="subit.type"
- v-if="subit.show"
- @click="changType">{{subit.label}}</li>
- </block>
- </ul>
- </div>
- </div>
- <div class="yz_main">
- <div class="margin-bottom-sm">
- <el-date-picker
- class="Sense radius"
- v-model="starDay"
- type="date"
- value-format="yyyy-MM-dd"
- placeholder="开始时间">
- </el-date-picker>
- <el-date-picker
- class="Sense radius margin-lr-sm"
- v-model="endDay"
- type="date"
- value-format="yyyy-MM-dd"
- placeholder="结束时间">
- </el-date-picker>
- <el-button type="primary" size="small" @click="seachLi">查询</el-button>
- </div>
- <div style="height: calc(100% - 90px);overflow-y: auto;">
- <div v-if="dataLi.length" class="flex flex-wrap">
- <template v-for="(item,index) in dataLi" :key="index">
- <div class="detailli Sense">
- <div class="padding-xs yz_cursor" style="height:150px">
- <el-image :src="item.imageUrl | setImg(0)" :preview-src-list="item.imageUrl | setImg(1)" style="width: 100%;height: 100%;"></el-image>
- </div>
- <div class="flex justify-between padding-sm" style="font-size: 13px;">
- <div>
- <div><i class="el-icon-warning-outline"></i>{{item.msgTypeCn}}</div>
- <div class="margin-tb-sm"><i class="el-icon-location-outline"></i>{{item.channelAlias}}</div>
- <div><i class="el-icon-time"></i>{{item.createDate | setTime}}</div>
- </div>
- <div>
- <div>LV.{{item.msgLevel}}</div>
- <div class="margin-tb-sm yz_cursor" @click="seeVid(item.videoUrl);">
- <i class="el-icon-video-camera"></i>视频
- </div>
- </div>
- </div>
- </div>
- </template>
- </div>
- <div v-else class="flex align-center justify-center" style="height: 100%;">
- <img src="../img/nodata.png" alt="" style="width: 40%;">
- </div>
- </div>
- <div style="background-color: #06162d;" class="margin-tb-sm padding-xs">
- <el-pagination
- @current-change="handleCurrentChange"
- :current-page="curPage"
- background
- :page-size="12"
- layout="total, prev, pager, next, jumper"
- :total="allTotal">
- </el-pagination>
-
- </div>
- <el-dialog
- title="视频回放"
- top="20px"
- :visible.sync="dialogVisible"
- :before-close="handleClose"
- width="80%">
- <div v-html="vidSrc"></div>
- </el-dialog>
- <div id="mask_" v-show="mapVisible">
- <div style="width: 60%;" class="bg-white">
- <div class="padding-sm flex justify-between">
- <div>报警位置</div>
- <div class="el-icon-close text-lg yz_cursor" @click="handleClose"></div>
- </div>
- <div id="areaMap" style="width: 100%;height: 60vh;"></div>
- </div>
- </div>
- </div>
- </div>
- <script type="text/javascript">
- document.write('<script src="../assets/alarmMan.js?id='+(new Date().getTime())+'" type="text/javascript" charset="utf-8"><\/script>');
- </script>
- </body>
- </html>
|