12 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["globalMonitor"],{"1e63":function(e,t,n){"use strict";n("e290")},3938:function(e,t,n){e.exports=n.p+"static/img/tzcs.9c7bacf8.png"},"572f":function(e,t,n){e.exports=n.p+"static/img/bdzcx.7ec71a1e.png"},"5a68":function(e,t,n){e.exports=n.p+"static/img/yjzs.4e2b094b.png"},"5c69e":function(e,t,n){e.exports=n.p+"static/img/gztx.30e205a2.png"},"6afa":function(e,t,n){e.exports=n.p+"static/img/jxfa.c22192d7.png"},"6f7b":function(e,t,n){"use strict";n.r(t);var a=n("f2bf"),o=n("572f"),c=n.n(o),i=n("a71d"),r=n.n(i),l=n("5c69e"),s=n.n(l),m=n("5a68"),u=n.n(m),d=n("3938"),p=n.n(d),b=n("6afa"),g=n.n(b),f=function(e){return Object(a["pushScopeId"])("data-v-1c66755e"),e=e(),Object(a["popScopeId"])(),e},h={class:"swiperBox"},j={class:"itemBox"},k=f((function(){return Object(a["createElementVNode"])("p",{class:"itemTitle"},"数据查询",-1)})),O={class:"sjcx-name"},N={class:"sjcx-value"},C={class:"itemBox"},v=f((function(){return Object(a["createElementVNode"])("p",{class:"itemTitle"}," 报表管理 ",-1)})),y={class:"imageBox1"},x=f((function(){return Object(a["createElementVNode"])("img",{class:"img1",src:c.a,fit:"fill"},null,-1)})),w=f((function(){return Object(a["createElementVNode"])("p",{class:"imgTitle"},"报表管理",-1)})),E=[x,w],B=f((function(){return Object(a["createElementVNode"])("img",{class:"img1",src:c.a,fit:"fill"},null,-1)})),V=f((function(){return Object(a["createElementVNode"])("p",{class:"imgTitle"},"报表管理",-1)})),I=[B,V],_=f((function(){return Object(a["createElementVNode"])("img",{class:"img1",src:r.a,fit:"fill"},null,-1)})),T=f((function(){return Object(a["createElementVNode"])("p",{class:"imgTitle"},"新能源日报",-1)})),D=[_,T],S=f((function(){return Object(a["createElementVNode"])("img",{class:"img1",src:r.a,fit:"fill"},null,-1)})),z=f((function(){return Object(a["createElementVNode"])("p",{class:"imgTitle"},"新能源日报",-1)})),$=[S,z],A={class:"itemBox"},U=f((function(){return Object(a["createElementVNode"])("p",{class:"itemTitle"}," 专家知识 ",-1)})),P={class:"imageBox1"},R=f((function(){return Object(a["createElementVNode"])("img",{class:"img1",src:s.a,fit:"fill"},null,-1)})),L=f((function(){return Object(a["createElementVNode"])("p",{class:"imgTitle"},"故障体系",-1)})),M=[R,L],q=f((function(){return Object(a["createElementVNode"])("img",{class:"img1",src:s.a,fit:"fill"},null,-1)})),H=f((function(){return Object(a["createElementVNode"])("p",{class:"imgTitle"},"故障体系",-1)})),F=[q,H],J=f((function(){return Object(a["createElementVNode"])("img",{class:"img1",src:u.a,fit:"fill"},null,-1)})),G=f((function(){return Object(a["createElementVNode"])("p",{class:"imgTitle"},"预警知识",-1)})),W=[J,G],Y=f((function(){return Object(a["createElementVNode"])("img",{class:"img1",src:u.a,fit:"fill"},null,-1)})),K=f((function(){return Object(a["createElementVNode"])("p",{class:"imgTitle"},"预警知识",-1)})),Q=[Y,K],X=f((function(){return Object(a["createElementVNode"])("img",{class:"img1",src:p.a,fit:"fill"},null,-1)})),Z=f((function(){return Object(a["createElementVNode"])("p",{class:"imgTitle"},"特征参数",-1)})),ee=[X,Z],te=f((function(){return Object(a["createElementVNode"])("img",{class:"img1",src:p.a,fit:"fill"},null,-1)})),ne=f((function(){return Object(a["createElementVNode"])("p",{class:"imgTitle"},"特征参数",-1)})),ae=[te,ne],oe=f((function(){return Object(a["createElementVNode"])("img",{class:"img1",src:g.a,fit:"fill"},null,-1)})),ce=f((function(){return Object(a["createElementVNode"])("p",{class:"imgTitle"},"排查、检修方案",-1)})),ie=[oe,ce],re=f((function(){return Object(a["createElementVNode"])("img",{class:"img1",src:g.a,fit:"fill"},null,-1)})),le=f((function(){return Object(a["createElementVNode"])("p",{class:"imgTitle"},"排查、检修方案",-1)})),se=[re,le];function me(e,t,n,o,c,i){var r=Object(a["resolveComponent"])("el-carousel-item"),l=Object(a["resolveComponent"])("el-carousel");return Object(a["openBlock"])(),Object(a["createElementBlock"])("div",h,[Object(a["createVNode"])(l,{style:{width:"100%",margin:"5vh 0"},trigger:"click",type:"card",height:"80vh",autoplay:!1,"indicator-position":"none","initial-index":1,arrow:"none",onChange:i.changeSwiper},{default:Object(a["withCtx"])((function(){return[Object(a["createVNode"])(r,{style:Object(a["normalizeStyle"])("dark"===e.$store.state.themeName?"padding: 20px; background: rgb(4, 12, 11)":"padding: 20px; background: #fff")},{default:Object(a["withCtx"])((function(){return[Object(a["createElementVNode"])("div",j,[k,Object(a["createElementVNode"])("div",{class:"df-table",onClick:t[0]||(t[0]=function(e){return i.jumpUrl("/others/realSearch")})},[(Object(a["openBlock"])(!0),Object(a["createElementBlock"])(a["Fragment"],null,Object(a["renderList"])(c.wppointColumn,(function(e,t){return Object(a["openBlock"])(),Object(a["createElementBlock"])("div",{class:"sjcx-item",key:t},[Object(a["createElementVNode"])("div",O,Object(a["toDisplayString"])(e),1),Object(a["createElementVNode"])("div",N,Object(a["toDisplayString"])(c.wppointnum[t]),1)])})),128))])])]})),_:1},8,["style"]),Object(a["createVNode"])(r,{style:Object(a["normalizeStyle"])("dark"===e.$store.state.themeName?"padding: 20px; background: rgb(4, 12, 11)":"padding: 20px; background: #fff")},{default:Object(a["withCtx"])((function(){return[Object(a["createElementVNode"])("div",C,[v,Object(a["createElementVNode"])("div",y,["dark"===e.$store.state.themeName?(Object(a["openBlock"])(),Object(a["createElementBlock"])("div",{key:0,class:"imgItem1",onClick:t[1]||(t[1]=function(e){return i.jumpUrl("/others/statisticAnalysis")})},E)):Object(a["createCommentVNode"])("",!0),"light"===e.$store.state.themeName?(Object(a["openBlock"])(),Object(a["createElementBlock"])("div",{key:1,class:"imgItem1",onClick:t[2]||(t[2]=function(e){return i.jumpUrl("/others/statisticAnalysis")})},I)):Object(a["createCommentVNode"])("",!0),"dark"===e.$store.state.themeName?(Object(a["openBlock"])(),Object(a["createElementBlock"])("div",{key:2,class:"imgItem1",onClick:t[3]||(t[3]=function(e){return i.jumpUrl("/others/statisticAnalysis/daily")})},D)):Object(a["createCommentVNode"])("",!0),"light"===e.$store.state.themeName?(Object(a["openBlock"])(),Object(a["createElementBlock"])("div",{key:3,class:"imgItem1",onClick:t[4]||(t[4]=function(e){return i.jumpUrl("/others/statisticAnalysis/daily")})},$)):Object(a["createCommentVNode"])("",!0)])])]})),_:1},8,["style"]),Object(a["createVNode"])(r,{style:Object(a["normalizeStyle"])("dark"===e.$store.state.themeName?"padding: 20px; background: rgb(4, 12, 11)":"padding: 20px; background: #fff")},{default:Object(a["withCtx"])((function(){return[Object(a["createElementVNode"])("div",A,[U,Object(a["createElementVNode"])("div",P,["light"===e.$store.state.themeName?(Object(a["openBlock"])(),Object(a["createElementBlock"])("div",{key:0,class:"imgItem1",onClick:t[5]||(t[5]=function(e){return i.jumpUrl("/others/knowledge/knowledge")})},M)):Object(a["createCommentVNode"])("",!0),"dark"===e.$store.state.themeName?(Object(a["openBlock"])(),Object(a["createElementBlock"])("div",{key:1,class:"imgItem1",onClick:t[6]||(t[6]=function(e){return i.jumpUrl("/others/knowledge/knowledge")})},F)):Object(a["createCommentVNode"])("",!0),"light"===e.$store.state.themeName?(Object(a["openBlock"])(),Object(a["createElementBlock"])("div",{key:2,class:"imgItem1",onClick:t[7]||(t[7]=function(e){return i.jumpUrl("/others/knowledge/knowledge7")})},W)):Object(a["createCommentVNode"])("",!0),"dark"===e.$store.state.themeName?(Object(a["openBlock"])(),Object(a["createElementBlock"])("div",{key:3,class:"imgItem1",onClick:t[8]||(t[8]=function(e){return i.jumpUrl("/others/knowledge/knowledge7")})},Q)):Object(a["createCommentVNode"])("",!0),"light"===e.$store.state.themeName?(Object(a["openBlock"])(),Object(a["createElementBlock"])("div",{key:4,class:"imgItem1",onClick:t[9]||(t[9]=function(e){return i.jumpUrl("/others/knowledge/knowledge5")})},ee)):Object(a["createCommentVNode"])("",!0),"dark"===e.$store.state.themeName?(Object(a["openBlock"])(),Object(a["createElementBlock"])("div",{key:5,class:"imgItem1",onClick:t[10]||(t[10]=function(e){return i.jumpUrl("/others/knowledge/knowledge5")})},ae)):Object(a["createCommentVNode"])("",!0),"light"===e.$store.state.themeName?(Object(a["openBlock"])(),Object(a["createElementBlock"])("div",{key:6,class:"imgItem1",onClick:t[11]||(t[11]=function(e){return i.jumpUrl("/others/knowledge/knowledge6")})},ie)):Object(a["createCommentVNode"])("",!0),"dark"===e.$store.state.themeName?(Object(a["openBlock"])(),Object(a["createElementBlock"])("div",{key:7,class:"imgItem1",onClick:t[12]||(t[12]=function(e){return i.jumpUrl("/others/knowledge/knowledge6")})},se)):Object(a["createCommentVNode"])("",!0)])])]})),_:1},8,["style"])]})),_:1},8,["onChange"])])}var ue=n("c7eb"),de=n("1da1"),pe=(n("7db0"),n("d3b7"),n("1157")),be=n.n(pe),ge=(n("b0c0"),{class:"com-table"}),fe=["onClick"],he=["onMouseenter"];function je(e,t,n,o,c,i){var r=Object(a["resolveComponent"])("el-scrollbar"),l=Object(a["resolveComponent"])("el-pagination");return Object(a["openBlock"])(),Object(a["createElementBlock"])("table",ge,[Object(a["createElementVNode"])("thead",null,[Object(a["createElementVNode"])("tr",null,[(Object(a["openBlock"])(!0),Object(a["createElementBlock"])(a["Fragment"],null,Object(a["renderList"])(n.data.column,(function(e,t){return Object(a["openBlock"])(),Object(a["createElementBlock"])("th",{key:t,class:Object(a["normalizeClass"])({light:e.is_light}),style:Object(a["normalizeStyle"])({width:e.width}),onClick:function(t){return i.onSort(e)}},Object(a["toDisplayString"])(e.name),15,fe)})),128))])]),Object(a["createVNode"])(r,null,{default:Object(a["withCtx"])((function(){return[Object(a["createElementVNode"])("tbody",{style:Object(a["normalizeStyle"])({height:n.height})},[(Object(a["openBlock"])(!0),Object(a["createElementBlock"])(a["Fragment"],null,Object(a["renderList"])(i.tableData,(function(e,o){return Object(a["openBlock"])(),Object(a["createElementBlock"])("tr",{key:o},[(Object(a["openBlock"])(!0),Object(a["createElementBlock"])(a["Fragment"],null,Object(a["renderList"])(n.data.column,(function(n,o){return Object(a["openBlock"])(),Object(a["createElementBlock"])("td",{key:o,style:Object(a["normalizeStyle"])({width:n.width}),class:Object(a["normalizeClass"])({light:c.hoverRow==e||c.hoverCol==n,num:n.is_num,"always-light":n.is_light||e.is_light}),onMouseenter:function(t){return i.hover(e,n)},onMouseleave:t[0]||(t[0]=function(e){return i.leave()})},[(Object(a["openBlock"])(),Object(a["createBlock"])(Object(a["resolveDynamicComponent"])(n.type?n.type:"span"),Object(a["mergeProps"])(n.props,{innerHTML:i.template(n,e[n.field]),onClick:function(t){return i.onClick(n,e)}}),null,16,["innerHTML","onClick"]))],46,he)})),128))])})),128))],4)]})),_:1}),i.pageable?(Object(a["openBlock"])(),Object(a["createBlock"])(l,Object(a["mergeProps"])({key:0,class:"mg-t-8",onCurrentChange:i.handleCurrentChange,"current-page":c.currentPage,"page-size":n.pageSize,total:n.data.total},e.elPaggingProps),null,16,["onCurrentChange","current-page","page-size","total"])):Object(a["createCommentVNode"])("",!0)])}n("a9e3"),n("4e82");var ke={name:"ComTable",components:{},props:{data:Object,showHover:{type:Boolean,default:!0},showColHover:{type:Boolean,default:!1},canScroll:{type:Boolean,default:!0},pageSize:{type:Number,default:0},height:{type:String,default:""}},emits:{},data:function(){return{hoverRow:-1,hoverCol:-1,sortCol:"",sortType:"",currentPage:1}},computed:{tableData:function(){var e=this;if(""==this.sortCol)return this.data.data;var t=this.data.data;return t.sort((function(t,n){var a=1;return"ASC"==e.sortType?a=1:"DESC"==e.sortType&&(a=-1),t[e.sortCol]>n[e.sortCol]?1*a:t[e.sortCol]<n[e.sortCol]?-1*a:0})),t},pageable:function(){return 0!=this.pageSize},pages:function(){return this.pageable?parseInt(this.data.total/this.pageSize)+1:0},startRow:function(){return this.pageable?(this.currentPage-1)*this.pageSize:0},endRow:function(){return this.pageable?this.currentPage*this.pageSize:this.data.data.length}},methods:{clearCheckBox:function(e){this.$nextTick((function(){setTimeout((function(){for(var e=document.querySelectorAll(".curCheckBox"),t=0;t<e.length;t++)e[t].checked=!1}),e||300)}))},onClick:function(e,t){e.click&&e.click(event,t)},onSort:function(e){if(1==e.sortable)switch(this.sortCol=e.field,this.sortType){case"":this.sortType="DESC";break;case"DESC":this.sortType="ASC";break;case"ASC":this.sortType="";break}},template:function(e,t){return e.template?e.template(t):t},hover:function(e,t){this.showHover&&(this.hoverRow=e,this.showColHover&&(this.hoverCol=t))},leave:function(){this.hoverRow=-1,this.hoverCol=-1},handleCurrentChange:function(e){this.currentPage=e,this.$emit("onPagging",{pageIndex:this.currentPage,pageSize:this.pageSize,start:this.startRow,end:this.endRow})}},beforeCreate:function(){},created:function(){},beforeMount:function(){},mounted:function(){},beforeUpdate:function(){},updated:function(){}},Oe=n("6b0d"),Ne=n.n(Oe);const Ce=Ne()(ke,[["render",je]]);var ve=Ce,ye={name:"cutAnalyse",components:{ComTable:ve},data:function(){return{wppointnum:{},wppointColumn:{GJY_FDC:"高家堰风电场"},earlyAlarmData:{},earlyAlarmColumn:[{name:"升压站告警",key:"syzgj",url:"/others/alarmCenter/boosterAlarm"},{name:"升压站动作",key:"",url:"/others/alarmCenter/boosterAlarm"},{name:"限电事件",key:"xd",url:"/others/alarmCenter/xdgl"},{name:"停机事件",key:"tj",url:"/others/alarmCenter/tjsj"},{name:"状态转换记录",key:"zt",url:"/others/alarmCenter/ztzhjl"},{name:"风机告警",key:"fjgj",url:"/others/alarmCenter/scadaAlarm"},{name:"风机预警",key:"fjyj",url:"/others/alarmCenter/alarmcenter"},{name:"操作记录",key:"cz",url:"/others/alarmCenter/czjl"},{name:"光伏告警",key:"gfgj",url:"/others/alarmCenter/gfgj"}],tableData1:{column:[{name:"名称",field:"pointId",is_num:!1,is_light:!1,sortable:!0},{name:"发电量",field:"pointName",is_num:!1,is_light:!1,sortable:!0},{name:"设备结构",field:"timeDate",is_num:!1,is_light:!1,sortable:!0},{name:"关键参数",field:"value",is_num:!1,is_light:!1,sortable:!0}],data:[]},tableData2:{column:[{name:"状态",field:"pointId",is_num:!1,is_light:!1,sortable:!0},{name:"当日数量",field:"pointName",is_num:!1,is_light:!1,sortable:!0},{name:"类型",field:"timeDate",is_num:!1,is_light:!1,sortable:!0},{name:"等级",field:"value",is_num:!1,is_light:!1,sortable:!0}],data:[]},tableData3:{column:[{name:"名称",field:"pointId",is_num:!1,is_light:!1,sortable:!0},{name:"数量",field:"pointName",is_num:!1,is_light:!1,sortable:!0}],data:[]},tableData4:{column:[{name:"名称",field:"pointId",is_num:!1,is_light:!1,sortable:!0},{name:"数量",field:"pointName",is_num:!1,is_light:!1,sortable:!0}],data:[]},swiperIndex:1}},methods:{changeSwiper:function(e){var t=this;this.$nextTick((function(){var n=t.$store.state.themeName,a=be()(".swiperBox .el-carousel__item");a.eq(e).css({background:"dark"===n?"rgb(4, 12, 11)":"#fff",border:"dark"===n?"1px solid #05bb4c":"1px solid #36348e"});for(var o=0;o<a.length;o++)o!==e&&(a.eq(o).find(".el-carousel__mask").css({background:"dark"===n?"rgb(4, 12, 11)":"#fff"}),a.eq(o).css({background:"dark"===n?"rgb(4, 12, 11)":"#fff",border:"dark"===n?"1px solid rgba(5, 187, 76, 0.5)":"1px solid rgba(57, 54, 143, 0.5)"}))})),this.swiperIndex=e},jumpUrl:function(e){this.$router.push(e)},getTableData:function(){var e=this,t=[{index:1,pointId:"青山风电场",pointName:3763,timeDate:"1号机",value:"16.93"},{index:2,pointId:"石板泉风电场",pointName:4500,timeDate:"2号机",value:"20.56"},{index:3,pointId:"牛首山风电场",pointName:3863,timeDate:"3号机",value:"38"},{index:4,pointId:"香山风电场",pointName:3654,timeDate:"4号机",value:"54"},{index:5,pointId:"麻黄山风电场",pointName:1863,timeDate:"5号机",value:"18"}];e.tableData1.data=t;var n=[{index:1,pointId:"停机事件管理",pointName:11.93,timeDate:"升压站动作",value:"2"},{index:2,pointId:"限电管理",pointName:21.56,timeDate:"升压站告警",value:"5"},{index:3,pointId:"状态转换记录",pointName:82,timeDate:"风机告警",value:"3"},{index:4,pointId:"操作记录",pointName:54,timeDate:"风机预警",value:"1"}];e.tableData2.data=n;var a=[{index:1,pointId:"故障知识列表",pointName:16.93},{index:2,pointId:"安全措施知识",pointName:20.56},{index:3,pointId:"排查检修方案",pointName:38},{index:4,pointId:"预警知识",pointName:54},{index:5,pointId:"特征参数",pointName:44},{index:6,pointId:"风险辨识知识",pointName:24},{index:7,pointId:"作业指导知识",pointName:14}];e.tableData3.data=a;var o=[{index:1,pointId:"风电场站自定义",pointName:16.93},{index:2,pointId:"风电项目自定义",pointName:20.56},{index:3,pointId:"光伏场站自定义",pointName:38},{index:4,pointId:"光伏项目自定义",pointName:54}];e.tableData4.data=o},getWppointnum:function(){var e=this;e.API.requestData({method:"POST",subUrl:"yaw/getWppointnum",success:function(t){e.wppointnum=t.data}})},getEarlyAlarmData:function(){var e=this;return Object(de["a"])(Object(ue["a"])().mark((function t(){var n,a,o;return Object(ue["a"])().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e,t.next=3,n.API.requestData({method:"GET",baseURL:"http://192.168.1.18:8075/",subUrl:"alarm/count/todaycount",success:function(e){}});case 3:a=t.sent,o=a.data,e.earlyAlarmData=o.data;case 6:case"end":return t.stop()}}),t)})))()}},created:function(){},mounted:function(){var e=this,t=this;this.$nextTick((function(){setTimeout((function(){e.changeSwiper(1)}),200)})),t.getTableData()},unmounted:function(){},watch:{"$store.state.themeName":function(){var e=this;this.$nextTick((function(){setTimeout((function(){e.changeSwiper(e.swiperIndex,222)}),200)}))}}};n("1e63"),n("b68a");const xe=Ne()(ye,[["render",me],["__scopeId","data-v-1c66755e"]]);t["default"]=xe},a71d:function(e,t,n){e.exports=n.p+"static/img/xnyyb.a9e27786.png"},b68a:function(e,t,n){"use strict";n("e9af")},e290:function(e,t,n){},e9af:function(e,t,n){}}]);
- //# sourceMappingURL=globalMonitor.34ca5850.js.map
|