12 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-47a44e6c"],{"06c5":function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));n("fb6a"),n("d3b7"),n("b0c0"),n("a630"),n("3ca3"),n("ac1f"),n("00b4");var a=n("6b75");function c(t,e){if(t){if("string"===typeof t)return Object(a["a"])(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(a["a"])(t,e):void 0}}},4374:function(t,e,n){},"4df4":function(t,e,n){"use strict";var a=n("0366"),c=n("c65b"),r=n("7b0b"),o=n("9bdd"),l=n("e95a"),i=n("68ee"),d=n("07fa"),s=n("8418"),u=n("9a1f"),b=n("35a1"),h=Array;t.exports=function(t){var e=r(t),n=i(this),p=arguments.length,m=p>1?arguments[1]:void 0,f=void 0!==m;f&&(m=a(m,p>2?arguments[2]:void 0));var j,O,g,v,w,y,k=b(e),I=0;if(!k||this===h&&l(k))for(j=d(e),O=n?new this(j):h(j);j>I;I++)y=f?m(e[I],I):e[I],s(O,I,y);else for(v=u(e,k),w=v.next,O=n?new this:[];!(g=c(w,v)).done;I++)y=f?o(v,m,[g.value,I],!0):g.value,s(O,I,y);return O.length=I,O}},"6b75":function(t,e,n){"use strict";function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,a=new Array(e);n<e;n++)a[n]=t[n];return a}n.d(e,"a",(function(){return a}))},"8d8a":function(t,e,n){"use strict";n("99af");var a=n("f46b"),c=function(t){return Object(a["a"])({baseURL:"http://10.81.3.155:8170",url:"".concat(t.url),method:"get"})},r=function(t,e){return Object(a["a"])({baseURL:"http://10.81.3.155:8170",url:"".concat(t,"?rid=").concat(e.rid),method:"post",data:e})},o=function(t){return Object(a["a"])({baseURL:"http://10.81.3.155:8170",url:"recommen/findAllChartjz?wpId=".concat(t.wpId,"&type=").concat(t.type),method:"get"})},l=function(t){return Object(a["a"])({baseURL:"http://10.81.3.155:8170",url:"recommen/recommenConfirmedList",method:"get"})},i=function(t){return Object(a["a"])({baseURL:"http://10.81.3.155:8170",url:"powercompare/windturbineAjax?wpId=".concat(t.wpId),method:"get"})},d=function(t){return Object(a["a"])({baseURL:"http://10.81.3.155:8170",url:"recommen/unfinishedList?wpId=".concat(t.wpId,"&wtId=").concat(t.wtId,"&beginDate=").concat(t.beginDate,"&endDate=").concat(t.endDate),method:"get"})},s=function(t){return Object(a["a"])({baseURL:"http://10.81.3.155:8170",url:"recommen/findMainTrack?rid=".concat(t.rid),method:"get"})},u=function(t){return Object(a["a"])({baseURL:"http://10.81.3.155:8170",url:"recommen/unfinishedList?wpId=".concat(t.wpId,"&wtId=").concat(t.wtId,"&beginDate=").concat(t.beginDate,"&endDate=").concat(t.endDate),method:"get"})},b=function(t){return Object(a["a"])({baseURL:"http://10.81.3.155:8170",url:"health/findAllMap",method:"get"})},h=function(t){return Object(a["a"])({baseURL:"http://10.81.3.155:8170",url:"/health/countWpwarn?type=".concat(t.type),method:"get"})},p=function(t){return Object(a["a"])({baseURL:"http://10.81.3.155:8170",url:"/health/countStop?type=".concat(t.type),method:"get"})},m=function(t){return Object(a["a"])({baseURL:"http://10.81.3.155:8170",url:"/health/countWpOrProStatus?type=".concat(t.type),method:"get"})},f=function(t){return Object(a["a"])({baseURL:"http://10.81.3.155:8170",url:"/health/findWpOrProStatusForHistory?type=".concat(t.type,"&status=").concat(t.status),method:"get"})},j=function(){return Object(a["a"])({baseURL:"http://10.81.3.155:8170",url:"/health/findHealthMatrixMap",method:"get"})},O=function(t){return Object(a["a"])({baseURL:"http://10.81.3.155:8170",url:"powercompare/windfarmAjax",method:"get"})},g=function(t){return Object(a["a"])({baseURL:"http://10.81.3.155:8170",url:"/health/windTurbineHealthList?wpId=".concat(t.wpId),method:"get"})},v=function(t){return Object(a["a"])({baseURL:"http://10.81.3.155:8170",url:"health/hsFjValueIndex?wtId=".concat(t.wtId),method:"get"})},w=function(t){return Object(a["a"])({baseURL:"http://10.81.3.155:8170",url:"health/gadaytop5?wtId=".concat(t.wtId),method:"get"})},y=function(t){return Object(a["a"])({baseURL:"http://10.81.3.155:8170",url:"health/queryStopTop10?wtId=".concat(t.wtId),method:"get"})},k=function(t){return Object(a["a"])({baseURL:"http://10.81.3.155:8170",url:"health/getWtMttrandMtbfByBj?wtId=".concat(t.wtId),method:"get"})},I=function(t){return Object(a["a"])({baseURL:"http://10.81.3.155:8170",url:"health/findPowerChar?wtId=".concat(t.wtId),method:"get"})},L=function(t){return Object(a["a"])({baseURL:"http://10.81.3.155:8170",url:"health/getWeatherRealDay5Info?wpId=".concat(t.wpId),method:"get"})},E=function(t){return Object(a["a"])({baseURL:"http://10.81.3.155:8170",url:"health/findWtHisValueForBj?wtId=".concat(t.wtId),method:"get"})},V=function(t){return Object(a["a"])({baseURL:"http://10.81.3.155:8170",url:"healthreport/healthReport?wtid=".concat(t.wtid,"&date=").concat(t.date),method:"get"})};e["a"]={requestRecommen:c,recommen:r,findAllChartjz:o,recommenRecommenConfirmedList:l,powercompareWindturbineAjax:i,recommenUnfinishedList:d,recommenFindMainTrack:s,recommenFinishedList:u,healthmainFindAllMap:b,healthoperationCountWpwarn:h,healthoperationCountStop:p,healthoperationCountWpOrProStatus:m,healthoperationFindWpOrProStatusForHistory:f,healthmainFindHealthMatrixMap:j,powercompareWindfarmAjax:O,wtHealthListWindTurbineHealthList:g,healthsubHsFjValueIndex:v,healthsubGadaytop5:w,healthsubQueryStopTop10:y,healthsubGetWtMttrandMtbfByBj:k,healthsubFindPowerChar:I,healthsubGetWeatherRealDay5Info:L,healthsubFindWtHisValueForBj:E,healthreportHealthReport:V}},"9bdd":function(t,e,n){var a=n("825a"),c=n("2a62");t.exports=function(t,e,n,r){try{return r?e(a(n)[0],n[1]):e(n)}catch(o){c(t,"throw",o)}}},a630:function(t,e,n){var a=n("23e7"),c=n("4df4"),r=n("1c7e"),o=!r((function(t){Array.from(t)}));a({target:"Array",stat:!0,forced:o},{from:c})},a7c9:function(t,e,n){"use strict";n.r(e);n("b0c0");var a=n("f2bf"),c={class:"health-5"},r={class:"health-matrix"},o={class:"header"},l={class:"svg-icon svg-icon-sm svg-icon-white"},i={class:"title"},d={class:"tools"},s={class:"tool-block"},u=Object(a["createElementVNode"])("div",{class:"legend bg-green"},null,-1),b=Object(a["createElementVNode"])("div",{class:"legend-text green"},"良好数量(台)",-1),h={class:"legend-value"},p={class:"tool-block"},m=Object(a["createElementVNode"])("div",{class:"legend bg-purple"},null,-1),f=Object(a["createElementVNode"])("div",{class:"legend-text purple"},"正常数量(台)",-1),j={class:"legend-value"},O={class:"tool-block"},g=Object(a["createElementVNode"])("div",{class:"legend bg-yellow"},null,-1),v=Object(a["createElementVNode"])("div",{class:"legend-text yellow"},"注意数量(台)",-1),w={class:"legend-value"},y={class:"tool-block"},k=Object(a["createElementVNode"])("div",{class:"legend bg-orange"},null,-1),I=Object(a["createElementVNode"])("div",{class:"legend-text orange"},"严重数量(台)",-1),L={class:"legend-value"},E={class:"body"},V={class:"matrix"},N=["onClick"],R={key:0,class:"green"},B={key:1,class:"purple"},U={key:2,class:"yellow"},S={key:3,class:"orange"},x={key:4,class:"gray"};function C(t,e,n,C,D,A){var F=Object(a["resolveComponent"])("svg-icon"),M=Object(a["resolveComponent"])("el-scrollbar");return Object(a["openBlock"])(),Object(a["createElementBlock"])("div",c,[Object(a["createVNode"])(M,null,{default:Object(a["withCtx"])((function(){return[Object(a["createElementVNode"])("div",r,[(Object(a["openBlock"])(!0),Object(a["createElementBlock"])(a["Fragment"],null,Object(a["renderList"])(D.stationsList,(function(t,e){return Object(a["openBlock"])(),Object(a["createElementBlock"])("div",{class:"health-matrix-panel",key:e},[Object(a["createElementVNode"])("div",o,[Object(a["createElementVNode"])("i",l,[Object(a["createVNode"])(F,{svgid:"svg-wind-site"})]),Object(a["createElementVNode"])("span",i,Object(a["toDisplayString"])(t.name)+"健康矩阵列表",1),Object(a["createElementVNode"])("div",d,[Object(a["createElementVNode"])("div",s,[u,b,Object(a["createElementVNode"])("div",h,Object(a["toDisplayString"])(t.lhsl),1)]),Object(a["createElementVNode"])("div",p,[m,f,Object(a["createElementVNode"])("div",j,Object(a["toDisplayString"])(t.zcsl),1)]),Object(a["createElementVNode"])("div",O,[g,v,Object(a["createElementVNode"])("div",w,Object(a["toDisplayString"])(t.zysl),1)]),Object(a["createElementVNode"])("div",y,[k,I,Object(a["createElementVNode"])("div",L,Object(a["toDisplayString"])(t.yzsl),1)])])]),Object(a["createElementVNode"])("div",E,[Object(a["createElementVNode"])("div",V,[(Object(a["openBlock"])(!0),Object(a["createElementBlock"])(a["Fragment"],null,Object(a["renderList"])(D.windturbineList[e],(function(t,e){return Object(a["openBlock"])(),Object(a["createElementBlock"])("div",{class:"item",key:e,onClick:function(e){return A.onClickJump(t)}},[1==parseInt(t.fjzt)?(Object(a["openBlock"])(),Object(a["createElementBlock"])("div",R,Object(a["toDisplayString"])(t.wtnum)+"号 ",1)):Object(a["createCommentVNode"])("",!0),2==parseInt(t.fjzt)?(Object(a["openBlock"])(),Object(a["createElementBlock"])("div",B,Object(a["toDisplayString"])(t.wtnum)+"号 ",1)):Object(a["createCommentVNode"])("",!0),3==parseInt(t.fjzt)?(Object(a["openBlock"])(),Object(a["createElementBlock"])("div",U,Object(a["toDisplayString"])(t.wtnum)+"号 ",1)):Object(a["createCommentVNode"])("",!0),4==parseInt(t.fjzt)?(Object(a["openBlock"])(),Object(a["createElementBlock"])("div",S,Object(a["toDisplayString"])(t.wtnum)+"号 ",1)):Object(a["createCommentVNode"])("",!0),0==parseInt(t.fjzt)?(Object(a["openBlock"])(),Object(a["createElementBlock"])("div",x,Object(a["toDisplayString"])(t.wtnum)+"号 ",1)):Object(a["createCommentVNode"])("",!0)],8,N)})),128)),(Object(a["openBlock"])(),Object(a["createElementBlock"])(a["Fragment"],null,Object(a["renderList"])(25,(function(t){return Object(a["createElementVNode"])("div",{class:"blank",key:t})})),64))])])])})),128))])]})),_:1})])}var D=n("b85c"),A=(n("4e82"),n("b64b"),n("99af"),n("aa49")),F=n("8d8a"),M={setup:function(){},components:{SvgIcon:A["a"]},data:function(){return{stationsList:[],windturbineList:[]}},created:function(){this.getHealthMatrix()},methods:{getHealthMatrix:function(){var t=this;F["a"].healthmainFindHealthMatrixMap().then((function(e){if(200==e.code){var n,a=[],c=Object.keys(e.data.fczbmap).sort(),r=Object(D["a"])(c);try{for(r.s();!(n=r.n()).done;){var o=n.value;a.push(e.data.fczbmap[o])}}catch(l){r.e(l)}finally{r.f()}t.stationsList=a,t.windturbineList=e.data.fjmap}}))},onClickJump:function(t){console.warn(t),this.$router.push({path:"/health/health0/".concat(t.wpId,"/").concat(t.wtId)})}}},W=(n("d2fd"),n("6b0d")),H=n.n(W);const z=H()(M,[["render",C]]);e["default"]=z},b85c:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));n("a4d3"),n("e01a"),n("d3b7"),n("d28b"),n("3ca3"),n("ddb0"),n("d9e2");var a=n("06c5");function c(t,e){var n="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=Object(a["a"])(t))||e&&t&&"number"===typeof t.length){n&&(t=n);var c=0,r=function(){};return{s:r,n:function(){return c>=t.length?{done:!0}:{done:!1,value:t[c++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,l=!0,i=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return l=t.done,t},e:function(t){i=!0,o=t},f:function(){try{l||null==n["return"]||n["return"]()}finally{if(i)throw o}}}}},d2fd:function(t,e,n){"use strict";n("4374")}}]);
- //# sourceMappingURL=chunk-47a44e6c.1d0aa383.js.map
|