(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["malfunctionStatistics"],{"07ac":function(e,t,a){var o=a("23e7"),n=a("6f53").values;o({target:"Object",stat:!0},{values:function(e){return n(e)}})},"129f":function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e===1/t:e!=e&&t!=t}},"2be3":function(e,t,a){"use strict";a("99af"),a("d3b7"),a("ddb0");var o=a("f46b"),n=function(e){return Object(o["a"])({baseURL:"http://10.81.3.155:8170",url:"powercompare/projectAjax?wpIds=".concat(e.wpIds),method:"get"})},l=function(e){return Object(o["a"])({baseURL:"http://10.81.3.155:8170",url:"health/stopAnalysisList?wpId=".concat(e.wpId,"&isAsc=").concat(e.isAsc,"&modelId=").concat(e.modelId,"&typeId=").concat(e.typeId),method:"get"})},c=function(e){return Object(o["a"])({baseURL:"http://10.81.3.155:8170",url:"health/stopAnalysisTree?mainId=".concat(e.mainId,"&wtId=").concat(e.wtId,"&values=").concat(e.values),method:"get"})},i=function(e){return Object(o["a"])({baseURL:"http://10.81.3.155:8170",url:"/fault/getShutdownevent?pageNum=".concat(e.tablepar.pageNum,"&pageSize=").concat(e.tablepar.pageSize,"&beginDate=").concat(e.beginDate,"&endDate=").concat(e.endDate,"&wpId=").concat(e.wpId,"&type=").concat(e.type,"&wtId=").concat(e.wtId),method:"post"})};t["a"]={powercompareProjectAjax:n,stopanalysisStopAnalysisList:l,stopanalysisStopAnalysisTree:c,eventGetShutdownevent:i}},"3c9c1":function(e,t,a){},"3f9d":function(e,t,a){"use strict";a("5f22")},"4ee2":function(e,t,a){"use strict";a("b0c0");var o=a("f2bf"),n={class:"fault-diagnosis-pop-up-window"},l=Object(o["createElementVNode"])("div",{class:"white font-md"},"查询条件",-1),c={class:"query left mg-b-8"},i={class:"query-items"},r={class:"query-item"},d=Object(o["createElementVNode"])("div",{class:"lable"},"风机:",-1),s={class:"search-input"},u={class:"query-item"},h=Object(o["createElementVNode"])("div",{class:"lable"},"部件类型:",-1),b={class:"search-input"},p={class:"query-item"},m=Object(o["createElementVNode"])("div",{class:"lable"},"测点类型:",-1),f={class:"search-input"},v={class:"query-actions"},w={class:"white font-md mg-t-16"},j=Object(o["createElementVNode"])("div",null,"测点选择",-1),O={class:"check-item"},y=Object(o["createElementVNode"])("br",null,null,-1),g={class:"time-axis-box"},x={class:"time-axis-progress-box"},V=Object(o["createElementVNode"])("div",{class:"white font-md mg-t-16"},"风机故障回溯",-1);function N(e,t,a,N,C,D){var k=Object(o["resolveComponent"])("el-input"),E=Object(o["resolveComponent"])("el-option"),I=Object(o["resolveComponent"])("el-select"),L=Object(o["resolveComponent"])("el-checkbox"),A=Object(o["resolveComponent"])("el-checkbox-group"),S=Object(o["resolveComponent"])("multiple-y-line-chart");return Object(o["openBlock"])(),Object(o["createElementBlock"])("div",n,[l,Object(o["createElementVNode"])("div",c,[Object(o["createElementVNode"])("div",i,[Object(o["createElementVNode"])("div",r,[d,Object(o["createElementVNode"])("div",s,[Object(o["createVNode"])(k,{modelValue:C.value1,"onUpdate:modelValue":t[0]||(t[0]=function(e){return C.value1=e}),placeholder:"SG01_53",class:"placeholder-left"},null,8,["modelValue"])])]),Object(o["createElementVNode"])("div",u,[h,Object(o["createElementVNode"])("div",b,[Object(o["createVNode"])(I,{class:"placeholder-left",modelValue:C.value2,"onUpdate:modelValue":t[1]||(t[1]=function(e){return C.value2=e}),placeholder:"风机","popper-class":"select"},{default:Object(o["withCtx"])((function(){return[(Object(o["openBlock"])(!0),Object(o["createElementBlock"])(o["Fragment"],null,Object(o["renderList"])(C.options,(function(e){return Object(o["openBlock"])(),Object(o["createBlock"])(E,{key:e.value,label:e.label,value:e.value},null,8,["label","value"])})),128))]})),_:1},8,["modelValue"])])]),Object(o["createElementVNode"])("div",p,[m,Object(o["createElementVNode"])("div",f,[Object(o["createVNode"])(I,{class:"placeholder-left",modelValue:C.value3,"onUpdate:modelValue":t[2]||(t[2]=function(e){return C.value3=e}),placeholder:"所有测点","popper-class":"select"},{default:Object(o["withCtx"])((function(){return[(Object(o["openBlock"])(!0),Object(o["createElementBlock"])(o["Fragment"],null,Object(o["renderList"])(C.pointype,(function(e){return Object(o["openBlock"])(),Object(o["createBlock"])(E,{key:e.value,label:e.label,value:e.value},null,8,["label","value"])})),128))]})),_:1},8,["modelValue"])])])]),Object(o["createElementVNode"])("div",v,[Object(o["createElementVNode"])("button",{class:"btn green",onClick:t[3]||(t[3]=function(){return D.onClickSelect&&D.onClickSelect.apply(D,arguments)})},"重新选择")])]),Object(o["createElementVNode"])("div",w,[j,Object(o["createElementVNode"])("div",O,[Object(o["createVNode"])(A,{modelValue:C.checkValue,"onUpdate:modelValue":t[4]||(t[4]=function(e){return C.checkValue=e}),"text-color":"#05bb4c",fill:"#05bb4c",max:5,onChange:D.check},{default:Object(o["withCtx"])((function(){return[(Object(o["openBlock"])(!0),Object(o["createElementBlock"])(o["Fragment"],null,Object(o["renderList"])(C.checkList,(function(e,t){return Object(o["openBlock"])(),Object(o["createElementBlock"])(o["Fragment"],{key:t},[(Object(o["openBlock"])(!0),Object(o["createElementBlock"])(o["Fragment"],null,Object(o["renderList"])(e,(function(e,t){return Object(o["openBlock"])(),Object(o["createBlock"])(L,{key:t,class:"cb-item",label:e.uniformcode+"$"+e.name},{default:Object(o["withCtx"])((function(){return[Object(o["createTextVNode"])(Object(o["toDisplayString"])(e.name)+",值:"+Object(o["toDisplayString"])(e.value),1)]})),_:2},1032,["label"])})),128)),y],64)})),128))]})),_:1},8,["modelValue","onChange"])])]),Object(o["createElementVNode"])("div",g,[Object(o["createElementVNode"])("div",{class:"time-axis-icon mg-r-16",onClick:t[5]||(t[5]=function(){return D.startAnimate&&D.startAnimate.apply(D,arguments)})},[Object(o["createElementVNode"])("i",{class:Object(o["normalizeClass"])([C.timeAxisIcon,"green"])},null,2)]),Object(o["createElementVNode"])("div",x,[Object(o["createElementVNode"])("div",{class:"time-axis-progress",style:Object(o["normalizeStyle"])("width: "+C.timeAxisProgress+"%;")},null,4),(Object(o["openBlock"])(),Object(o["createElementBlock"])(o["Fragment"],null,Object(o["renderList"])(20,(function(e){return Object(o["createElementVNode"])("div",{class:"time-axis-progress-scale",key:e})})),64))])]),V,Object(o["createVNode"])(S,{ref:"chart",class:"fdp-chart",height:"32.407vh",yAxises:C.yAxis,list:C.lineData,showLegend:!0},null,8,["yAxises","list"])])}a("fb6a"),a("d3b7"),a("159b"),a("a434");var C=a("c6a4"),D={components:{MultipleYLineChart:C["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="",o=t.data;e.checkList=[];for(var n=4,l=0,c=o.length;l=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]:o.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 o=0;ot.maxlength&&(t.maxlength=a[e[o].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.animationDataIndexu)a=i[u++],o&&!r(n,a)||d(h,e?[a,n[a]]:n[a]);return h}};e.exports={entries:s(!0),values:s(!1)}},"841c":function(e,t,a){"use strict";var o=a("c65b"),n=a("d784"),l=a("825a"),c=a("1d80"),i=a("129f"),r=a("577e"),d=a("dc4a"),s=a("14c3");n("search",(function(e,t,a){return[function(t){var a=c(this),n=void 0==t?void 0:d(t,e);return n?o(n,t,a):new RegExp(t)[e](r(a))},function(e){var o=l(this),n=r(e),c=a(t,o,n);if(c.done)return c.value;var d=o.lastIndex;i(d,0)||(o.lastIndex=0);var u=s(o,n);return i(o.lastIndex,d)||(o.lastIndex=d),null===u?-1:u.index}]}))},8600:function(e,t,a){"use strict";a("ef9f")},"8d8a":function(e,t,a){"use strict";a("99af");var o=a("f46b"),n=function(e){return Object(o["a"])({baseURL:"http://10.81.3.155:8170",url:"".concat(e.url),method:"get"})},l=function(e,t){return Object(o["a"])({baseURL:"http://10.81.3.155:8170",url:"".concat(e,"?rid=").concat(t.rid),method:"post",data:t})},c=function(e){return Object(o["a"])({baseURL:"http://10.81.3.155:8170",url:"recommen/findAllChartjz?wpId=".concat(e.wpId,"&type=").concat(e.type),method:"get"})},i=function(e){return Object(o["a"])({baseURL:"http://10.81.3.155:8170",url:"recommen/recommenConfirmedList",method:"get"})},r=function(e){return Object(o["a"])({baseURL:"http://10.81.3.155:8170",url:"powercompare/windturbineAjax?wpId=".concat(e.wpId),method:"get"})},d=function(e){return Object(o["a"])({baseURL:"http://10.81.3.155:8170",url:"recommen/unfinishedList?wpId=".concat(e.wpId,"&wtId=").concat(e.wtId,"&beginDate=").concat(e.beginDate,"&endDate=").concat(e.endDate),method:"get"})},s=function(e){return Object(o["a"])({baseURL:"http://10.81.3.155:8170",url:"recommen/findMainTrack?rid=".concat(e.rid),method:"get"})},u=function(e){return Object(o["a"])({baseURL:"http://10.81.3.155:8170",url:"recommen/unfinishedList?wpId=".concat(e.wpId,"&wtId=").concat(e.wtId,"&beginDate=").concat(e.beginDate,"&endDate=").concat(e.endDate),method:"get"})},h=function(e){return Object(o["a"])({baseURL:"http://10.81.3.155:8170",url:"health/findAllMap",method:"get"})},b=function(e){return Object(o["a"])({baseURL:"http://10.81.3.155:8170",url:"/health/countWpwarn?type=".concat(e.type),method:"get"})},p=function(e){return Object(o["a"])({baseURL:"http://10.81.3.155:8170",url:"/health/countStop?type=".concat(e.type),method:"get"})},m=function(e){return Object(o["a"])({baseURL:"http://10.81.3.155:8170",url:"/health/countWpOrProStatus?type=".concat(e.type),method:"get"})},f=function(e){return Object(o["a"])({baseURL:"http://10.81.3.155:8170",url:"/health/findWpOrProStatusForHistory?type=".concat(e.type,"&status=").concat(e.status),method:"get"})},v=function(){return Object(o["a"])({baseURL:"http://10.81.3.155:8170",url:"/health/findHealthMatrixMap",method:"get"})},w=function(e){return Object(o["a"])({baseURL:"http://10.81.3.155:8170",url:"powercompare/windfarmAjax",method:"get"})},j=function(e){return Object(o["a"])({baseURL:"http://10.81.3.155:8170",url:"/health/windTurbineHealthList?wpId=".concat(e.wpId),method:"get"})},O=function(e){return Object(o["a"])({baseURL:"http://10.81.3.155:8170",url:"health/hsFjValueIndex?wtId=".concat(e.wtId),method:"get"})},y=function(e){return Object(o["a"])({baseURL:"http://10.81.3.155:8170",url:"health/gadaytop5?wtId=".concat(e.wtId),method:"get"})},g=function(e){return Object(o["a"])({baseURL:"http://10.81.3.155:8170",url:"health/queryStopTop10?wtId=".concat(e.wtId),method:"get"})},x=function(e){return Object(o["a"])({baseURL:"http://10.81.3.155:8170",url:"health/getWtMttrandMtbfByBj?wtId=".concat(e.wtId),method:"get"})},V=function(e){return Object(o["a"])({baseURL:"http://10.81.3.155:8170",url:"health/findPowerChar?wtId=".concat(e.wtId),method:"get"})},N=function(e){return Object(o["a"])({baseURL:"http://10.81.3.155:8170",url:"health/getWeatherRealDay5Info?wpId=".concat(e.wpId),method:"get"})},C=function(e){return Object(o["a"])({baseURL:"http://10.81.3.155:8170",url:"health/findWtHisValueForBj?wtId=".concat(e.wtId),method:"get"})},D=function(e){return Object(o["a"])({baseURL:"http://10.81.3.155:8170",url:"healthreport/healthReport?wtid=".concat(e.wtid,"&date=").concat(e.date),method:"get"})};t["a"]={requestRecommen:n,recommen:l,findAllChartjz:c,recommenRecommenConfirmedList:i,powercompareWindturbineAjax:r,recommenUnfinishedList:d,recommenFindMainTrack:s,recommenFinishedList:u,healthmainFindAllMap:h,healthoperationCountWpwarn:b,healthoperationCountStop:p,healthoperationCountWpOrProStatus:m,healthoperationFindWpOrProStatusForHistory:f,healthmainFindHealthMatrixMap:v,powercompareWindfarmAjax:w,wtHealthListWindTurbineHealthList:j,healthsubHsFjValueIndex:O,healthsubGadaytop5:y,healthsubQueryStopTop10:g,healthsubGetWtMttrandMtbfByBj:x,healthsubFindPowerChar:V,healthsubGetWeatherRealDay5Info:N,healthsubFindWtHisValueForBj:C,healthreportHealthReport:D}},"9eb5":function(e,t,a){"use strict";a.r(t);a("b0c0"),a("ac1f"),a("841c");var o=a("f2bf"),n=function(e){return Object(o["pushScopeId"])("data-v-12287fff"),e=e(),Object(o["popScopeId"])(),e},l={class:"draught-fan-list"},c={class:"query mg-b-8"},i={class:"query-items"},r={class:"query-item"},d=n((function(){return Object(o["createElementVNode"])("div",{class:"lable"},"场站:",-1)})),s={class:"search-input"},u={class:"query-item"},h=n((function(){return Object(o["createElementVNode"])("div",{class:"lable"},"日期:",-1)})),b={class:"search-input"},p={class:"query-actions"},m={class:"df-table curTable"};function f(e,t,a,n,f,v){var w=Object(o["resolveComponent"])("el-option"),j=Object(o["resolveComponent"])("el-select"),O=Object(o["resolveComponent"])("el-date-picker"),y=Object(o["resolveComponent"])("el-table-column"),g=Object(o["resolveComponent"])("el-table"),x=Object(o["resolveComponent"])("el-dialog");return Object(o["openBlock"])(),Object(o["createElementBlock"])("div",l,[Object(o["createElementVNode"])("div",c,[Object(o["createElementVNode"])("div",i,[Object(o["createElementVNode"])("div",r,[d,Object(o["createElementVNode"])("div",s,[Object(o["createVNode"])(j,{modelValue:f.wpId,"onUpdate:modelValue":t[0]||(t[0]=function(e){return f.wpId=e}),clearable:"",placeholder:"请选择","popper-class":"select"},{default:Object(o["withCtx"])((function(){return[(Object(o["openBlock"])(!0),Object(o["createElementBlock"])(o["Fragment"],null,Object(o["renderList"])(f.wpArray,(function(e){return Object(o["openBlock"])(),Object(o["createBlock"])(w,{key:e.id,value:e.id,label:e.name},null,8,["value","label"])})),128))]})),_:1},8,["modelValue"])])]),Object(o["createElementVNode"])("div",u,[h,Object(o["createElementVNode"])("div",b,[Object(o["createVNode"])(O,{modelValue:f.recorddate,"onUpdate:modelValue":t[1]||(t[1]=function(e){return f.recorddate=e}),type:"date","value-format":"YYYY-MM-DD",placeholder:"选择日期","popper-class":"date-select"},null,8,["modelValue"])])])]),Object(o["createElementVNode"])("div",p,[Object(o["createElementVNode"])("button",{class:"btn green",onClick:t[2]||(t[2]=function(e){return v.search()})},"查询")])]),Object(o["createElementVNode"])("div",m,[Object(o["createVNode"])(g,{class:"custom-table",data:f.tableData.data,height:"88vh","max-height":"88vh",stripe:"",style:{width:"100%"},border:!0},{default:Object(o["withCtx"])((function(){return[Object(o["createVNode"])(y,{"show-overflow-tooltip":!0,prop:"wtname",width:"150px",label:"风机"}),Object(o["createVNode"])(y,{"show-overflow-tooltip":!0,label:f.tableTitle},{default:Object(o["withCtx"])((function(){return[Object(o["createVNode"])(y,{"show-overflow-tooltip":!0,label:"近一天"},{default:Object(o["withCtx"])((function(){return[Object(o["createVNode"])(y,{"show-overflow-tooltip":!0,label:"1"},{default:Object(o["withCtx"])((function(){return[Object(o["createVNode"])(y,{"show-overflow-tooltip":!0,prop:"day1top1name",label:"故障",width:"200px"}),Object(o["createVNode"])(y,{"show-overflow-tooltip":!0,prop:"day1top1",label:"频次",sortable:!0,width:"150px"})]})),_:1}),Object(o["createVNode"])(y,{"show-overflow-tooltip":!0,label:"2"},{default:Object(o["withCtx"])((function(){return[Object(o["createVNode"])(y,{"show-overflow-tooltip":!0,prop:"day1top2name",label:"故障",width:"200px"}),Object(o["createVNode"])(y,{"show-overflow-tooltip":!0,prop:"day1top2",label:"频次",sortable:!0,width:"150px"})]})),_:1}),Object(o["createVNode"])(y,{"show-overflow-tooltip":!0,label:"3"},{default:Object(o["withCtx"])((function(){return[Object(o["createVNode"])(y,{"show-overflow-tooltip":!0,prop:"day1top3name",label:"故障",width:"200px"}),Object(o["createVNode"])(y,{"show-overflow-tooltip":!0,prop:"day1top3",label:"频次",sortable:!0,width:"150px"})]})),_:1})]})),_:1}),Object(o["createVNode"])(y,{"show-overflow-tooltip":!0,label:"近三天"},{default:Object(o["withCtx"])((function(){return[Object(o["createVNode"])(y,{"show-overflow-tooltip":!0,label:"1"},{default:Object(o["withCtx"])((function(){return[Object(o["createVNode"])(y,{"show-overflow-tooltip":!0,prop:"day3top1name",label:"故障",width:"200px"}),Object(o["createVNode"])(y,{"show-overflow-tooltip":!0,prop:"day3top1",label:"频次",sortable:!0,width:"150px"})]})),_:1}),Object(o["createVNode"])(y,{"show-overflow-tooltip":!0,label:"2"},{default:Object(o["withCtx"])((function(){return[Object(o["createVNode"])(y,{"show-overflow-tooltip":!0,prop:"day3top2name",label:"故障",width:"200px"}),Object(o["createVNode"])(y,{"show-overflow-tooltip":!0,prop:"day3top2",label:"频次",sortable:!0,width:"150px"})]})),_:1}),Object(o["createVNode"])(y,{"show-overflow-tooltip":!0,label:"3"},{default:Object(o["withCtx"])((function(){return[Object(o["createVNode"])(y,{"show-overflow-tooltip":!0,prop:"day3top3name",label:"故障",width:"200px"}),Object(o["createVNode"])(y,{"show-overflow-tooltip":!0,prop:"day3top3",label:"频次",sortable:!0,width:"150px"})]})),_:1})]})),_:1}),Object(o["createVNode"])(y,{"show-overflow-tooltip":!0,label:"近七天"},{default:Object(o["withCtx"])((function(){return[Object(o["createVNode"])(y,{"show-overflow-tooltip":!0,label:"1"},{default:Object(o["withCtx"])((function(){return[Object(o["createVNode"])(y,{"show-overflow-tooltip":!0,prop:"day7top1name",label:"故障",width:"200px"}),Object(o["createVNode"])(y,{"show-overflow-tooltip":!0,prop:"day7top1",label:"频次",sortable:!0,width:"150px"})]})),_:1}),Object(o["createVNode"])(y,{"show-overflow-tooltip":!0,label:"2"},{default:Object(o["withCtx"])((function(){return[Object(o["createVNode"])(y,{"show-overflow-tooltip":!0,prop:"day7top2name",label:"故障",width:"200px"}),Object(o["createVNode"])(y,{"show-overflow-tooltip":!0,prop:"day7top2",label:"频次",sortable:!0,width:"150px"})]})),_:1}),Object(o["createVNode"])(y,{"show-overflow-tooltip":!0,label:"3"},{default:Object(o["withCtx"])((function(){return[Object(o["createVNode"])(y,{"show-overflow-tooltip":!0,prop:"day7top3name",label:"故障",width:"200px"}),Object(o["createVNode"])(y,{"show-overflow-tooltip":!0,prop:"day7top3",label:"频次",sortable:!0,width:"150px"})]})),_:1})]})),_:1}),Object(o["createVNode"])(y,{"show-overflow-tooltip":!0,label:"近十五天"},{default:Object(o["withCtx"])((function(){return[Object(o["createVNode"])(y,{"show-overflow-tooltip":!0,label:"1"},{default:Object(o["withCtx"])((function(){return[Object(o["createVNode"])(y,{"show-overflow-tooltip":!0,prop:"day15top1name",label:"故障",width:"200px"}),Object(o["createVNode"])(y,{"show-overflow-tooltip":!0,prop:"day15top1",label:"频次",sortable:!0,width:"150px"})]})),_:1}),Object(o["createVNode"])(y,{"show-overflow-tooltip":!0,label:"2"},{default:Object(o["withCtx"])((function(){return[Object(o["createVNode"])(y,{"show-overflow-tooltip":!0,prop:"day15top2name",label:"故障",width:"200px"}),Object(o["createVNode"])(y,{"show-overflow-tooltip":!0,prop:"day15top2",label:"频次",sortable:!0,width:"150px"})]})),_:1}),Object(o["createVNode"])(y,{"show-overflow-tooltip":!0,label:"3"},{default:Object(o["withCtx"])((function(){return[Object(o["createVNode"])(y,{"show-overflow-tooltip":!0,prop:"day15top3name",label:"故障",width:"200px"}),Object(o["createVNode"])(y,{"show-overflow-tooltip":!0,prop:"day15top3",label:"频次",sortable:!0,width:"150px"})]})),_:1})]})),_:1}),Object(o["createVNode"])(y,{"show-overflow-tooltip":!0,label:"近一个月"},{default:Object(o["withCtx"])((function(){return[Object(o["createVNode"])(y,{"show-overflow-tooltip":!0,label:"1"},{default:Object(o["withCtx"])((function(){return[Object(o["createVNode"])(y,{"show-overflow-tooltip":!0,prop:"month1top1name",label:"故障",width:"200px"}),Object(o["createVNode"])(y,{"show-overflow-tooltip":!0,prop:"month1top1",label:"频次",sortable:!0,width:"150px"})]})),_:1}),Object(o["createVNode"])(y,{"show-overflow-tooltip":!0,label:"2"},{default:Object(o["withCtx"])((function(){return[Object(o["createVNode"])(y,{"show-overflow-tooltip":!0,prop:"month1top2name",label:"故障",width:"200px"}),Object(o["createVNode"])(y,{"show-overflow-tooltip":!0,prop:"month1top2",label:"频次",sortable:!0,width:"150px"})]})),_:1}),Object(o["createVNode"])(y,{"show-overflow-tooltip":!0,label:"3"},{default:Object(o["withCtx"])((function(){return[Object(o["createVNode"])(y,{"show-overflow-tooltip":!0,prop:"month1top3name",label:"故障",width:"200px"}),Object(o["createVNode"])(y,{"show-overflow-tooltip":!0,prop:"month1top3",label:"频次",sortable:!0,width:"150px"})]})),_:1})]})),_:1})]})),_:1},8,["label"])]})),_:1},8,["data"])]),Object(o["createVNode"])(x,{title:"切入切出风速整合历史",modelValue:e.dialogShow,"onUpdate:modelValue":t[3]||(t[3]=function(t){return e.dialogShow=t}),width:"85%",top:"10vh","custom-class":"modal","close-on-click-modal":!0,onClosed:t[4]||(t[4]=function(t){return e.dialogType=""})},null,8,["modelValue"])])}var v=a("8d8a"),w=a("f1c6"),j={name:"cutAnalyse",data:function(){return{isAsc:"asc",wpArray:[],wpId:"",recorddate:new Date((new Date).getTime()-864e5).formatDate("yyyy-MM-dd"),tableTitle:"",tableData:{column:[{name:"风机",field:"windturbineid",is_num:!1,is_light:!1,sortable:!0}],data:[]}}},methods:{requestData:function(){var e=this;v["a"].powercompareWindfarmAjax().then((function(t){e.wpArray=t.data,e.wpId=t.data[0].id,e.getTableData()}))},getTableData:function(){var e=this;this.wpId&&this.recorddate?w["a"].failurestatistics({wpid:this.wpId,date:this.recorddate}).then((function(t){t.data&&(e.tableTitle=t.data[0].wpname+"故障统计",e.tableData.data=t.data)})):this.BASE.showMsg({msg:"场站与日期不可为空"})},search:function(){this.getTableData()}},created:function(){this.requestData()},mounted:function(){},unmounted:function(){}},O=(a("8600"),a("4ef0"),a("6b0d")),y=a.n(O);const g=y()(j,[["render",f],["__scopeId","data-v-12287fff"]]);t["default"]=g},a0ac:function(e,t,a){"use strict";a("3c9c1")},a0fc:function(e,t,a){},a7b1:function(e,t,a){"use strict";a("c6df")},a9c7:function(e,t,a){"use strict";a.r(t);a("b0c0");var o=a("f2bf"),n={class:"knowledge-2"},l={class:"query mg-b-8"},c={class:"query-items"},i={class:"query-item"},r=Object(o["createElementVNode"])("div",{class:"lable"},"场站:",-1),d={class:"search-input"},s={class:"query-item"},u=Object(o["createElementVNode"])("div",{class:"lable"},"风机:",-1),h={class:"search-input"},b={class:"query-item"},p={class:"query-item"},m=Object(o["createElementVNode"])("div",{class:"lable"},"开始日期:",-1),f={class:"search-input"},v={class:"query-item"},w=Object(o["createElementVNode"])("div",{class:"lable"},"结束日期:",-1),j={class:"search-input"},O={class:"unit svg-icon svg-icon-gray"},y={class:"query-actions",style:{"margin-right":"1500px"}};function g(e,t,a,g,x,V){var N=Object(o["resolveComponent"])("el-option"),C=Object(o["resolveComponent"])("el-select"),D=Object(o["resolveComponent"])("el-date-picker"),k=Object(o["resolveComponent"])("svg-icon"),E=Object(o["resolveComponent"])("ComTable"),I=Object(o["resolveComponent"])("fault-diagnosis"),L=Object(o["resolveComponent"])("el-dialog");return Object(o["openBlock"])(),Object(o["createElementBlock"])("div",n,[Object(o["createElementVNode"])("div",l,[Object(o["createElementVNode"])("div",c,[Object(o["createElementVNode"])("div",i,[r,Object(o["createElementVNode"])("div",d,[Object(o["createVNode"])(C,{modelValue:x.wpId,"onUpdate:modelValue":t[0]||(t[0]=function(e){return x.wpId=e}),clearable:"",placeholder:"请选择","popper-class":"select",onChange:t[1]||(t[1]=function(e){V.getWt(e,!0)})},{default:Object(o["withCtx"])((function(){return[(Object(o["openBlock"])(!0),Object(o["createElementBlock"])(o["Fragment"],null,Object(o["renderList"])(x.wpArray,(function(e){return Object(o["openBlock"])(),Object(o["createBlock"])(N,{key:e.id,value:e.id,label:e.name},null,8,["value","label"])})),128))]})),_:1},8,["modelValue"])])]),Object(o["createElementVNode"])("div",s,[u,Object(o["createElementVNode"])("div",h,[Object(o["createVNode"])(C,{modelValue:x.wtId,"onUpdate:modelValue":t[2]||(t[2]=function(e){return x.wtId=e}),clearable:"",placeholder:"请选择","popper-class":"select"},{default:Object(o["withCtx"])((function(){return[(Object(o["openBlock"])(!0),Object(o["createElementBlock"])(o["Fragment"],null,Object(o["renderList"])(e.wtArray,(function(e){return Object(o["openBlock"])(),Object(o["createBlock"])(N,{key:e.id,value:e.id,label:e.name},null,8,["value","label"])})),128))]})),_:1},8,["modelValue"])])]),Object(o["createElementVNode"])("div",b,[Object(o["createElementVNode"])("div",p,[m,Object(o["createElementVNode"])("div",f,[Object(o["createVNode"])(D,{modelValue:x.value1,"onUpdate:modelValue":t[3]||(t[3]=function(e){return x.value1=e}),onChange:t[4]||(t[4]=function(e){return V.BeginChange(x.value1)}),type:"date","value-format":"YYYY-MM-DD",placeholder:"选择日期","popper-class":"date-select"},null,8,["modelValue"])])]),Object(o["createElementVNode"])("div",v,[w,Object(o["createElementVNode"])("div",j,[Object(o["createVNode"])(D,{modelValue:x.value2,"onUpdate:modelValue":t[5]||(t[5]=function(e){return x.value2=e}),onChange:t[6]||(t[6]=function(e){return V.EndChange(x.value2)}),type:"date","value-format":"YYYY-MM-DD",placeholder:"选择日期","popper-class":"date-select"},null,8,["modelValue"]),Object(o["createElementVNode"])("div",O,[Object(o["createVNode"])(k,{svgid:""})])])])])]),Object(o["createElementVNode"])("div",y,[Object(o["createElementVNode"])("button",{class:"btn green",onClick:t[7]||(t[7]=function(){return V.onClickSearch&&V.onClickSearch.apply(V,arguments)})},"查询")])]),Object(o["createElementVNode"])("div",null,[Object(o["createVNode"])(E,{data:x.tableData,height:"85vh"},null,8,["data"])]),Object(o["createElementVNode"])("div",null,[Object(o["createVNode"])(L,{title:"故障诊断",modelValue:x.dialogVisible,"onUpdate:modelValue":t[8]||(t[8]=function(e){return x.dialogVisible=e}),width:"1400px",top:"10vh","custom-class":"modal hide-header","close-on-click-modal":!1,"before-close":V.onClickDialogClose},{default:Object(o["withCtx"])((function(){return[(Object(o["openBlock"])(),Object(o["createBlock"])(I,{data:x.rowitem,ref:"rowitemS",key:x.componentKey},null,8,["data"]))]})),_:1},8,["modelValue","before-close"])])])}var x=a("bfc3"),V=a("4ee2"),N=a("2be3"),C=a("fe65"),D={components:{ComTable:x["a"],FaultDiagnosis:V["a"]},data:function(){var e=this;return{componentKey:0,value1:"",value2:"",wpId:"",wpArray:[],rowitem:"",wpName:"",wtId:"A01",type:"2",dialogVisible:!1,tableData:{column:[{name:"场站",field:"wpName",is_num:!0,is_light:!1},{name:"机组",field:"windTurbineId",is_num:!1,is_light:!1},{name:"开始时刻",field:"stopTime",is_num:!1,is_light:!1},{name:"结束时刻",field:"startTime",is_num:!1,is_light:!1},{name:"停机小时数(h)",field:"stopHours",is_num:!1,is_light:!1},{name:"停机类型",field:"warnDesc",is_num:!1,is_light:!1},{name:"损失电量(kWh)",field:"lossPower",is_num:!1,is_light:!1},{name:"操作",field:"",is_num:!1,is_light:!1,template:function(){return"回溯"},click:function(t,a){e.onClickOption(a)}}],data:[]}}},created:function(){this.value1=new Date((new Date).getTime()-864e5).formatDate("yyyy-MM-dd"),this.value2=this.getTime(2),this.getWp(),this.requestSafeList()},methods:{getTime:function(e){var t=new Date,a=t.getFullYear(),o=t.getMonth()+1,n=t.getDate();o>=1&&o<=9&&(o="0"+o),n>=0&&n<=9&&(n="0"+n);var l=a+"-"+o+"-01",c=a+"-"+o+"-"+n;return 1==e?l:2==e?c:void 0},getWp:function(e){var t=this;C["a"].benchmarkingWplist().then((function(a){t.wpArray=a.data,t.wpId=a.data[0].id,t.wpName=a.data[0].wpName,t.getWt(t.wpId,e),t.requestSafeList()}))},getWt:function(e,t){var a=this;this.wpId&&C["a"].powercompareWindturbineAjax({wpId:e}).then((function(e){a.wtArray=e.data}))},BeginChange:function(e){this.value1=e},EndChange:function(e){this.value2=e},typeChange:function(e){this.type=e},onClickSearch:function(){this.requestSafeList()},requestSafeList:function(){var e=this,t=this,a={tablepar:{pageNum:1,pageSize:1e3},beginDate:t.value1,endDate:t.value2,wpId:t.wpId,type:2,wtId:"CL01_001"};"A01"!=t.wtId&&(a.wtId=t.wtId),""!=t.type&&(a.type=t.type),N["a"].eventGetShutdownevent(a).then((function(t){if(200==t.code&&(e.tableData.data=[],t.data.list.length))for(var a=t.data.list,o=0;o