P04_1.html 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta name="renderer" content="webkit">
  5. <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
  6. <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
  7. <meta http-equiv="pragma" content="no-cache">
  8. <meta http-equiv="Cache" content="no-cache">
  9. <meta http-equiv="cache-control" content="no-cache, must-revalidate">
  10. <meta http-equiv="expires" content="0">
  11. <meta name="viewport"
  12. content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
  13. <title>报警统计</title>
  14. <link rel="stylesheet" href="../css/index.css">
  15. <link rel="stylesheet" href="../css/style.css">
  16. <link rel="stylesheet" href="../css/iconfont.css">
  17. <script src="../js/vue.min.js"></script>
  18. <script src="../js/index.js"></script>
  19. <script src="../js/jquery.min.js"></script>
  20. <script type="text/javascript">
  21. document.write('<script src="../assets/init.js?id='+(new Date().getTime())+'" type="text/javascript" charset="utf-8"><\/script>');
  22. </script>
  23. <script>
  24. checkLogin();
  25. </script>
  26. <style type="text/css">
  27. * {
  28. padding: 0;
  29. margin: 0;
  30. box-sizing: border-box;
  31. }
  32. .yz_main{
  33. width: calc(100% - 160px);
  34. height: 100%;
  35. float: right;
  36. padding: 10px;
  37. }
  38. .yz_aside{
  39. width: 160px;
  40. height: 100%;
  41. float: left;
  42. color: #fff;
  43. background-color: #06162d;
  44. }
  45. .yz_aside li{
  46. cursor: pointer;
  47. padding: 7px 0;
  48. }
  49. li{
  50. list-style: none;
  51. }
  52. .warmli li{
  53. font-size: 14px;
  54. color: #94d1ff;
  55. padding: 7px 0 7px 33px;
  56. }
  57. .warmli li.act{
  58. color: #fff;
  59. background-color: #0081FF;
  60. }
  61. .el-pagination__jump,.el-pagination__total{
  62. color: #fff;
  63. }
  64. .Sense .el-input__inner{
  65. background-color: transparent;
  66. border: none;
  67. color: #fff;
  68. }
  69. .detailli{
  70. width:24%;
  71. margin: 0 0.5% 10px;
  72. color:#94d1ff;
  73. }
  74. .detailli i{
  75. margin-right: 4px;
  76. }
  77. @media screen and (max-width: 700px) {
  78. .detailli{
  79. width:100%;
  80. }
  81. }
  82. .el-image__error{
  83. color: #fff;
  84. background-color: #b1b1b1;
  85. }
  86. .el-dialog__body{
  87. padding: 0;
  88. }
  89. .el-dialog__header{
  90. padding: 5px 20px;
  91. }
  92. .el-dialog__title{
  93. font-size: 14px
  94. }
  95. .el-dialog__headerbtn{
  96. top: 10px;
  97. }
  98. .el-date-editor.el-input{
  99. width: 140px;
  100. }
  101. .mapInfo>div{
  102. display: flex;
  103. align-items: flex-start;
  104. color: #474747;
  105. margin-bottom: 4px;
  106. }
  107. .mapInfo>div>div:first-child{
  108. color:#0068ff;
  109. width: 50px;
  110. }
  111. .mapInfo>div>div:last-child{
  112. width:calc(100% - 50px);
  113. }
  114. </style>
  115. </head>
  116. <body>
  117. <div id="app" style="height:100vh;overflow: auto;">
  118. <div class="yz_aside warmli">
  119. <div v-for="(item,index) in warmLi" :key="index">
  120. <div style="color: #5793f3;" class="padding-sm yz_cursor" @click="changeShow(index)">
  121. <i class="text-lg iconfont" :class="!item.show?'icon-jia-xianxingfangkuang':'icon-jian-xianxingfangkuang'"></i>
  122. <span>{{item.label}}</span>
  123. </div>
  124. <ul v-if="item.show">
  125. <block v-for="(subit,subind) in item.children" :key="subind">
  126. <li :class="subit.type == ajaxType?'act':''" :data-type="subit.type"
  127. v-if="subit.show"
  128. @click="changType">{{subit.label}}</li>
  129. </block>
  130. </ul>
  131. </div>
  132. </div>
  133. <div class="yz_main">
  134. <div class="margin-bottom-sm">
  135. <el-date-picker
  136. class="Sense radius"
  137. v-model="starDay"
  138. type="date"
  139. value-format="yyyy-MM-dd"
  140. placeholder="开始时间">
  141. </el-date-picker>
  142. <el-date-picker
  143. class="Sense radius margin-lr-sm"
  144. v-model="endDay"
  145. type="date"
  146. value-format="yyyy-MM-dd"
  147. placeholder="结束时间">
  148. </el-date-picker>
  149. <el-button type="primary" size="small" @click="seachLi">查询</el-button>
  150. </div>
  151. <div style="height: calc(100% - 90px);overflow-y: auto;">
  152. <div v-if="dataLi.length" class="flex flex-wrap">
  153. <template v-for="(item,index) in dataLi" :key="index">
  154. <div class="detailli Sense">
  155. <div class="padding-xs yz_cursor" style="height:150px">
  156. <el-image :src="item.imageUrl | setImg(0)" :preview-src-list="item.imageUrl | setImg(1)" style="width: 100%;height: 100%;"></el-image>
  157. </div>
  158. <div class="flex justify-between padding-sm" style="font-size: 13px;">
  159. <div>
  160. <div><i class="el-icon-warning-outline"></i>{{item.msgTypeCn}}</div>
  161. <div class="margin-tb-sm"><i class="el-icon-location-outline"></i>{{item.channelAlias}}</div>
  162. <div><i class="el-icon-time"></i>{{item.createDate | setTime}}</div>
  163. </div>
  164. <div>
  165. <div>LV.{{item.msgLevel}}</div>
  166. <div class="margin-tb-sm yz_cursor" @click="seeVid(item.videoUrl);">
  167. <i class="el-icon-video-camera"></i>视频
  168. </div>
  169. </div>
  170. </div>
  171. </div>
  172. </template>
  173. </div>
  174. <div v-else class="flex align-center justify-center" style="height: 100%;">
  175. <img src="../img/nodata.png" alt="" style="width: 40%;">
  176. </div>
  177. </div>
  178. <div style="background-color: #06162d;" class="margin-tb-sm padding-xs">
  179. <el-pagination
  180. @current-change="handleCurrentChange"
  181. :current-page="curPage"
  182. background
  183. :page-size="12"
  184. layout="total, prev, pager, next, jumper"
  185. :total="allTotal">
  186. </el-pagination>
  187. </div>
  188. <el-dialog
  189. title="视频回放"
  190. top="20px"
  191. :visible.sync="dialogVisible"
  192. :before-close="handleClose"
  193. width="80%">
  194. <div v-html="vidSrc"></div>
  195. </el-dialog>
  196. <div id="mask_" v-show="mapVisible">
  197. <div style="width: 60%;" class="bg-white">
  198. <div class="padding-sm flex justify-between">
  199. <div>报警位置</div>
  200. <div class="el-icon-close text-lg yz_cursor" @click="handleClose"></div>
  201. </div>
  202. <div id="areaMap" style="width: 100%;height: 60vh;"></div>
  203. </div>
  204. </div>
  205. </div>
  206. </div>
  207. <script type="text/javascript">
  208. document.write('<script src="../assets/alarmMan.js?id='+(new Date().getTime())+'" type="text/javascript" charset="utf-8"><\/script>');
  209. </script>
  210. </body>
  211. </html>