pages-analyse-buildingCheck-buildingCheck.f5da34a9.js 16 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-analyse-buildingCheck-buildingCheck"],{"00d4":function(t,e,a){"use strict";a.r(e);var i=a("444a"),n=a.n(i);for(var s in i)"default"!==s&&function(t){a.d(e,t,(function(){return i[t]}))}(s);e["default"]=n.a},"1e7e":function(t,e,a){"use strict";a.r(e);var i=a("5fe3"),n=a.n(i);for(var s in i)"default"!==s&&function(t){a.d(e,t,(function(){return i[t]}))}(s);e["default"]=n.a},"39b7":function(t,e,a){"use strict";var i;a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return s})),a.d(e,"a",(function(){return i}));var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"content"},[a("v-uni-view",{staticClass:"echarts",attrs:{"change:prop":t.echarts.updateEcharts,id:"echarts2"},on:{click:function(e){e=t.$handleWxsEvent(e),t.echarts.onClick(e,t.$getComponentDescriptor())}}})],1)},s=[]},"444a":function(t,e,a){"use strict";var i=a("4ea4");a("acd8"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("96cf");var n=i(a("1da1")),s=i(a("c260")),c={components:{chart:s.default},data:function(){return{getDetailData:{},siteListRes:0,siteName:"",type:"0",siteListData:[],modalName:null,listTouchStart:0,listTouchDirection:null,CustomBar:this.CustomBar,staticData:{msg:"操作成功",flag:!0,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",data:[{statisticalPeriod:"2021-03-16~2021-04-16",smartElectricityCount:"178",videoMonitoringCount:"12456",alarmCount:12627,eventCount:2,hiddenDangerCount:4,offlineCount:20,faultCount:30,earlyWarningCount:100,otherCount:99,normalCount:66,integratedAlarmCount:12627,unprocessedCount:0}]}}},onLoad:function(t){this.getDetails({company_code:uni.getStorageSync("selectedCode")})},methods:{GetPercent:function(t,e){return t=parseFloat(t),e=parseFloat(e),isNaN(t)||isNaN(e)?"-":e<=0?"0%":Math.round(t/e*1e4)/100+"%"},getDetails:function(){var t=arguments,e=this;return(0,n.default)(regeneratorRuntime.mark((function a(){var i,n;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return i=t.length>0&&void 0!==t[0]?t[0]:{},a.next=3,e.$myRequest({url:"PhysicalExamination/getPhysicalExamination",data:i,showLoading:!0});case 3:n=a.sent,e.getDetailData=n.data.data[0];case 5:case"end":return a.stop()}}),a)})))()},InputFocus:function(t){this.InputBottom=t.detail.height},InputBlur:function(t){this.InputBottom=0}}};e.default=c},"46f4":function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */uni-page-body[data-v-6364b69d]{background:#ededed}[data-v-6364b69d] .leave_cont .ul .li{width:42%!important}[data-v-6364b69d] .leave_cont .ul{background:#fff}[data-v-6364b69d] .date{font-size:%?28?%}[data-v-6364b69d] .leave_cont{width:76%}body.?%PAGE?%[data-v-6364b69d]{background:#ededed}',""]),t.exports=e},4983:function(t,e,a){"use strict";a.r(e);var i=a("655f"),n=a.n(i);for(var s in i)"default"!==s&&function(t){a.d(e,t,(function(){return i[t]}))}(s);e["default"]=n.a},"5a5e":function(t,e,a){"use strict";var i=a("cb34"),n=a.n(i);n.a},"5fe3":function(t,e,a){"use strict";var i;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={mounted:function(){if("function"===typeof window.echarts)this.initEcharts();else{var t=document.createElement("script");t.src="static/echarts.min.js",t.onload=this.initEcharts.bind(this),document.head.appendChild(t)}},methods:{initEcharts:function(){i=echarts.init(document.getElementById("echarts2")),i.setOption(this.option)},updateEcharts:function(t,e,a,n){i.setOption(t)},onClick:function(t,e){e.callMethod("onViewClick",{test:"test"})}}};e.default=n},"655f":function(t,e,a){"use strict";(function(t){var i=a("4ea4");a("4160"),a("a434"),a("159b"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i(a("ade3")),s="安全评分",c={props:{bindData:{type:Object,default:""}},data:function(){var t;return{option:(t={color:["#00B7FC","#935AF9","#FF5354","#FF8758","#FFCF34","#00E9CD","#00B7FC"],title:{left:"center"},tooltip:{trigger:"item",formatter:"{b}: {c} "}},(0,n.default)(t,"title",[{text:"{val|"+this.bindData.score+"}\n{name|"+s+"}",top:"45%",left:"center",textStyle:{rich:{name:{fontSize:14,fontWeight:"normal",color:"#666666",padding:[5,0]},val:{fontSize:24,color:"#333333"}}}}]),(0,n.default)(t,"legend",{show:!1,orient:"horizontal",icon:"circle",itemWidth:12,itemHeight:12,itemGap:60,textStyle:{fontSize:14,rich:{name:{fontSize:18},value:{fontSize:14,padding:[0,20,0,5]}}}}),(0,n.default)(t,"series",[{name:"访问来源",type:"pie",radius:["40%","60%"],center:["50%","55%"],itemStyle:{normal:{}},data:[{name:"RTU",value:this.bindData.count_rtu},{name:"电气火灾",value:this.bindData.count_dqhz},{name:"视频监测",value:this.bindData.count_spjc},{name:"水系统",value:this.bindData.count_sj},{name:"烟感",value:this.bindData.count_yg},{name:"消防栓",value:this.bindData.count_xfs},{name:"液位",value:this.bindData.count_rtu}],labelLine:{normal:{length:10,length2:20}},label:{normal:{formatter:"{b}:\n{d}%"}}}]),t)}},onLoad:function(){},methods:{changeOption:function(){var t=this.option.series[0].data;t.forEach((function(e,a){t.splice(a,1,40*Math.random())}))},onViewClick:function(e){t.log(e)}}};e.default=c}).call(this,a("5a52")["default"])},"9ac7":function(t,e,a){"use strict";a.r(e);var i=a("bc8f"),n=a("00d4");for(var s in n)"default"!==s&&function(t){a.d(e,t,(function(){return n[t]}))}(s);a("fc85");var c,o=a("f0c5"),r=Object(o["a"])(n["default"],i["b"],i["c"],!1,null,"6364b69d",null,!1,i["a"],c);e["default"]=r.exports},b95e:function(t,e,a){var i=a("46f4");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("52a89f8b",i,!0,{sourceMap:!1,shadowMode:!1})},bc8f:function(t,e,a){"use strict";var i;a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return s})),a.d(e,"a",(function(){return i}));var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",[a("v-uni-view",{staticStyle:{"line-height":"100rpx","text-align":"center"}},[t._v("建筑名称:"+t._s(t.getDetailData.company_name))]),a("v-uni-view",{staticClass:"processStatus bg-white margin-bottom-sm"},[a("v-uni-view",{staticClass:"info-tit margin-left-xs"},[a("v-uni-text",{staticClass:"cuIcon-titles margin-right-xs"}),t._v("安全分析")],1),a("v-uni-view",{staticClass:"padding-lr padding-bottom-lg",staticStyle:{"min-height":"500rpx"}},[this.getDetailData.address?a("chart",{attrs:{bindData:this.getDetailData}}):t._e()],1)],1),a("v-uni-view",{staticClass:"basic-info bg-white margin-bottom-sm"},[a("v-uni-view",{staticClass:"info-tit margin-left-xs"},[a("v-uni-text",{staticClass:"cuIcon-titles margin-right-xs"}),t._v("消防各子系统安装情况")],1),a("v-uni-view",{staticClass:"info-content padding-lr padding-bottom"},[a("table",{staticStyle:{border:"1px solid #ccc"},attrs:{cellspacing:"0",cellpadding:"0",align:"center"}},[a("tr",[a("td",[t._v("子系统安装情况")]),a("td",[t._v("报警数")]),a("td",[t._v("误报频率")])]),a("tr",[a("td",[t._v("用户信息传输装置")]),a("td",[t._v("报警数量"+t._s(this.getDetailData.count_yc)+",处理"+t._s(this.getDetailData.count_ycl_yc))]),a("td",[t._v(t._s(t.GetPercent(this.getDetailData.count_ycl_yc,this.getDetailData.count_yc)))])]),a("tr",[a("td",[t._v("水系统")]),a("td",[t._v("报警数量"+t._s(this.getDetailData.count_sj)+",处理"+t._s(this.getDetailData.count_ycl_sj))]),a("td",[t._v(t._s(t.GetPercent(this.getDetailData.count_ycl_sj,this.getDetailData.count_sj)))])]),a("tr",[a("td",[t._v("烟感")]),a("td",[t._v("报警数量"+t._s(this.getDetailData.count_yg)+",处理1"+t._s(this.getDetailData.count_ycl_yg))]),a("td",[t._v(t._s(t.GetPercent(this.getDetailData.count_ycl_yg,this.getDetailData.count_yg)))])]),a("tr",[a("td",[t._v("消防栓")]),a("td",[t._v("报警数量"+t._s(this.getDetailData.count_xfs)+",处理"+t._s(this.getDetailData.count_ycl_xfs))]),a("td",[t._v(t._s(t.GetPercent(this.getDetailData.count_ycl_xfs,this.getDetailData.count_xfs)))])]),a("tr",[a("td",[t._v("液位")]),a("td",[t._v("报警数量"+t._s(this.getDetailData.count_yw)+",处理"+t._s(this.getDetailData.count_ycl_yw))]),a("td",[t._v(t._s(t.GetPercent(this.getDetailData.count_ycl_yw,this.getDetailData.count_yw)))])]),a("tr",[a("td",[t._v("RTU")]),a("td",[t._v("报警数量"+t._s(this.getDetailData.count_rtu)+",处理"+t._s(this.getDetailData.count_ycl_rtu))]),a("td",[t._v(t._s(t.GetPercent(this.getDetailData.count_ycl_rtu,this.getDetailData.count_rtu)))])]),a("tr",[a("td",[t._v("电气火灾")]),a("td",[t._v("报警数量"+t._s(this.getDetailData.count_dqhz)+",处理"+t._s(this.getDetailData.count_ycl_dqhz))]),a("td",[t._v(t._s(t.GetPercent(this.getDetailData.count_ycl_dqhz,this.getDetailData.count_dqhz)))])]),a("tr",[a("td",[t._v("视频监测")]),a("td",[t._v("报警数量"+t._s(this.getDetailData.count_spjc)+",处理"+t._s(this.getDetailData.count_ycl_spjc))]),a("td",[t._v(t._s(t.GetPercent(this.getDetailData.count_ycl_spjc,this.getDetailData.count_spjc)))])]),a("tr",[a("td",[t._v("电梯监测")]),a("td",[t._v("报警数量"+t._s(this.getDetailData.count_dtjc)+",处理"+t._s(this.getDetailData.count_ycl_dtjc))]),a("td",[t._v(t._s(t.GetPercent(this.getDetailData.count_ycl_dtjc,this.getDetailData.count_dtjc)))])]),a("tr",[a("td",[t._v("井盖监测")]),a("td",[t._v("报警数量"+t._s(this.getDetailData.count_jgjc)+",处理"+t._s(this.getDetailData.count_ycl_jgjc))]),a("td",[t._v(t._s(t.GetPercent(this.getDetailData.count_ycl_jgjc,this.getDetailData.count_jgjc)))])]),a("tr",[a("td",[t._v("地磁监测")]),a("td",[t._v("报警数量"+t._s(this.getDetailData.count_dcjc)+",处理"+t._s(this.getDetailData.count_ycl_dcjc))]),a("td",[t._v(t._s(t.GetPercent(this.getDetailData.count_ycl_dcjc,this.getDetailData.count_dcjc)))])]),a("tr",[a("td",[t._v("门禁监测")]),a("td",[t._v("报警数量"+t._s(this.getDetailData.count_mcjc)+",处理"+t._s(this.getDetailData.count_ycl_mcjc))]),a("td",[t._v(t._s(t.GetPercent(this.getDetailData.count_ycl_mcjc,this.getDetailData.count_mcjc)))])]),a("tr",[a("td",[t._v("可燃气体监测")]),a("td",[t._v("报警数量"+t._s(this.getDetailData.count_krqt)+",处理"+t._s(this.getDetailData.count_ycl_krqt))]),a("td",[t._v(t._s(t.GetPercent(this.getDetailData.count_ycl_krqt,this.getDetailData.count_krqt)))])])])])],1),a("v-uni-view",{staticClass:"processStatus bg-white margin-bottom-sm"},[a("v-uni-view",{staticClass:"info-tit margin-left-xs"},[a("v-uni-text",{staticClass:"cuIcon-titles margin-right-xs"}),t._v("存在问题或需要改进事项")],1),a("v-uni-view",{staticClass:"padding-lr padding-bottom-lg",staticStyle:{"font-size":"30rpx","text-indent":"60rpx","line-height":"1.7"}},[1==this.getDetailData.state_yc?a("v-uni-view",[t._v("用户信息传输装置该类设备隐患极高或存在故障,建议尽早进行排查;")]):t._e(),1==this.getDetailData.state_sj?a("v-uni-view",[t._v("水系统该类设备隐患极高或存在故障,建议尽早进行排查;")]):t._e(),1==this.getDetailData.state_yg?a("v-uni-view",[t._v("烟感栓该类设备隐患极高或存在故障,建议尽早进行排查;")]):t._e(),1==this.getDetailData.state_xfs?a("v-uni-view",[t._v("消防栓该类设备隐患极高或存在故障,建议尽早进行排查;")]):t._e(),1==this.getDetailData.state_yw?a("v-uni-view",[t._v("液位该类设备隐患极高或存在故障,建议尽早进行排查;")]):t._e(),1==this.getDetailData.state_rtu?a("v-uni-view",[t._v("RTU该类设备隐患极高或存在故障,建议尽早进行排查;")]):t._e(),1==this.getDetailData.state_dqhz?a("v-uni-view",[t._v("电气火灾该类设备隐患极高或存在故障,建议尽早进行排查;")]):t._e(),1==this.getDetailData.state_spjc?a("v-uni-view",[t._v("视频监测该类设备隐患极高或存在故障,建议尽早进行排查;")]):t._e(),1==this.getDetailData.state_dtjc?a("v-uni-view",[t._v("电梯监测该类设备隐患极高或存在故障,建议尽早进行排查;")]):t._e(),1==this.getDetailData.state_dcjc?a("v-uni-view",[t._v("地磁监测该类设备隐患极高或存在故障,建议尽早进行排查;")]):t._e(),1==this.getDetailData.state_mcjc?a("v-uni-view",[t._v("门禁监测该类设备隐患极高或存在故障,建议尽早进行排查;")]):t._e(),1==this.getDetailData.state_krqt?a("v-uni-view",[t._v("可燃气体监测该类设备隐患极高或存在故障,建议尽早进行排查;")]):t._e()],1)],1),a("v-uni-view",{staticClass:"processStatus bg-white margin-bottom-sm"},[a("v-uni-view",{staticClass:"info-tit margin-left-xs"},[a("v-uni-text",{staticClass:"cuIcon-titles margin-right-xs"}),t._v("其他事宜")],1),a("v-uni-view",{staticClass:"padding-lr padding-bottom-lg",staticStyle:{"font-size":"30rpx","text-indent":"60rpx","line-height":"1.7"}},[0==this.getDetailData.state_yc?a("v-uni-view",[t._v("目前数据反映:用户信息传输装置该类设备通信情况较好,需要保持;")]):t._e(),0==this.getDetailData.state_sj?a("v-uni-view",[t._v("目前数据反映:水系统该类设备通信情况较好,需要保持;")]):t._e(),0==this.getDetailData.state_yg?a("v-uni-view",[t._v("目前数据反映: 烟感栓该类设备通信情况较好,需要保持;")]):t._e(),0==this.getDetailData.state_xfs?a("v-uni-view",[t._v("目前数据反映: 消防栓该类设备通信情况较好,需要保持;")]):t._e(),0==this.getDetailData.state_yw?a("v-uni-view",[t._v("目前数据反映:液位该类设备通信情况较好,需要保持;")]):t._e(),0==this.getDetailData.state_rtu?a("v-uni-view",[t._v("目前数据反映:RTU该类设备通信情况较好,需要保持;")]):t._e(),0==this.getDetailData.state_dqhz?a("v-uni-view",[t._v("目前数据反映:电气火灾该类设备通信情况较好,需要保持;")]):t._e(),0==this.getDetailData.state_spjc?a("v-uni-view",[t._v("目前数据反映: 视频监测该类设备通信情况较好,需要保持;")]):t._e(),0==this.getDetailData.state_dtjc?a("v-uni-view",[t._v("目前数据反映: 电梯监测该类设备通信情况较好,需要保持;")]):t._e(),0==this.getDetailData.state_dcjc?a("v-uni-view",[t._v("目前数据反映:地磁监测该类设备通信情况较好,需要保持;")]):t._e(),0==this.getDetailData.state_mcjc?a("v-uni-view",[t._v("目前数据反映:门禁监测该类设备通信情况较好,需要保持;")]):t._e(),0==this.getDetailData.state_krqt?a("v-uni-view",[t._v("目前数据反映:可燃气体监测该类设备通信情况较好,需要保持;")]):t._e()],1)],1)],1)},s=[]},c192:function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,".content[data-v-a51a2a20]{display:flex;flex-direction:column;align-items:center;justify-content:center}.echarts[data-v-a51a2a20]{width:100%;height:%?500?%}",""]),t.exports=e},c260:function(t,e,a){"use strict";a.r(e);var i=a("39b7"),n=a("1e7e");for(var s in n)"default"!==s&&function(t){a.d(e,t,(function(){return n[t]}))}(s);var c=a("4983");for(var s in c)"default"!==s&&function(t){a.d(e,t,(function(){return c[t]}))}(s);a("5a5e");var o=a("f0c5");n["default"].__module="echarts";var r=Object(o["a"])(c["default"],i["b"],i["c"],!1,null,"a51a2a20",null,!1,i["a"],n["default"]);e["default"]=r.exports},cb34:function(t,e,a){var i=a("c192");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("40c1e8b3",i,!0,{sourceMap:!1,shadowMode:!1})},fc85:function(t,e,a){"use strict";var i=a("b95e"),n=a.n(i);n.a}}]);