(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-bca8dd1a"],{"0b5e":function(t,e,a){"use strict";a("2407")},"215e":function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-container"},[a("el-form",{ref:"queryForm",attrs:{model:t.queryParams,size:"small",inline:!0,"label-width":"100px"}},[a("el-form-item",{attrs:{label:this.$t("startTime"),prop:"startTime"}},[a("el-date-picker",{attrs:{clearable:"",type:"datetime","value-format":"yyyy-MM-dd HH:mm:ss"},model:{value:t.queryParams.startTime,callback:function(e){t.$set(t.queryParams,"startTime",e)},expression:"queryParams.startTime"}})],1),a("el-form-item",{attrs:{label:this.$t("endTime"),prop:"endTime"}},[a("el-date-picker",{attrs:{clearable:"",type:"datetime","value-format":"yyyy-MM-dd HH:mm:ss"},model:{value:t.queryParams.endTime,callback:function(e){t.$set(t.queryParams,"endTime",e)},expression:"queryParams.endTime"}})],1),a("el-form-item",[a("el-button",{attrs:{type:"primary",icon:"el-icon-search",size:"mini"},on:{click:t.handleQuery}},[t._v(t._s(t.$t("cx")))])],1)],1),a("el-tabs",{on:{"tab-click":t.handleClick},model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[a("el-tab-pane",{staticStyle:{height:"700px","overflow-y":"auto"},attrs:{label:t.$t("wsdcgq"),name:"0"}},[a("el-row",{staticClass:"elRow"},t._l(t.sensorStatusList,(function(e,n){return a("el-col",{attrs:{span:12}},[a("el-card",{staticStyle:{height:"400px","border-radius":"15px"}},[a("div",{staticStyle:{display:"flex"},attrs:{slot:"header"},slot:"header"},[a("span",{staticStyle:{"font-size":"20px","font-weight":"bold"}},[t._v(t._s(e.sensorName))])]),a("div",{staticStyle:{width:"100%"}},["0"===t.activeName?a("div",{staticStyle:{height:"310px",width:"100%","min-width":"600px"},attrs:{id:"sbCgqRefGl"+e.sensorId}}):t._e()])])],1)})),1)],1),a("el-tab-pane",{staticStyle:{height:"700px","overflow-y":"auto"},attrs:{label:t.$t("ywcgq"),name:"1"}},[a("el-row",t._l(t.sensorStatusList,(function(e,n){return a("el-col",[a("el-card",{staticStyle:{height:"600px","border-radius":"15px"}},[a("el-table",{attrs:{"max-height":"220",data:t.sensorStatusList,"header-cell-style":{background:"#FFFFFF",color:"#000000"}}},[a("el-table-column",{attrs:{label:t.$t("sbmc"),prop:"productName","min-width":t.getStringWidth(t.$t("sbmc"))}}),a("el-table-column",{attrs:{label:t.$t("sbbh"),prop:"productNumber","min-width":t.getStringWidth(t.$t("sbbh"))}}),t._e(),a("el-table-column",{attrs:{label:t.$t("cgqxh"),prop:"sensorId","show-overflow-tooltip":!0,"min-width":t.getStringWidth(t.$t("cgqxh"))}}),a("el-table-column",{attrs:{label:t.$t("cgqmc"),prop:"sensorName","show-overflow-tooltip":!0,"min-width":t.getStringWidth(t.$t("cgqmc"))}}),a("el-table-column",{attrs:{label:t.$t("lx"),prop:"sensorType","min-width":t.getStringWidth(t.$t("lx"))}}),a("el-table-column",{attrs:{label:t.$t("dz"),prop:"sensorAddr",align:"center"}}),a("el-table-column",{attrs:{label:t.$t("btl"),align:"center",prop:"sensorBaud","min-width":t.getStringWidth(t.$t("btl"))}}),a("el-table-column",{attrs:{label:t.$t("ljzt"),align:"center",prop:"connectionStatus","min-width":t.getStringWidth(t.$t("ljzt"))},scopedSlots:t._u([{key:"default",fn:function(e){return["1"==e.row.connectionStatus?a("span",{staticStyle:{color:"red"}},[t._v(t._s(t.getDity(e.row,"connectionStatus")))]):a("span",{staticStyle:{color:"green"}},[t._v(t._s(t.getDity(e.row,"connectionStatus")))])]}}],null,!0)}),"0"===t.activeName?a("el-table-column",{attrs:{label:t.$t("wdz")+"(℃)",align:"center",prop:"temperatureValue","min-width":t.getStringWidth(t.$t("wdz"))}}):t._e(),"0"===t.activeName?a("el-table-column",{attrs:{label:t.$t("sdz")+"(%)",align:"center",prop:"humidityValue","min-width":t.getStringWidth(t.$t("sdz"))}}):t._e(),"1"===t.activeName?a("el-table-column",{attrs:{label:t.$t("bjzt"),align:"center",prop:"alarmStatus","min-width":t.getStringWidth(t.$t("bjzt"))},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(t.getDity(e.row,"alarmStatus")))])]}}],null,!0)}):t._e(),"2"===t.activeName?a("el-table-column",{attrs:{label:t.$t("sqrzt"),align:"center",prop:"waterImmersionState","min-width":t.getStringWidth(t.$t("sqrzt"))},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(t.getDity(e.row,"waterImmersionState")))])]}}],null,!0)}):t._e(),"3"===t.activeName?a("el-table-column",{attrs:{label:t.$t("mjsfzt"),align:"center",prop:"accessControlStatus","min-width":t.getStringWidth(t.$t("mjsfzt"))},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(t.getDity(e.row,"accessControlStatus")))])]}}],null,!0)}):t._e(),"4"===t.activeName?a("el-table-column",{attrs:{label:t.$t("qtld"),align:"center",prop:"gasConcentration","min-width":t.getStringWidth(t.$t("qtld"))}}):t._e(),"5"===t.activeName?a("el-table-column",{attrs:{label:t.$t("qlz")+"(m/s)",align:"center",prop:"airflowValue","min-width":t.getStringWidth(t.$t("qlz"))}}):t._e(),"5"===t.activeName?a("el-table-column",{attrs:{label:t.$t("qyz")+"(MPa)",align:"center",prop:"airPressureValue","min-width":t.getStringWidth(t.$t("qyz"))}}):t._e()],1)],1)],1)})),1)],1),a("el-tab-pane",{staticStyle:{height:"700px","overflow-y":"auto"},attrs:{label:t.$t("sqcgq"),name:"2",lazy:""}},[a("el-row",t._l(t.sensorStatusList,(function(e,n){return a("el-col",[a("el-card",{staticStyle:{height:"600px","border-radius":"15px"}},[a("el-table",{attrs:{"max-height":"220",data:t.sensorStatusList,"header-cell-style":{background:"#FFFFFF",color:"#000000"}}},[a("el-table-column",{attrs:{label:t.$t("sbmc"),prop:"productName","min-width":t.getStringWidth(t.$t("sbmc"))}}),a("el-table-column",{attrs:{label:t.$t("sbbh"),prop:"productNumber","min-width":t.getStringWidth(t.$t("sbbh"))}}),t._e(),a("el-table-column",{attrs:{label:t.$t("cgqxh"),prop:"sensorId","show-overflow-tooltip":!0,"min-width":t.getStringWidth(t.$t("cgqxh"))}}),a("el-table-column",{attrs:{label:t.$t("cgqmc"),prop:"sensorName","show-overflow-tooltip":!0,"min-width":t.getStringWidth(t.$t("cgqmc"))}}),a("el-table-column",{attrs:{label:t.$t("lx"),prop:"sensorType","min-width":t.getStringWidth(t.$t("lx"))}}),a("el-table-column",{attrs:{label:t.$t("dz"),prop:"sensorAddr",align:"center"}}),a("el-table-column",{attrs:{label:t.$t("btl"),align:"center",prop:"sensorBaud","min-width":t.getStringWidth(t.$t("btl"))}}),a("el-table-column",{attrs:{label:t.$t("ljzt"),align:"center",prop:"connectionStatus","min-width":t.getStringWidth(t.$t("ljzt"))},scopedSlots:t._u([{key:"default",fn:function(e){return["1"==e.row.connectionStatus?a("span",{staticStyle:{color:"red"}},[t._v(t._s(t.getDity(e.row,"connectionStatus")))]):a("span",{staticStyle:{color:"green"}},[t._v(t._s(t.getDity(e.row,"connectionStatus")))])]}}],null,!0)}),"0"===t.activeName?a("el-table-column",{attrs:{label:t.$t("wdz")+"(℃)",align:"center",prop:"temperatureValue","min-width":t.getStringWidth(t.$t("wdz"))}}):t._e(),"0"===t.activeName?a("el-table-column",{attrs:{label:t.$t("sdz")+"(%)",align:"center",prop:"humidityValue","min-width":t.getStringWidth(t.$t("sdz"))}}):t._e(),"1"===t.activeName?a("el-table-column",{attrs:{label:t.$t("bjzt"),align:"center",prop:"alarmStatus","min-width":t.getStringWidth(t.$t("bjzt"))},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(t.getDity(e.row,"alarmStatus")))])]}}],null,!0)}):t._e(),"2"===t.activeName?a("el-table-column",{attrs:{label:t.$t("sqrzt"),align:"center",prop:"waterImmersionState","min-width":t.getStringWidth(t.$t("sqrzt"))},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(t.getDity(e.row,"waterImmersionState")))])]}}],null,!0)}):t._e(),"3"===t.activeName?a("el-table-column",{attrs:{label:t.$t("mjsfzt"),align:"center",prop:"accessControlStatus","min-width":t.getStringWidth(t.$t("mjsfzt"))},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(t.getDity(e.row,"accessControlStatus")))])]}}],null,!0)}):t._e(),"4"===t.activeName?a("el-table-column",{attrs:{label:t.$t("qtld"),align:"center",prop:"gasConcentration","min-width":t.getStringWidth(t.$t("qtld"))}}):t._e(),"5"===t.activeName?a("el-table-column",{attrs:{label:t.$t("qlz")+"(m/s)",align:"center",prop:"airflowValue","min-width":t.getStringWidth(t.$t("qlz"))}}):t._e(),"5"===t.activeName?a("el-table-column",{attrs:{label:t.$t("qyz")+"(MPa)",align:"center",prop:"airPressureValue","min-width":t.getStringWidth(t.$t("qyz"))}}):t._e()],1)],1)],1)})),1)],1),a("el-tab-pane",{staticStyle:{height:"700px","overflow-y":"auto"},attrs:{label:t.$t("mjcgq"),name:"3",lazy:""}},[a("el-row",t._l(t.sensorStatusList,(function(e,n){return a("el-col",[a("el-card",{staticStyle:{height:"600px","border-radius":"15px"}},[a("el-table",{attrs:{"max-height":"220",data:t.sensorStatusList,"header-cell-style":{background:"#FFFFFF",color:"#000000"}}},[a("el-table-column",{attrs:{label:t.$t("sbmc"),prop:"productName","min-width":t.getStringWidth(t.$t("sbmc"))}}),a("el-table-column",{attrs:{label:t.$t("sbbh"),prop:"productNumber","min-width":t.getStringWidth(t.$t("sbbh"))}}),t._e(),a("el-table-column",{attrs:{label:t.$t("cgqxh"),prop:"sensorId","show-overflow-tooltip":!0,"min-width":t.getStringWidth(t.$t("cgqxh"))}}),a("el-table-column",{attrs:{label:t.$t("cgqmc"),prop:"sensorName","show-overflow-tooltip":!0,"min-width":t.getStringWidth(t.$t("cgqmc"))}}),a("el-table-column",{attrs:{label:t.$t("lx"),prop:"sensorType","min-width":t.getStringWidth(t.$t("lx"))}}),a("el-table-column",{attrs:{label:t.$t("dz"),prop:"sensorAddr",align:"center"}}),a("el-table-column",{attrs:{label:t.$t("btl"),align:"center",prop:"sensorBaud","min-width":t.getStringWidth(t.$t("btl"))}}),a("el-table-column",{attrs:{label:t.$t("ljzt"),align:"center",prop:"connectionStatus","min-width":t.getStringWidth(t.$t("ljzt"))},scopedSlots:t._u([{key:"default",fn:function(e){return["1"==e.row.connectionStatus?a("span",{staticStyle:{color:"red"}},[t._v(t._s(t.getDity(e.row,"connectionStatus")))]):a("span",{staticStyle:{color:"green"}},[t._v(t._s(t.getDity(e.row,"connectionStatus")))])]}}],null,!0)}),"0"===t.activeName?a("el-table-column",{attrs:{label:t.$t("wdz")+"(℃)",align:"center",prop:"temperatureValue","min-width":t.getStringWidth(t.$t("wdz"))}}):t._e(),"0"===t.activeName?a("el-table-column",{attrs:{label:t.$t("sdz")+"(%)",align:"center",prop:"humidityValue","min-width":t.getStringWidth(t.$t("sdz"))}}):t._e(),"1"===t.activeName?a("el-table-column",{attrs:{label:t.$t("bjzt"),align:"center",prop:"alarmStatus","min-width":t.getStringWidth(t.$t("bjzt"))},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(t.getDity(e.row,"alarmStatus")))])]}}],null,!0)}):t._e(),"2"===t.activeName?a("el-table-column",{attrs:{label:t.$t("sqrzt"),align:"center",prop:"waterImmersionState","min-width":t.getStringWidth(t.$t("sqrzt"))},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(t.getDity(e.row,"waterImmersionState")))])]}}],null,!0)}):t._e(),"3"===t.activeName?a("el-table-column",{attrs:{label:t.$t("mjsfzt"),align:"center",prop:"accessControlStatus","min-width":t.getStringWidth(t.$t("mjsfzt"))},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(t.getDity(e.row,"accessControlStatus")))])]}}],null,!0)}):t._e(),"4"===t.activeName?a("el-table-column",{attrs:{label:t.$t("qtld"),align:"center",prop:"gasConcentration","min-width":t.getStringWidth(t.$t("qtld"))}}):t._e(),"5"===t.activeName?a("el-table-column",{attrs:{label:t.$t("qlz")+"(m/s)",align:"center",prop:"airflowValue","min-width":t.getStringWidth(t.$t("qlz"))}}):t._e(),"5"===t.activeName?a("el-table-column",{attrs:{label:t.$t("qyz")+"(MPa)",align:"center",prop:"airPressureValue","min-width":t.getStringWidth(t.$t("qyz"))}}):t._e()],1)],1)],1)})),1)],1),a("el-tab-pane",{staticStyle:{height:"700px","overflow-y":"auto"},attrs:{label:t.$t("qtcgq"),name:"4",lazy:""}},[a("el-row",{staticClass:"elRow"},t._l(t.sensorStatusList,(function(e,n){return a("el-col",{attrs:{span:12}},[a("el-card",{staticStyle:{height:"400px","border-radius":"15px"}},[a("div",{staticStyle:{display:"flex"},attrs:{slot:"header"},slot:"header"},[a("span",{staticStyle:{"font-size":"20px","font-weight":"bold"}},[t._v(t._s(e.sensorName))])]),a("div",{staticStyle:{width:"100%"}},["4"===t.activeName?a("div",{staticStyle:{height:"310px",width:"100%","min-width":"600px"},attrs:{id:"sbCgqRefGl"+e.sensorId}}):t._e()])])],1)})),1)],1),a("el-tab-pane",{staticStyle:{height:"700px","overflow-y":"auto"},attrs:{label:t.$t("qyqlcgq"),name:"5",lazy:""}},[a("el-row",{staticClass:"elRow"},t._l(t.sensorStatusList,(function(e,n){return a("el-col",{attrs:{span:12}},[a("el-card",{staticStyle:{height:"400px","border-radius":"15px"}},[a("div",{staticStyle:{display:"flex"},attrs:{slot:"header"},slot:"header"},[a("span",{staticStyle:{"font-size":"20px","font-weight":"bold"}},[t._v(t._s(e.sensorName))])]),a("div",{staticStyle:{width:"100%"}},["5"===t.activeName?a("div",{staticStyle:{height:"310px",width:"100%","min-width":"600px"},attrs:{id:"sbCgqRefGl"+e.sensorId}}):t._e()])])],1)})),1)],1),a("el-tab-pane",{staticStyle:{height:"700px","overflow-y":"auto"},attrs:{label:t.$t("ktcgq"),name:"6",lazy:""}},[a("el-row",t._l(t.sensorStatusList,(function(e,n){return a("el-col",[a("el-card",{staticStyle:{height:"600px","border-radius":"15px"}},[a("el-table",{attrs:{"max-height":"220",data:t.sensorStatusList,"header-cell-style":{background:"#FFFFFF",color:"#000000"}}},[a("el-table-column",{attrs:{label:t.$t("sbmc"),prop:"productName","min-width":t.getStringWidth(t.$t("sbmc"))}}),a("el-table-column",{attrs:{label:t.$t("sbbh"),prop:"productNumber","min-width":t.getStringWidth(t.$t("sbbh"))}}),t._e(),a("el-table-column",{attrs:{label:t.$t("cgqxh"),prop:"sensorId","show-overflow-tooltip":!0,"min-width":t.getStringWidth(t.$t("cgqxh"))}}),a("el-table-column",{attrs:{label:t.$t("cgqmc"),prop:"sensorName","show-overflow-tooltip":!0,"min-width":t.getStringWidth(t.$t("cgqmc"))}}),a("el-table-column",{attrs:{label:t.$t("lx"),prop:"sensorType","min-width":t.getStringWidth(t.$t("lx"))}}),a("el-table-column",{attrs:{label:t.$t("dz"),prop:"sensorAddr",align:"center"}}),a("el-table-column",{attrs:{label:t.$t("btl"),align:"center",prop:"sensorBaud","min-width":t.getStringWidth(t.$t("btl"))}}),a("el-table-column",{attrs:{label:t.$t("ljzt"),align:"center",prop:"connectionStatus","min-width":t.getStringWidth(t.$t("ljzt"))},scopedSlots:t._u([{key:"default",fn:function(e){return["1"==e.row.connectionStatus?a("span",{staticStyle:{color:"red"}},[t._v(t._s(t.getDity(e.row,"connectionStatus")))]):a("span",{staticStyle:{color:"green"}},[t._v(t._s(t.getDity(e.row,"connectionStatus")))])]}}],null,!0)}),"0"===t.activeName?a("el-table-column",{attrs:{label:t.$t("wdz")+"(℃)",align:"center",prop:"temperatureValue","min-width":t.getStringWidth(t.$t("wdz"))}}):t._e(),"0"===t.activeName?a("el-table-column",{attrs:{label:t.$t("sdz")+"(%)",align:"center",prop:"humidityValue","min-width":t.getStringWidth(t.$t("sdz"))}}):t._e(),"1"===t.activeName?a("el-table-column",{attrs:{label:t.$t("bjzt"),align:"center",prop:"alarmStatus","min-width":t.getStringWidth(t.$t("bjzt"))},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(t.getDity(e.row,"alarmStatus")))])]}}],null,!0)}):t._e(),"2"===t.activeName?a("el-table-column",{attrs:{label:t.$t("sqrzt"),align:"center",prop:"waterImmersionState","min-width":t.getStringWidth(t.$t("sqrzt"))},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(t.getDity(e.row,"waterImmersionState")))])]}}],null,!0)}):t._e(),"3"===t.activeName?a("el-table-column",{attrs:{label:t.$t("mjsfzt"),align:"center",prop:"accessControlStatus","min-width":t.getStringWidth(t.$t("mjsfzt"))},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(t.getDity(e.row,"accessControlStatus")))])]}}],null,!0)}):t._e(),"4"===t.activeName?a("el-table-column",{attrs:{label:t.$t("qtld"),align:"center",prop:"gasConcentration","min-width":t.getStringWidth(t.$t("qtld"))}}):t._e(),"5"===t.activeName?a("el-table-column",{attrs:{label:t.$t("qlz")+"(m/s)",align:"center",prop:"airflowValue","min-width":t.getStringWidth(t.$t("qlz"))}}):t._e(),"5"===t.activeName?a("el-table-column",{attrs:{label:t.$t("qyz")+"(MPa)",align:"center",prop:"airPressureValue","min-width":t.getStringWidth(t.$t("qyz"))}}):t._e()],1)],1)],1)})),1)],1),a("el-tab-pane",{staticStyle:{height:"700px","overflow-y":"auto"},attrs:{label:t.$t("stwdcgq"),name:"7",lazy:""}},[a("el-row",{staticClass:"elRow"},t._l(t.sensorStatusList,(function(e,n){return a("el-col",{attrs:{span:12}},[a("el-card",{staticStyle:{height:"400px","border-radius":"15px"}},[a("div",{staticStyle:{display:"flex"},attrs:{slot:"header"},slot:"header"},[a("span",{staticStyle:{"font-size":"20px","font-weight":"bold"}},[t._v(t._s(e.sensorName))])]),a("div",{staticStyle:{width:"100%"}},["7"===t.activeName?a("div",{staticStyle:{height:"310px",width:"100%","min-width":"600px"},attrs:{id:"sbCgqRefGl"+e.sensorId}}):t._e()])])],1)})),1)],1),a("el-tab-pane",{staticStyle:{height:"700px","overflow-y":"auto"},attrs:{label:t.$t("ylcgq"),name:"8",lazy:""}},[a("el-row",{staticClass:"elRow"},t._l(t.sensorStatusList,(function(e,n){return a("el-col",{attrs:{span:12}},[a("el-card",{staticStyle:{height:"400px","border-radius":"15px"}},[a("div",{staticStyle:{display:"flex"},attrs:{slot:"header"},slot:"header"},[a("span",{staticStyle:{"font-size":"20px","font-weight":"bold"}},[t._v(t._s(e.sensorName))])]),a("div",{staticStyle:{width:"100%"}},["8"===t.activeName?a("div",{staticStyle:{height:"310px",width:"100%","min-width":"600px"},attrs:{id:"sbCgqRefGl"+e.sensorId}}):t._e()])])],1)})),1)],1)],1)],1)},s=[],r=(a("4de4"),a("14d9"),a("b0c0"),a("b680"),a("d3b7"),a("159b"),a("7ba4")),i=a("313e"),l={name:"Server",data:function(){return{server:[],totalStatus:{},channelList:[],title:"",total:0,sensorStatusTitle:"",open:!1,form:{},sensorStatusForm:{},channelLoadTypes:["空调","服务器","交换机","路由器","计算机","显示器","灯","其他"],activeName:"0",sensorStatusOpen:!1,sensorStatusList:[],sensorStatusALLList:[],queryParams:{startTime:"",endTime:"",sensorType:"",token:"",type:""},tabParams:{sensorName:""},usertoken:"",sensorStatusTabs:[{id:"0",name:"wsdcgq"},{id:"1",name:"ywcgq"},{id:"2",name:"sqcgq"},{id:"3",name:"mjcgq"},{id:"4",name:"qtcgq"},{id:"5",name:"qyqlcgq"},{id:"6",name:"ktcgq"},{id:"7",name:"stwdcgq"},{id:"8",name:"ylcgq"}],waterImmersionStates:[{id:"0",name:"qr"},{id:"1",name:"wqr"}],accessControlStatuss:[{id:"0",name:"sb"},{id:"1",name:"sf"}],alarmStatuss:[{id:"0",name:"bj"},{id:"1",name:"wbj"}],connectionStatuss:[{id:"0",name:"zx"},{id:"1",name:"lix"}],chart:""}},mounted:function(){var t=this;setTimeout((function(){t.querySensorStatusMonitoring()}),500)},created:function(){this.usertoken=this.$store.state.user.usertoken;var t=new Date;this.queryParams.endTime=this.getNowDateTime(t),t.setHours(t.getHours()-6),this.queryParams.startTime=this.getNowDateTime(t)},methods:{getStringWidth:function(t){var e="14px Arial",a=document.createElement("canvas"),n=a.getContext("2d");n.font=e;var s=n.measureText(t);return s.width+40},handleClick:function(t,e){var a=this;this.activeName=t.name,setTimeout((function(){a.querySensorStatusMonitoring()}),100)},querySensorStatusMonitoring:function(){var t=this;this.queryParams.token=this.usertoken,this.queryParams.type="listHisQuery",this.queryParams.sensorType=this.activeName,Object(r["j"])(this.queryParams).then((function(e){if(t.sensorStatusList=e.data,null!=e.data&&null!=e||t.$modal.msgSuccess(t.$t("zwsj")),"0"==t.activeName||"4"==t.activeName||"5"==t.activeName||"7"==t.activeName||"8"==t.activeName)for(var a=0;a";return t.forEach((function(t){e+=t.seriesName+": "+t.value.toFixed(3)+"
"})),e}},legend:{data:t},xAxis:{name:"T",type:"category",boundaryGap:!1,data:e,axisLabel:{formatter:function(t){return t.length>11?t.substring(0,11)+"\n"+t.substring(11):t}}},yAxis:{name:n,type:"value",splitLine:{lineStyle:{type:"dashed",color:"#ddd",width:1,dashPattern:[4,4]}},axisLabel:{formatter:"{value}"}},series:a},l=i["getInstanceByDom"](document.getElementById("sbCgqRefGl"+s));null==l&&(l=i["init"](document.getElementById("sbCgqRefGl"+s))),l.clear(),l.setOption(r)}))},getDity:function(t,e){var a="",n="",s=[];"accessControlStatus"==e?(s=this.accessControlStatuss,n=t.accessControlStatus):"alarmStatus"==e?(s=this.alarmStatuss,n=t.alarmStatus):"connectionStatus"==e?(s=this.connectionStatuss,n=t.connectionStatus):("waterImmersionState"==e||"waterImmersionState"==e)&&(s=this.waterImmersionStates,n=t.waterImmersionState);for(var r=0;r