|
@@ -2,30 +2,10 @@
|
|
<view>
|
|
<view>
|
|
|
|
|
|
<!-- 筛选框start -->
|
|
<!-- 筛选框start -->
|
|
- <view class="ding">
|
|
|
|
- <view class="cu-bar search bg-gray filter-section" style="with:50%;">
|
|
|
|
- <view class="search-form round bg-white">
|
|
|
|
- <select name="" id="" placeholder="" style="width:98%;background-size: 4%;font-size:28rpx">
|
|
|
|
- <option value="">请选择建筑</option>
|
|
|
|
- <option value="">建筑1</option>
|
|
|
|
- <option value="">建筑2</option>
|
|
|
|
- </select>
|
|
|
|
- </view>
|
|
|
|
- </view>
|
|
|
|
- <view class="cu-bar search bg-gray filter-section">
|
|
|
|
- <calendar></calendar>
|
|
|
|
- <!-- <view class="search-form round bg-white" style="margin-bottom:26rpx">
|
|
|
|
- <input class="" @focus="InputFocus" v-model="siteName" @blur="InputBlur" :adjust-position="false" type="text"
|
|
|
|
- placeholder="请选择时间" confirm-type="search"></input>
|
|
|
|
- </view> -->
|
|
|
|
- <view class="action">
|
|
|
|
- <button class="cu-btn bg-blue round" @click="searchData()">查询</button>
|
|
|
|
- </view>
|
|
|
|
- </view>
|
|
|
|
- </view>
|
|
|
|
|
|
+ <view style="line-height:100rpx;text-align:center">建筑名称:{{getDetailData.company_name}}</view>
|
|
<!-- 筛选框end -->
|
|
<!-- 筛选框end -->
|
|
|
|
|
|
- <view class="processStatus bg-white margin-bottom-sm" style="margin-top:206rpx">
|
|
|
|
|
|
+ <view class="processStatus bg-white margin-bottom-sm" style="">
|
|
<view class="info-tit margin-left-xs">
|
|
<view class="info-tit margin-left-xs">
|
|
<text class="cuIcon-titles margin-right-xs"></text>
|
|
<text class="cuIcon-titles margin-right-xs"></text>
|
|
安全分析
|
|
安全分析
|
|
@@ -48,106 +28,70 @@
|
|
<td>误报频率</td>
|
|
<td>误报频率</td>
|
|
</tr>
|
|
</tr>
|
|
<tr>
|
|
<tr>
|
|
- <td>火灾自动报警系统 </td>
|
|
|
|
- <td>报警数量68,处理37</td>
|
|
|
|
- <td>12%</td>
|
|
|
|
|
|
+ <td>用户信息传输装置 </td>
|
|
|
|
+ <td>报警数量{{this.getDetailData.count_yc}},处理{{this.getDetailData.count_ycl_yc}}</td>
|
|
|
|
+ <td>{{GetPercent(this.getDetailData.count_ycl_yc,this.getDetailData.count_yc)}}</td>
|
|
</tr>
|
|
</tr>
|
|
<tr>
|
|
<tr>
|
|
- <td>电气火灾监控系统</td>
|
|
|
|
- <td>报警数量595,处理88</td>
|
|
|
|
- <td>0</td>
|
|
|
|
|
|
+ <td>水系统</td>
|
|
|
|
+ <td>报警数量{{this.getDetailData.count_sj}},处理{{this.getDetailData.count_ycl_sj}}</td>
|
|
|
|
+ <td>{{GetPercent(this.getDetailData.count_ycl_sj,this.getDetailData.count_sj)}}</td>
|
|
</tr>
|
|
</tr>
|
|
<tr>
|
|
<tr>
|
|
- <td>消防给水系统</td>
|
|
|
|
- <td>报警数量1414,处理1252 </td>
|
|
|
|
- <td>1% </td>
|
|
|
|
|
|
+ <td>烟感</td>
|
|
|
|
+ <td>报警数量{{this.getDetailData.count_yg}},处理1{{this.getDetailData.count_ycl_yg}} </td>
|
|
|
|
+ <td>{{GetPercent(this.getDetailData.count_ycl_yg,this.getDetailData.count_yg)}} </td>
|
|
</tr>
|
|
</tr>
|
|
<tr>
|
|
<tr>
|
|
- <td>消火栓系统</td>
|
|
|
|
- <td>报警数量3020,处理387</td>
|
|
|
|
- <td> 15%</td>
|
|
|
|
|
|
+ <td>消防栓</td>
|
|
|
|
+ <td>报警数量{{this.getDetailData.count_xfs}},处理{{this.getDetailData.count_ycl_xfs}}</td>
|
|
|
|
+ <td>{{GetPercent(this.getDetailData.count_ycl_xfs,this.getDetailData.count_xfs)}} </td>
|
|
</tr>
|
|
</tr>
|
|
<tr>
|
|
<tr>
|
|
- <td>自动喷水灭火系统</td>
|
|
|
|
- <td>报警数量36351,处理9</td>
|
|
|
|
- <td> 23%</td>
|
|
|
|
|
|
+ <td>液位</td>
|
|
|
|
+ <td>报警数量{{this.getDetailData.count_yw}},处理{{this.getDetailData.count_ycl_yw}}</td>
|
|
|
|
+ <td>{{GetPercent(this.getDetailData.count_ycl_yw,this.getDetailData.count_yw)}} </td>
|
|
</tr>
|
|
</tr>
|
|
<tr>
|
|
<tr>
|
|
- <td>防排烟系统</td>
|
|
|
|
- <td>报警数量10,处理9</td>
|
|
|
|
- <td> 0</td>
|
|
|
|
|
|
+ <td>RTU</td>
|
|
|
|
+ <td>报警数量{{this.getDetailData.count_rtu}},处理{{this.getDetailData.count_ycl_rtu}}</td>
|
|
|
|
+ <td>{{GetPercent(this.getDetailData.count_ycl_rtu,this.getDetailData.count_rtu)}} </td>
|
|
</tr>
|
|
</tr>
|
|
- </table>
|
|
|
|
- </view>
|
|
|
|
- </view>
|
|
|
|
-
|
|
|
|
- <view class="processStatus bg-white margin-bottom-sm">
|
|
|
|
- <view class="info-tit margin-left-xs">
|
|
|
|
- <text class="cuIcon-titles margin-right-xs"></text>
|
|
|
|
- 告警频发点位统计分析
|
|
|
|
- </view>
|
|
|
|
- <view class="info-content padding-lr padding-bottom">
|
|
|
|
- <table style="border:1px solid #ccc" cellspacing="0" cellpadding="0" align="center">
|
|
|
|
<tr>
|
|
<tr>
|
|
- <td>子系统 </td>
|
|
|
|
- <td>报警点位 </td>
|
|
|
|
- <td>报警次数</td>
|
|
|
|
|
|
+ <td>电气火灾</td>
|
|
|
|
+ <td>报警数量{{this.getDetailData.count_dqhz}},处理{{this.getDetailData.count_ycl_dqhz}}</td>
|
|
|
|
+ <td>{{GetPercent(this.getDetailData.count_ycl_dqhz,this.getDetailData.count_dqhz)}} </td>
|
|
</tr>
|
|
</tr>
|
|
<tr>
|
|
<tr>
|
|
- <td rowspan="3">火灾自动报警系统</td>
|
|
|
|
- <td>一楼大厅门口 </td>
|
|
|
|
- <td>12</td>
|
|
|
|
|
|
+ <td>视频监测</td>
|
|
|
|
+ <td>报警数量{{this.getDetailData.count_spjc}},处理{{this.getDetailData.count_ycl_spjc}}</td>
|
|
|
|
+ <td>{{GetPercent(this.getDetailData.count_ycl_spjc,this.getDetailData.count_spjc)}} </td>
|
|
</tr>
|
|
</tr>
|
|
<tr>
|
|
<tr>
|
|
-
|
|
|
|
- <td>二楼茶水间</td>
|
|
|
|
- <td>10</td>
|
|
|
|
|
|
+ <td>电梯监测</td>
|
|
|
|
+ <td>报警数量{{this.getDetailData.count_dtjc}},处理{{this.getDetailData.count_ycl_dtjc}}</td>
|
|
|
|
+ <td>{{GetPercent(this.getDetailData.count_ycl_dtjc,this.getDetailData.count_dtjc)}} </td>
|
|
</tr>
|
|
</tr>
|
|
<tr>
|
|
<tr>
|
|
-
|
|
|
|
- <td>厨房</td>
|
|
|
|
- <td>8</td>
|
|
|
|
|
|
+ <td>井盖监测</td>
|
|
|
|
+ <td>报警数量{{this.getDetailData.count_jgjc}},处理{{this.getDetailData.count_ycl_jgjc}}</td>
|
|
|
|
+ <td>{{GetPercent(this.getDetailData.count_ycl_jgjc,this.getDetailData.count_jgjc)}} </td>
|
|
</tr>
|
|
</tr>
|
|
<tr>
|
|
<tr>
|
|
- <td rowspan="3"> 电气火灾监控系统</td>
|
|
|
|
- <td> 二楼卫生间 </td>
|
|
|
|
- <td> 7</td>
|
|
|
|
|
|
+ <td>地磁监测</td>
|
|
|
|
+ <td>报警数量{{this.getDetailData.count_dcjc}},处理{{this.getDetailData.count_ycl_dcjc}}</td>
|
|
|
|
+ <td>{{GetPercent(this.getDetailData.count_ycl_dcjc,this.getDetailData.count_dcjc)}} </td>
|
|
</tr>
|
|
</tr>
|
|
<tr>
|
|
<tr>
|
|
-
|
|
|
|
- <td>二楼茶水间</td>
|
|
|
|
- <td>6</td>
|
|
|
|
|
|
+ <td>门禁监测</td>
|
|
|
|
+ <td>报警数量{{this.getDetailData.count_mcjc}},处理{{this.getDetailData.count_ycl_mcjc}}</td>
|
|
|
|
+ <td>{{GetPercent(this.getDetailData.count_ycl_mcjc,this.getDetailData.count_mcjc)}} </td>
|
|
</tr>
|
|
</tr>
|
|
<tr>
|
|
<tr>
|
|
- <td>三楼大厅</td>
|
|
|
|
- <td>5</td>
|
|
|
|
|
|
+ <td>可燃气体监测</td>
|
|
|
|
+ <td>报警数量{{this.getDetailData.count_krqt}},处理{{this.getDetailData.count_ycl_krqt}}</td>
|
|
|
|
+ <td>{{GetPercent(this.getDetailData.count_ycl_krqt,this.getDetailData.count_krqt)}} </td>
|
|
</tr>
|
|
</tr>
|
|
-
|
|
|
|
- <tr>
|
|
|
|
- <td>消防给水系统</td>
|
|
|
|
- <td>二楼接待室</td>
|
|
|
|
- <td>4</td>
|
|
|
|
- </tr>
|
|
|
|
- <tr>
|
|
|
|
- <td> 消火栓系统</td>
|
|
|
|
- <td> 三楼会议室</td>
|
|
|
|
- <td>3</td>
|
|
|
|
- </tr>
|
|
|
|
- <tr>
|
|
|
|
- <td> 自动喷水灭火系统</td>
|
|
|
|
- <td> 一楼大厅 </td>
|
|
|
|
- <td>2</td>
|
|
|
|
- </tr>
|
|
|
|
- <tr>
|
|
|
|
- <td rowspan="2">防排烟系统</td>
|
|
|
|
- <td>三楼档案室 </td>
|
|
|
|
- <td>1</td>
|
|
|
|
- </tr>
|
|
|
|
- <tr>
|
|
|
|
- <td>一楼展厅</td>
|
|
|
|
- <td>1</td>
|
|
|
|
- </tr>
|
|
|
|
-
|
|
|
|
</table>
|
|
</table>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
@@ -159,14 +103,19 @@
|
|
存在问题或需要改进事项
|
|
存在问题或需要改进事项
|
|
</view>
|
|
</view>
|
|
<view class="padding-lr padding-bottom-lg" style="font-size:30rpx;text-indent:60rpx;line-height:1.7">
|
|
<view class="padding-lr padding-bottom-lg" style="font-size:30rpx;text-indent:60rpx;line-height:1.7">
|
|
- <view>用户信息传输装置该类设备隐患极高或存在故障,建议尽早进行排查;</view>
|
|
|
|
- <view>水系统该类设备隐患极高或存在故障,建议尽早进行排查;</view>
|
|
|
|
- <view> 消防栓该类设备隐患极高或存在故障,建议尽早进行排查;</view>
|
|
|
|
- <view>液位该类设备隐患极高或存在故障,建议尽早进行排查;</view>
|
|
|
|
- <view>电气火灾该类设备隐患极高或存在故障,建议尽早进行排查;</view>
|
|
|
|
- <view> 视频监测该类设备隐患极高或存在故障,建议尽早进行排查;</view>
|
|
|
|
- <view> 电梯监测该类设备隐患极高或存在故障,建议尽早进行排查; </view>
|
|
|
|
- <view>可燃气体监测该类设备隐患极高或存在故障,建议尽早进行排查;</view>
|
|
|
|
|
|
+ <view v-if="this.getDetailData.state_yc==1">用户信息传输装置该类设备隐患极高或存在故障,建议尽早进行排查;</view>
|
|
|
|
+ <view v-if="this.getDetailData.state_sj==1">水系统该类设备隐患极高或存在故障,建议尽早进行排查;</view>
|
|
|
|
+ <view v-if="this.getDetailData.state_yg==1"> 烟感栓该类设备隐患极高或存在故障,建议尽早进行排查;</view>
|
|
|
|
+ <view v-if="this.getDetailData.state_xfs==1"> 消防栓该类设备隐患极高或存在故障,建议尽早进行排查;</view>
|
|
|
|
+ <view v-if="this.getDetailData.state_yw==1">液位该类设备隐患极高或存在故障,建议尽早进行排查;</view>
|
|
|
|
+ <view v-if="this.getDetailData.state_rtu==1">RTU该类设备隐患极高或存在故障,建议尽早进行排查;</view>
|
|
|
|
+ <view v-if="this.getDetailData.state_dqhz==1">电气火灾该类设备隐患极高或存在故障,建议尽早进行排查;</view>
|
|
|
|
+ <view v-if="this.getDetailData.state_spjc==1"> 视频监测该类设备隐患极高或存在故障,建议尽早进行排查;</view>
|
|
|
|
+ <view v-if="this.getDetailData.state_dtjc==1"> 电梯监测该类设备隐患极高或存在故障,建议尽早进行排查; </view>
|
|
|
|
+ <view v-if="this.getDetailData.state_dcjc==1">地磁监测该类设备隐患极高或存在故障,建议尽早进行排查;</view>
|
|
|
|
+ <view v-if="this.getDetailData.state_mcjc ==1">门禁监测该类设备隐患极高或存在故障,建议尽早进行排查;</view>
|
|
|
|
+ <view v-if="this.getDetailData.state_krqt==1">可燃气体监测该类设备隐患极高或存在故障,建议尽早进行排查;</view>
|
|
|
|
+
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
|
|
@@ -176,8 +125,20 @@
|
|
其他事宜
|
|
其他事宜
|
|
</view>
|
|
</view>
|
|
<view class="padding-lr padding-bottom-lg" style="font-size:30rpx;text-indent:60rpx;line-height:1.7">
|
|
<view class="padding-lr padding-bottom-lg" style="font-size:30rpx;text-indent:60rpx;line-height:1.7">
|
|
- <view>目前数据反映:烟感该类设备通信情况较好,需要保持; </view>
|
|
|
|
- <view>目前数据反映:RTU该类设备通信情况较好,需要保持。</view>
|
|
|
|
|
|
+
|
|
|
|
+ <view v-if="this.getDetailData.state_yc==0">目前数据反映:用户信息传输装置该类设备通信情况较好,需要保持;</view>
|
|
|
|
+ <view v-if="this.getDetailData.state_sj==0">目前数据反映:水系统该类设备通信情况较好,需要保持;</view>
|
|
|
|
+ <view v-if="this.getDetailData.state_yg==0">目前数据反映: 烟感栓该类设备通信情况较好,需要保持;</view>
|
|
|
|
+ <view v-if="this.getDetailData.state_xfs==0">目前数据反映: 消防栓该类设备通信情况较好,需要保持;</view>
|
|
|
|
+ <view v-if="this.getDetailData.state_yw==0">目前数据反映:液位该类设备通信情况较好,需要保持;</view>
|
|
|
|
+ <view v-if="this.getDetailData.state_rtu==0">目前数据反映:RTU该类设备通信情况较好,需要保持;</view>
|
|
|
|
+ <view v-if="this.getDetailData.state_dqhz==0">目前数据反映:电气火灾该类设备通信情况较好,需要保持;</view>
|
|
|
|
+ <view v-if="this.getDetailData.state_spjc==0">目前数据反映: 视频监测该类设备通信情况较好,需要保持;</view>
|
|
|
|
+ <view v-if="this.getDetailData.state_dtjc==0">目前数据反映: 电梯监测该类设备通信情况较好,需要保持; </view>
|
|
|
|
+ <view v-if="this.getDetailData.state_dcjc==0">目前数据反映:地磁监测该类设备通信情况较好,需要保持;</view>
|
|
|
|
+ <view v-if="this.getDetailData.state_mcjc ==0">目前数据反映:门禁监测该类设备通信情况较好,需要保持;</view>
|
|
|
|
+ <view v-if="this.getDetailData.state_krqt==0">目前数据反映:可燃气体监测该类设备通信情况较好,需要保持;</view>
|
|
|
|
+
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
|
|
@@ -236,6 +197,20 @@
|
|
},
|
|
},
|
|
|
|
|
|
methods: {
|
|
methods: {
|
|
|
|
+
|
|
|
|
+ GetPercent(num, total) {
|
|
|
|
+ /// <summary>
|
|
|
|
+ /// 求百分比
|
|
|
|
+ /// </summary>
|
|
|
|
+ /// <param name="num">当前数</param>
|
|
|
|
+ /// <param name="total">总数</param>
|
|
|
|
+ num = parseFloat(num);
|
|
|
|
+ total = parseFloat(total);
|
|
|
|
+ if (isNaN(num) || isNaN(total)) {
|
|
|
|
+ return "-";
|
|
|
|
+ }
|
|
|
|
+ return total <= 0 ? "0%" : (Math.round(num / total * 10000) / 100.00)+"%";
|
|
|
|
+ },
|
|
// 建筑体检数据请求
|
|
// 建筑体检数据请求
|
|
async getDetails(params = {}) {
|
|
async getDetails(params = {}) {
|
|
const res = await this.$myRequest({
|
|
const res = await this.$myRequest({
|