(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["dj2"],{"129f":function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e===1/t:e!=e&&t!=t}},"15d7":function(e,t,a){e.exports=a.p+"static/img/userhead.c1eed45a.jpg"},"267f":function(e,t,a){"use strict";a.r(t);var n=a("f2bf"),o={class:"dialog"};function c(e,t,a,c,l,i){var r=Object(n["resolveComponent"])("dayinfo"),s=Object(n["resolveComponent"])("el-dialog"),d=Object(n["resolveComponent"])("Track"),u=Object(n["resolveComponent"])("ranking-pop"),m=Object(n["resolveComponent"])("fault-diagnosis"),f=Object(n["resolveComponent"])("defect-elimination-tracking");return Object(n["openBlock"])(),Object(n["createElementBlock"])("div",o,[Object(n["createElementVNode"])("div",null,[Object(n["createElementVNode"])("button",{class:"btn",onClick:t[0]||(t[0]=function(e){return l.dialogVisible=!0})},"日信息对比"),Object(n["createElementVNode"])("button",{class:"btn",onClick:t[1]||(t[1]=function(e){return l.dialog2Visible=!0})},"消缺跟踪弹窗"),Object(n["createElementVNode"])("button",{class:"btn",onClick:t[2]||(t[2]=function(e){return l.dialog3Visible=!0})},"指标排行弹窗"),Object(n["createElementVNode"])("button",{class:"btn",onClick:t[3]||(t[3]=function(e){return l.dialog4Visible=!0})},"故障诊断弹窗"),Object(n["createElementVNode"])("button",{class:"btn",onClick:t[4]||(t[4]=function(){return i.showDet&&i.showDet.apply(i,arguments)})},"消缺跟踪"),Object(n["createVNode"])(s,{title:"日信息对比",modelValue:l.dialogVisible,"onUpdate:modelValue":t[5]||(t[5]=function(e){return l.dialogVisible=e}),width:"70%",top:"10vh","custom-class":"modal","close-on-click-modal":!1},{default:Object(n["withCtx"])((function(){return[Object(n["createVNode"])(r)]})),_:1},8,["modelValue"]),Object(n["createVNode"])(s,{title:"消缺跟踪",modelValue:l.dialog2Visible,"onUpdate:modelValue":t[6]||(t[6]=function(e){return l.dialog2Visible=e}),width:"1400px",top:"10vh","custom-class":"modal","close-on-click-modal":!1},{default:Object(n["withCtx"])((function(){return[Object(n["createVNode"])(d)]})),_:1},8,["modelValue"]),Object(n["createVNode"])(s,{title:"风功率曲线",modelValue:l.dialog3Visible,"onUpdate:modelValue":t[7]||(t[7]=function(e){return l.dialog3Visible=e}),width:"1400px",top:"10vh","custom-class":"modal","close-on-click-modal":!1},{default:Object(n["withCtx"])((function(){return[Object(n["createVNode"])(u)]})),_:1},8,["modelValue"]),Object(n["createVNode"])(s,{title:"故障诊断",modelValue:l.dialog4Visible,"onUpdate:modelValue":t[8]||(t[8]=function(e){return l.dialog4Visible=e}),width:"1400px",top:"10vh","custom-class":"modal hide-header","close-on-click-modal":!1},{default:Object(n["withCtx"])((function(){return[Object(n["createVNode"])(m)]})),_:1},8,["modelValue"]),Object(n["createVNode"])(f,{ref:"det",show:l.showDefectEliminationTracking},null,8,["show"])])])}var l=a("6593"),i=a("9422"),r=a("4ee2"),s=a("2a41"),d=a("adc0"),u={setup:function(){},components:{Dayinfo:l["a"],RankingPop:s["a"],FaultDiagnosis:r["a"],Track:d["a"],DefectEliminationTracking:i["a"]},data:function(){return{tabIndex:0,dialogVisible:!1,dialog2Visible:!1,dialog3Visible:!1,dialog4Visible:!1,showDefectEliminationTracking:!1}},methods:{showDet:function(){this.$refs.det.show()},tabSelect:function(e){this.tabIndex=e},showMessage:function(){var e=this;this.$alert("这是一段内容","标题名称",{confirmButtonText:"确定",callback:function(t){e.$message({type:"info",message:"action: ".concat(t)})}})},showComfirm:function(){var e=this;this.$confirm("此操作将永久删除该文件, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning",center:!0}).then((function(){e.$message({type:"success",message:"删除成功!"})})).catch((function(){e.$message({type:"info",message:"已取消删除"})}))}}},m=(a("9a12"),a("6b0d")),f=a.n(m);const b=f()(u,[["render",c]]);t["default"]=b},"2a41":function(e,t,a){"use strict";var n=a("f2bf"),o={class:"index-ranking-pop-up-window"};function c(e,t,a,c,l,i){var r=Object(n["resolveComponent"])("normal-line-chart");return Object(n["openBlock"])(),Object(n["createElementBlock"])("div",o,[Object(n["createVNode"])(r,{class:"irpuw-chart",height:"54.63vh",showLegend:!0})])}var l=a("5419"),i={components:{NormalLineChart:l["a"]},data:function(){return{}},methods:{}},r=(a("a6e0"),a("6b0d")),s=a.n(r);const d=s()(i,[["render",c]]);t["a"]=d},"3c6e":function(e,t,a){"use strict";a("bb7a")},"3f9d":function(e,t,a){"use strict";a("5f22")},"46da":function(e,t,a){},"4ee2":function(e,t,a){"use strict";a("b0c0");var n=a("f2bf"),o={class:"fault-diagnosis-pop-up-window"},c=Object(n["createElementVNode"])("div",{class:"white font-md"},"查询条件",-1),l={class:"query left mg-b-8"},i={class:"query-items"},r={class:"query-item"},s=Object(n["createElementVNode"])("div",{class:"lable"},"风机:",-1),d={class:"search-input"},u={class:"query-item"},m=Object(n["createElementVNode"])("div",{class:"lable"},"部件类型:",-1),f={class:"search-input"},b={class:"query-item"},h=Object(n["createElementVNode"])("div",{class:"lable"},"测点类型:",-1),j={class:"search-input"},v={class:"query-actions"},O={class:"white font-md mg-t-16"},p=Object(n["createElementVNode"])("div",null,"测点选择",-1),V={class:"check-item"},x=Object(n["createElementVNode"])("br",null,null,-1),w={class:"time-axis-box"},N={class:"time-axis-progress-box"},g=Object(n["createElementVNode"])("div",{class:"white font-md mg-t-16"},"风机故障回溯",-1);function y(e,t,a,y,E,k){var C=Object(n["resolveComponent"])("el-input"),A=Object(n["resolveComponent"])("el-option"),I=Object(n["resolveComponent"])("el-select"),D=Object(n["resolveComponent"])("el-checkbox"),_=Object(n["resolveComponent"])("el-checkbox-group"),z=Object(n["resolveComponent"])("multiple-y-line-chart");return Object(n["openBlock"])(),Object(n["createElementBlock"])("div",o,[c,Object(n["createElementVNode"])("div",l,[Object(n["createElementVNode"])("div",i,[Object(n["createElementVNode"])("div",r,[s,Object(n["createElementVNode"])("div",d,[Object(n["createVNode"])(C,{modelValue:E.value1,"onUpdate:modelValue":t[0]||(t[0]=function(e){return E.value1=e}),placeholder:"SG01_53",class:"placeholder-left"},null,8,["modelValue"])])]),Object(n["createElementVNode"])("div",u,[m,Object(n["createElementVNode"])("div",f,[Object(n["createVNode"])(I,{class:"placeholder-left",modelValue:E.value2,"onUpdate:modelValue":t[1]||(t[1]=function(e){return E.value2=e}),placeholder:"风机","popper-class":"select"},{default:Object(n["withCtx"])((function(){return[(Object(n["openBlock"])(!0),Object(n["createElementBlock"])(n["Fragment"],null,Object(n["renderList"])(E.options,(function(e){return Object(n["openBlock"])(),Object(n["createBlock"])(A,{key:e.value,label:e.label,value:e.value},null,8,["label","value"])})),128))]})),_:1},8,["modelValue"])])]),Object(n["createElementVNode"])("div",b,[h,Object(n["createElementVNode"])("div",j,[Object(n["createVNode"])(I,{class:"placeholder-left",modelValue:E.value3,"onUpdate:modelValue":t[2]||(t[2]=function(e){return E.value3=e}),placeholder:"所有测点","popper-class":"select"},{default:Object(n["withCtx"])((function(){return[(Object(n["openBlock"])(!0),Object(n["createElementBlock"])(n["Fragment"],null,Object(n["renderList"])(E.pointype,(function(e){return Object(n["openBlock"])(),Object(n["createBlock"])(A,{key:e.value,label:e.label,value:e.value},null,8,["label","value"])})),128))]})),_:1},8,["modelValue"])])])]),Object(n["createElementVNode"])("div",v,[Object(n["createElementVNode"])("button",{class:"btn green",onClick:t[3]||(t[3]=function(){return k.onClickSelect&&k.onClickSelect.apply(k,arguments)})},"重新选择")])]),Object(n["createElementVNode"])("div",O,[p,Object(n["createElementVNode"])("div",V,[Object(n["createVNode"])(_,{modelValue:E.checkValue,"onUpdate:modelValue":t[4]||(t[4]=function(e){return E.checkValue=e}),"text-color":"#05bb4c",fill:"#05bb4c",max:5,onChange:k.check},{default:Object(n["withCtx"])((function(){return[(Object(n["openBlock"])(!0),Object(n["createElementBlock"])(n["Fragment"],null,Object(n["renderList"])(E.checkList,(function(e,t){return Object(n["openBlock"])(),Object(n["createElementBlock"])(n["Fragment"],{key:t},[(Object(n["openBlock"])(!0),Object(n["createElementBlock"])(n["Fragment"],null,Object(n["renderList"])(e,(function(e,t){return Object(n["openBlock"])(),Object(n["createBlock"])(D,{key:t,class:"cb-item",label:e.uniformcode+"$"+e.name},{default:Object(n["withCtx"])((function(){return[Object(n["createTextVNode"])(Object(n["toDisplayString"])(e.name)+",值:"+Object(n["toDisplayString"])(e.value),1)]})),_:2},1032,["label"])})),128)),x],64)})),128))]})),_:1},8,["modelValue","onChange"])])]),Object(n["createElementVNode"])("div",w,[Object(n["createElementVNode"])("div",{class:"time-axis-icon mg-r-16",onClick:t[5]||(t[5]=function(){return k.startAnimate&&k.startAnimate.apply(k,arguments)})},[Object(n["createElementVNode"])("i",{class:Object(n["normalizeClass"])([E.timeAxisIcon,"green"])},null,2)]),Object(n["createElementVNode"])("div",N,[Object(n["createElementVNode"])("div",{class:"time-axis-progress",style:Object(n["normalizeStyle"])("width: "+E.timeAxisProgress+"%;")},null,4),(Object(n["openBlock"])(),Object(n["createElementBlock"])(n["Fragment"],null,Object(n["renderList"])(20,(function(e){return Object(n["createElementVNode"])("div",{class:"time-axis-progress-scale",key:e})})),64))])]),g,Object(n["createVNode"])(z,{ref:"chart",class:"fdp-chart",height:"32.407vh",yAxises:E.yAxis,list:E.lineData,showLegend:!0},null,8,["yAxises","list"])])}a("fb6a"),a("d3b7"),a("159b"),a("a434");var E=a("c6a4"),k={components:{MultipleYLineChart:E["a"]},props:{data:String},data:function(){return{yAxis:[{name:"机舱震动x方向",min:50,max:370,unit:"",position:"left"},{name:"机舱震动y方向",min:60,max:320,unit:"",position:"right"},{name:"机舱震动最大偏移值",min:90,max:330,unit:"",position:"left"},{name:"风速1",min:30,max:350,unit:"",position:"right"},{name:"风速2",min:100,max:360,unit:"",position:"left"}],lineData:[{title:"机舱震动x方向",yAxisIndex:0,value:[["2021/07/01 00:00:00",68],["2021/07/01 05:00:00",74],["2021/07/01 10:00:00",69],["2021/07/01 15:00:00",134],["2021/07/01 20:00:00",262]]},{title:"机舱震动y方向",yAxisIndex:1,value:[["2021/07/01 00:00:00",110],["2021/07/01 05:00:00",175],["2021/07/01 10:00:00",290],["2021/07/01 15:00:00",140],["2021/07/01 20:00:00",203]]},{title:"机舱震动最大偏移值",yAxisIndex:2,value:[["2021/07/01 00:00:00",312],["2021/07/01 05:00:00",203],["2021/07/01 10:00:00",231],["2021/07/01 15:00:00",305],["2021/07/01 20:00:00",230]]},{title:"风速1",yAxisIndex:3,value:[["2021/07/01 00:00:00",277],["2021/07/01 05:00:00",311],["2021/07/01 10:00:00",296],["2021/07/01 15:00:00",87],["2021/07/01 20:00:00",273]]},{title:"风速2",yAxisIndex:4,value:[["2021/07/01 00:00:00",214],["2021/07/01 05:00:00",224],["2021/07/01 10:00:00",313],["2021/07/01 15:00:00",230],["2021/07/01 20:00:00",264]]}],options:[{value:"0",label:"风机"},{value:"1",label:"齿轮箱"},{value:"2",label:"发电机"},{value:"3",label:"变桨"}],pointype:[{value:"0",label:"所有测点"},{value:"1",label:"遥测测点"},{value:"2",label:"遥信测点"}],value1:"",value2:"",value3:"",checkList:[],checkValue:[],timeAxisIcon:"el-icon-video-play",timeAxisProgress:0,timeAxisAnimate:!1,animationFrameId:null,start:0,end:5,temp:null,temp1:null,animationTime:680,animationData:{},animationDataIndex:-1,maxlength:0}},created:function(){},mounted:function(){this.value1=this.data.windTurbineId,this.value2=this.options[0].value,this.value3=this.pointype[0].value,this.requestPoint()},methods:{onClickSelect:function(){this.requestPoint()},requestPoint:function(){var e=this;e.API.requestData({method:"POST",subUrl:"/fault/queryPointVos",data:{wtId:e.value1,bjtype:e.value2,cdtype:e.value3},success:function(t){if(200==t.code){var a="",n=t.data;e.checkList=[];for(var o=4,c=0,l=n.length;c=2?e.checkValue=[e.checkList[0][0].uniformcode+"$"+e.checkList[0][0].name,e.checkList[0][1].uniformcode+"$"+e.checkList[0][1].name,e.checkList[0][2].uniformcode+"$"+e.checkList[0][2].name,e.checkList[0][3].uniformcode+"$"+e.checkList[0][3].name,e.checkList[1][0].uniformcode+"$"+e.checkList[1][0].name]:n.forEach((function(t){e.checkValue.push(t.uniformcode+"$"+t.name)})),e.requestValue(a)}}})},requestValue:function(e){var t=this;t.API.requestData({showLoading:!0,method:"POST",subUrl:"/fault/getFaultPlayback",timeout:2e4,data:{wtId:t.value1,pointids:e,stopTime:new Date(t.data.stopTime).formatDate("yyyy-MM-dd hh:mm:ss")},success:function(e){if(200==e.code){t.animationData=[];var a=e.data.datas;t.checkList.forEach((function(e){for(var n=0;nt.maxlength&&(t.maxlength=a[e[n].uniformcode].length)})),t.animationData=a}t.initEchart()}})},startAnimate:function(){this.timeAxisAnimate?(this.timeAxisIcon="el-icon-video-play",this.animationFrameId&&window.cancelAnimationFrame(this.animationFrameId)):(this.timeAxisIcon="el-icon-video-pause",this.animationFrameId=window.requestAnimationFrame(this.timeAxisAnimation)),this.timeAxisAnimate=!this.timeAxisAnimate},endAnimate:function(){this.timeAxisProgress=0,this.timeAxisIcon="el-icon-video-play",this.timeAxisAnimate=!1,this.start=0,this.end=5,this.$refs.chart.datazoom(this.start,this.end),this.animationFrameId&&window.cancelAnimationFrame(this.animationFrameId),this.animationFrameId=null,this.animationDataIndex=-1},timeAxisAnimation:function(){var e=this;if(this.timeAxisAnimate){this.maxlength<=100?this.maxlength=100:this.maxlength;var t=this.maxlength/100;this.timeAxisProgress+=t,this.animationDataIndex+=1,this.animationDataIndex