buildingCheck.vue 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270
  1. <template>
  2. <view>
  3. <!-- 筛选框start -->
  4. <view class="ding">
  5. <view class="cu-bar search bg-gray filter-section" style="with:50%;">
  6. <view class="search-form round bg-white" >
  7. <select name="" id="" placeholder="" style="width:98%;background-size: 4%;font-size:28rpx">
  8. <option value="">请选择建筑</option>
  9. <option value="">建筑1</option>
  10. <option value="">建筑2</option>
  11. </select>
  12. </view>
  13. </view>
  14. <view class="cu-bar search bg-gray filter-section">
  15. <calendar></calendar>
  16. <!-- <view class="search-form round bg-white" style="margin-bottom:26rpx">
  17. <input class="" @focus="InputFocus" v-model="siteName" @blur="InputBlur" :adjust-position="false" type="text"
  18. placeholder="请选择时间" confirm-type="search"></input>
  19. </view> -->
  20. <view class="action">
  21. <button class="cu-btn bg-blue round" @click="searchData()">查询</button>
  22. </view>
  23. </view>
  24. </view>
  25. <!-- 筛选框end -->
  26. <view class="processStatus bg-white margin-bottom-sm" style="margin-top:206rpx">
  27. <view class="info-tit margin-left-xs">
  28. <text class="cuIcon-titles margin-right-xs"></text>
  29. 安全分析
  30. </view>
  31. <view class="padding-lr padding-bottom-lg">
  32. <chart :bindData="this.staticData"></chart>
  33. </view>
  34. </view>
  35. <view class="basic-info bg-white margin-bottom-sm" >
  36. <view class="info-tit margin-left-xs">
  37. <text class="cuIcon-titles margin-right-xs"></text>
  38. 消防各子系统安装情况
  39. </view>
  40. <view class="info-content padding-lr padding-bottom">
  41. <table style="border:1px solid #ccc" cellspacing="0" cellpadding="0" align="center">
  42. <tr>
  43. <td>子系统安装情况</td>
  44. <td>报警数</td>
  45. <td>误报频率</td>
  46. </tr>
  47. <tr>
  48. <td>火灾自动报警系统 </td>
  49. <td>报警数量68,处理37</td>
  50. <td>12%</td>
  51. </tr>
  52. <tr>
  53. <td>电气火灾监控系统</td>
  54. <td>报警数量595,处理88</td>
  55. <td>0</td>
  56. </tr>
  57. <tr>
  58. <td>消防给水系统</td>
  59. <td>报警数量1414,处理1252 </td>
  60. <td>1% </td>
  61. </tr>
  62. <tr>
  63. <td>消火栓系统</td>
  64. <td>报警数量3020,处理387</td>
  65. <td> 15%</td>
  66. </tr>
  67. <tr>
  68. <td>自动喷水灭火系统</td>
  69. <td>报警数量36351,处理9</td>
  70. <td> 23%</td>
  71. </tr>
  72. <tr>
  73. <td>防排烟系统</td>
  74. <td>报警数量10,处理9</td>
  75. <td> 0</td>
  76. </tr>
  77. </table>
  78. </view>
  79. </view>
  80. <view class="processStatus bg-white margin-bottom-sm">
  81. <view class="info-tit margin-left-xs">
  82. <text class="cuIcon-titles margin-right-xs"></text>
  83. 告警频发点位统计分析
  84. </view>
  85. <view class="info-content padding-lr padding-bottom">
  86. <table style="border:1px solid #ccc" cellspacing="0" cellpadding="0" align="center">
  87. <tr>
  88. <td>子系统 </td>
  89. <td>报警点位 </td>
  90. <td>报警次数</td>
  91. </tr>
  92. <tr>
  93. <td rowspan="3">火灾自动报警系统</td>
  94. <td>一楼大厅门口 </td>
  95. <td>12</td>
  96. </tr>
  97. <tr>
  98. <td>二楼茶水间</td>
  99. <td>10</td>
  100. </tr>
  101. <tr>
  102. <td>厨房</td>
  103. <td>8</td>
  104. </tr>
  105. <tr>
  106. <td rowspan="3"> 电气火灾监控系统</td>
  107. <td> 二楼卫生间 </td>
  108. <td> 7</td>
  109. </tr>
  110. <tr>
  111. <td>二楼茶水间</td>
  112. <td>6</td>
  113. </tr>
  114. <tr>
  115. <td>三楼大厅</td>
  116. <td>5</td>
  117. </tr>
  118. <tr>
  119. <td>消防给水系统</td>
  120. <td>二楼接待室</td>
  121. <td>4</td>
  122. </tr>
  123. <tr>
  124. <td> 消火栓系统</td>
  125. <td> 三楼会议室</td>
  126. <td>3</td>
  127. </tr>
  128. <tr>
  129. <td> 自动喷水灭火系统</td>
  130. <td> 一楼大厅 </td>
  131. <td>2</td>
  132. </tr>
  133. <tr>
  134. <td rowspan="2">防排烟系统</td>
  135. <td>三楼档案室 </td>
  136. <td>1</td>
  137. </tr>
  138. <tr>
  139. <td>一楼展厅</td>
  140. <td>1</td>
  141. </tr>
  142. </table>
  143. </view>
  144. </view>
  145. <view class="processStatus bg-white margin-bottom-sm">
  146. <view class="info-tit margin-left-xs">
  147. <text class="cuIcon-titles margin-right-xs"></text>
  148. 存在问题或需要改进事项
  149. </view>
  150. <view class="padding-lr padding-bottom-lg" style="font-size:30rpx;text-indent:60rpx;line-height:1.7">
  151. <view>用户信息传输装置该类设备隐患极高或存在故障,建议尽早进行排查;</view>
  152. <view>水系统该类设备隐患极高或存在故障,建议尽早进行排查;</view>
  153. <view> 消防栓该类设备隐患极高或存在故障,建议尽早进行排查;</view>
  154. <view>液位该类设备隐患极高或存在故障,建议尽早进行排查;</view>
  155. <view>电气火灾该类设备隐患极高或存在故障,建议尽早进行排查;</view>
  156. <view> 视频监测该类设备隐患极高或存在故障,建议尽早进行排查;</view>
  157. <view> 电梯监测该类设备隐患极高或存在故障,建议尽早进行排查; </view>
  158. <view>可燃气体监测该类设备隐患极高或存在故障,建议尽早进行排查;</view>
  159. </view>
  160. </view>
  161. <view class="processStatus bg-white margin-bottom-sm">
  162. <view class="info-tit margin-left-xs">
  163. <text class="cuIcon-titles margin-right-xs"></text>
  164. 其他事宜
  165. </view>
  166. <view class="padding-lr padding-bottom-lg" style="font-size:30rpx;text-indent:60rpx;line-height:1.7">
  167. <view>目前数据反映:烟感该类设备通信情况较好,需要保持; </view>
  168. <view>目前数据反映:RTU该类设备通信情况较好,需要保持。</view>
  169. </view>
  170. </view>
  171. </view>
  172. </template>
  173. <script>
  174. // import json from '../../data/json.js';
  175. import chart from './components/chart/chart.vue';
  176. export default {
  177. components: {
  178. chart,
  179. },
  180. data() {
  181. return {
  182. // deviceOffLineData:json.deviceOffLineData,
  183. siteListRes: 0,
  184. siteName: '',
  185. type: '0',
  186. siteListData: [],
  187. modalName: null,
  188. listTouchStart: 0,
  189. listTouchDirection: null,
  190. CustomBar: this.CustomBar,
  191. staticData: {
  192. "msg": "\u64cd\u4f5c\u6210\u529f",
  193. "flag": true,
  194. "companyCode": "1,2,3,4,5,6,7,8,12,13,14,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39",
  195. "data": [{
  196. "statisticalPeriod": "2021-03-16~2021-04-16",
  197. "smartElectricityCount": "178",
  198. "videoMonitoringCount": "12456",
  199. "alarmCount": 12627,
  200. "eventCount": 2,
  201. "hiddenDangerCount": 4,
  202. "offlineCount": 20,
  203. "faultCount": 30,
  204. "earlyWarningCount": 100,
  205. "otherCount": 99,
  206. "normalCount": 66,
  207. "integratedAlarmCount": 12627,
  208. "unprocessedCount": 0
  209. }]
  210. }
  211. }
  212. },
  213. methods: {
  214. InputFocus(e) {
  215. this.InputBottom = e.detail.height
  216. },
  217. InputBlur(e) {
  218. this.InputBottom = 0
  219. },
  220. }
  221. }
  222. </script>
  223. <style lang="scss">
  224. page {
  225. background: #EDEDED;
  226. }
  227. /deep/ .leave_cont .ul .li{
  228. width:42%!important;
  229. }
  230. /deep/ .leave_cont .ul{
  231. background:#fff;
  232. }
  233. /deep/ .date{font-size:28rpx;}
  234. /deep/ .leave_cont{
  235. width:76%
  236. }
  237. </style>