app.800e9dd6f9b940f21f80.js
27.9 KB
webpackJsonp([1],{"6VpE":function(t,e){},"90ti":function(t,e){},CC4Q:function(t,e){},CIBk:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB0AAAAlCAYAAAC+uuLPAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAAsSAAALEgHS3X78AAAENUlEQVRYw7WXTUxUVxTHf+fO8FGBwdQhCKMNdRyoiViZtEixKDbpRm0Cm5qQVNORLhrjponBpEXCpto26Q5dtJKR+JFuatuFJm0qUfxA2xSECi0wdMTykaAOIyDDADNdIARe35t5IP6Tu3j33Ht+95x3c+69ggnJVckGyoGdQD6QBaQDQWAQaAcagYvRndGhuP5iGdU19TpQDZQBFhPrmwG+B2ojOyL3lgS1NFmSgOPAYcBqJhsaTQNfA9UzJTPhuFDrdeta4CfgzWXAtLoNvDf99vSwITThRkIGcANwrQBwTn8DJVPbp+bB89DEm4mJQBNQuILAOd0CSsPF4TCAmqeLHBeRQhHhBbS3RKR2UaTJt5PzgT9Y3qYxqymgILQtdM/6LMpqI6BFLJxYf4KClAJCkVBMr8kqmZbxFo4+OMpMdEZrTgA+BSok5beUTOBfI+gB+wFyknKo7a/FjGocNfgn/Zx5eMYo2nVKlJSLEqsoQa95MjzUDddhZNe2uuE6PBkeI3uCKCm3KqV2Ga26KKWI3nAvgUgApRRmFIgE8IV9FKcV0zzerDdklxKRzUa7rtJeSf2j+iXv1vpH9Ry0HzSyb7YqpRx6y3EmOdmTvoeOyQ6KUotMRblQe9P34nrJhW/SpzWtkzV/ronqTbr06iUKVz1fnbjz9A67/9mt7Y4oEXmsl4bcpFwAOkIdVA1W0TXZFRfiD/upGqzibuguAHlJeXrpHVZKqTalFNpms9gAOD1yGm/Qi3fEGxd6NngWb9DLyccnAbBZbOj4/suqlLoClGodjEXGsCkbR+xHyEvKoyytLC700MuHyLRmsjttNqWjkVG9Xf+rZHVnuZg9CRadOOezz1O6qjQuKJaanjaxb2Cftvs1AXD0OBq10WZbs7mQfQFnghOAhicNjEXGYkJSVSr7bfsB6JnqoWKggoHpgYVDrvZv7C+1AiilvtJChyJD3J+6Pw89FTxF/3R/TKjD6piH9k31MRQZ0qb3S3h2tImSy6KkWVu2AtEAAKFoiFFG45bAIEEmohMABKIBrb1ZlFxm4X/M6ct5g9nrhbl6tzRFgG3+V/y/L4ICbHiw4Rug8gVAv+1d3/vR3MciqLPfmQF0AatXEDgC5Pocvv/fkebkGnR9ADSsIPTD7qxu78IO3Xtv7lDud8D7KwD8sWttV5m2U/e2oJT6GNgOOFi+BjHYH4bPik0PN70D/Iy554RWM8C7nfbORt2gjGZ12juvKFGfKVEso9UYAWNCAUTkCxG5uMSbww8i8nlMv/HylD+Sn85s0cgzkdZ2oKR9dXvwuaAAW4JbNgI3gYwYw4aB4rb0tp54/kxBAbY+2boD+AVI1DGHgdJWW+stM75M19lWW+s1EfGISFTzD6Mi4jELXBIUoCWt5ZyIHNZAP2lJazm3FD/Lknvcfcw97p5wj7uPLWf+f8jTNnmJJvoLAAAAAElFTkSuQmCC"},FSxx:function(t,e){},Jm5K:function(t,e){},NHnr:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var s={};a.d(s,"filterTotal",function(){return nt});var i=a("7+uW");var n={name:"VHeader",data:()=>({headerDay:function(){let t=new Date,e="";return e=t.getFullYear()+"-"+(t.getMonth()+1<10?"0"+(t.getMonth()+1):t.getMonth()+1)+"-"+(t.getDate()<10?"0"+t.getDate():t.getDate())}(),headerTime:function(){let t=new Date,e="";return e=(t.getHours()<10?"0"+t.getHours():t.getHours())+":"+(t.getMinutes()<10?"0"+t.getMinutes():t.getMinutes())+":"+(t.getSeconds()<10?"0"+t.getSeconds():t.getSeconds())}(),isFullscreen:!0}),methods:{FullScreen(t){this.isFullscreen?document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen?($("#canvasPaintArea").css("position","static").css("width","100%"),$(".buildingsFloor").css("width","70%"),$(".floor-plan").css("width","78%"),document.webkitExitFullscreen()):document.msRequestFullscreen||document.msExitFullscreen():t.requestFullscreen?t.requestFullscreen():t.mozRequestFullScreen?t.mozRequestFullScreen():t.webkitRequestFullscreen?($("#canvasPaintArea").css("position","absolute").css("width","94%"),$(".buildingsFloor").css("width","98%"),$(".floor-plan").css("width","90%"),t.webkitRequestFullscreen()):t.msRequestFullscreen&&t.msRequestFullscreen()},toggleFullScreen(t){this.isFullscreen=!this.isFullscreen;var e=t.srcElement||t.target;this.FullScreen(e)}}},r={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("header",{staticClass:"header-wrap"},[a("span",[t._v("车场实时概况")]),t._v(" "),a("div",{staticClass:"header-fullscreen",on:{click:function(e){return t.toggleFullScreen(e)}}},[t._v("全屏")]),t._v(" "),a("div",{staticClass:"header-time"},[a("p",[t._v(t._s(t.headerDay))]),t._v(" "),a("p",[t._v(t._s(t.headerTime))])])])},staticRenderFns:[]};var l=a("VU/8")(n,r,!1,function(t){a("pNS8")},"data-v-58e8e2ae",null).exports,o=a("oyF9"),c=a.n(o),d=a("Ztdi"),u=a.n(d),m=a("CIBk"),p=a.n(m),h={name:"VMap",props:["mapdata"],data:()=>({map:""}),mounted(){},watch:{mapdata:function(){this.$nextTick(()=>{this.drawMap()})}},methods:{initMap(){},drawMap(){let t=this.mapdata,e=this.map;console.log(this.mapdata),e=new BMap.Map("map",{enableMapClick:!1});var a=new BMap.Point(t[0].lonId,t[0].latId);e.centerAndZoom(a,22);e.enableScrollWheelZoom(!1),e.setMapStyle({style:"midnight"}),e.clearOverlays();var s=0,i=[];for(var n in t)!function(a){var r,l=new BMap.Point(t[n].lonId,t[n].latId);if(i[s]=l,t[n].freeBrethNum/t[n].plBerthNum==0|0==t[n].freeBrethNum)var o=new BMap.Icon(p.a,new BMap.Size(29,40),{offset:new BMap.Size(10,40),textColor:"#fff"}),d=new BMap.Marker(l,{icon:o});else if(t[n].freeBrethNum/t[n].plBerthNum<=.3)o=new BMap.Icon(u.a,new BMap.Size(29,40),{offset:new BMap.Size(10,40),textColor:"#fff"}),d=new BMap.Marker(l,{icon:o});else o=new BMap.Icon(c.a,new BMap.Size(29,40),{offset:new BMap.Size(10,40),textColor:"#fff"}),d=new BMap.Marker(l,{icon:o});d.setTop(!0,27e6),e.addOverlay(d),e.removeOverlay(r),(r=new BMap.Label(`<div class="dialog-wrap">\n <div class="dialog-header" title="${t[n].plAddress}">${t[n].plName}</div>\n <div class="dialog-address" title="${t[n].plAddress}">${t[n].plAddress}</div>\n <ul class="dislog-body">\n <li><div>${t[n].freeBrethNum}</div><div>空闲</div></li>\n <li></li>\n <li><div>${t[n].plBerthNum}</div><div>总数</div></li>\n </ul>\n <div class="dislog-footer">停车场收入:${t[n].income}元</div>\n <div class="dislog-footer">停车场欠费:${t[n].arreageincome}元</div>\n </div>`,{offset:new BMap.Size(-225,-55),position:l})).setStyle({padding:"0",backgroundColor:"",border:"0px",zIndex:"1000"}),d.setLabel(r),d.setTop(!0,27e6),s++}()}}},A={render:function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"map-wrap",attrs:{id:"map"}})},staticRenderFns:[]};var v=a("VU/8")(h,A,!1,function(t){a("rgm0")},"data-v-1c60c698",null).exports,f={render:function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"theme-title"},[this._t("default")],2)},staticRenderFns:[]};var g=a("VU/8")({name:"CardTitle"},f,!1,function(t){a("90ti")},"data-v-860e3c00",null).exports,b={name:"AccountNum",props:["totalnum"],data:()=>({}),created(){},computed:{total(){return function(t){let e=t.toString(),a="",s=0;for(let t=e.length-1;t>=0;t--)a=s%3==0&&0!=s?e.charAt(t)+","+a:e.charAt(t)+a,s++;return a.split("")}(this.totalnum)}}},C={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"total-wrap"},[t._t("default"),t._v(" "),a("div",{staticClass:"total-main"},t._l(t.total,function(e,s){return a("div",{key:s+Math.random(),class:","!==e?"eleNumBg":"noeleNumBg"},[t._v("\n "+t._s(e)+"\n ")])}),0)],2)},staticRenderFns:[]};var w=a("VU/8")(b,C,!1,function(t){a("NgJJ")},"data-v-2bacf61f",null).exports,F={name:"VParking",components:{CardTitle:g,AccountNum:w},props:["total","rodeside","rodeclose"],data:()=>({}),created(){},watch:{}},y={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"theme-wrap"},[a("card-title",[a("span",[t._v("停车场消息")])]),t._v(" "),a("div",{staticClass:"theme-body"},[a("account-num",{attrs:{totalnum:t.total}},[a("span",[t._v("总计")])]),t._v(" "),a("ul",{staticClass:"theme-container"},[a("li",{staticClass:"roadside"},[a("p",[t._v(t._s(t._f("filterTotal")(t.rodeside)))]),t._v(" "),a("p",[t._v("路侧")])]),t._v(" "),a("li",{staticClass:"roadclose"},[a("p",[t._v(t._s(t._f("filterTotal")(t.rodeclose)))]),t._v(" "),a("p",[t._v("封闭")])])])],1)],1)},staticRenderFns:[]};var _=a("VU/8")(F,y,!1,function(t){a("pHlw")},"data-v-7f9d642d",null).exports,B={name:"VToll",components:{CardTitle:g,AccountNum:w},props:["total","tollsign","tollnosign"],data:()=>({})},N={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"theme-wrap"},[a("card-title",[a("span",[t._v("收费员消息")])]),t._v(" "),a("div",{staticClass:"theme-body"},[a("account-num",{attrs:{totalnum:t.total}},[a("span",[t._v("应签到")])]),t._v(" "),a("ul",{staticClass:"theme-container"},[a("li",{staticClass:"roadside"},[a("p",[t._v(t._s(t._f("filterTotal")(t.tollsign)))]),t._v(" "),a("p",[t._v("已签到")])]),t._v(" "),a("li",{staticClass:"roadclose"},[a("p",[t._v(t._s(t._f("filterTotal")(t.tollnosign)))]),t._v(" "),a("p",[t._v("未签到")])])])],1)],1)},staticRenderFns:[]};var x=a("VU/8")(B,N,!1,function(t){a("CC4Q")},"data-v-8f262c18",null).exports;var S={name:"VInout",components:{CardTitle:g,AccountNum:w},props:["inoutmsg","inouttime","imgUrl"],data:()=>({}),filters:{formatDate:t=>(function(t,e){/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(t.getFullYear()+"").substr(4-RegExp.$1.length)));let a={"M+":t.getMonth()+1,"d+":t.getDate(),"h+":t.getHours(),"m+":t.getMinutes(),"s+":t.getSeconds()};for(let t in a)if(new RegExp(`(${t})`).test(e)){let s=a[t]+"";e=e.replace(RegExp.$1,1===RegExp.$1.length?s:("00"+(s=s)).substr(s.length))}var s;return e})(new Date(t),"yyyy-MM-dd hh:mm")}},D={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"theme-wrap"},[a("card-title",[a("span",[t._v("进出场消息")])]),t._v(" "),a("div",{staticClass:"theme-body"},[a("div",{staticClass:"access-title"},[a("p",[a("span",[a("span",{staticClass:"access-icon"}),t._v(t._s(t.inoutmsg)+" ")]),t._v(" "),a("span",[t._v(t._s(t._f("formatDate")(t.inouttime)))])])]),t._v(" "),a("div",{staticClass:"access-img",style:{backgroundImage:"url("+t.imgUrl+")"}})])],1)},staticRenderFns:[]};var T=a("VU/8")(S,D,!1,function(t){a("dZwW")},"data-v-2f12cd1d",null).exports,I=a("XLwt"),k=a.n(I);function E(t,e,a){let s,i,n,r,l;const o=function(){const c=+new Date-r;c<e&&c>0?s=setTimeout(o,e-c):(s=null,a||(l=t.apply(n,i),s||(n=i=null)))};return function(...i){n=this,r=+new Date;const c=a&&!s;return s||(s=setTimeout(o,e)),c&&(l=t.apply(n,i),n=i=null),l}}a("tcAE");var q={name:"barChart",props:{className:{type:String,default:"chart"},width:{type:String,default:"100%"},height:{type:String,default:"100%"},autoResize:{type:Boolean,default:!0},chartData:{type:Object,required:!0}},data:()=>({chart:null}),watch:{chartData:function(){this.$nextTick(()=>{this.initChart()})}},mounted(){this.initChart(),this.autoResize&&(this.__resizeHandler=E(()=>{this.chart&&this.chart.resize()},100),window.addEventListener("resize",this.__resizeHandler))},beforeDestroy(){this.chart&&(this.autoResize&&window.removeEventListener("resize",this.__resizeHandler),this.chart.dispose(),this.chart=null)},methods:{setOptions({seriesData:t,total:e}={}){console.log(t),this.chart.setOption({grid:{top:0,left:0,right:"20",bottom:-10,containLabel:!0},title:{show:!1},xAxis:{show:!1,nameGap:0},yAxis:[{show:!0,nameLocation:"start",data:[{value:"支付宝",textStyle:{color:"#01AEFE"}},{value:" 微 信 ",textStyle:{color:"#06C406"}},{value:" 其 它 ",textStyle:{color:"#FFAB00"}}],inverse:!0,axisLine:{show:!1},splitLine:{show:!1},axisTick:{show:!1},axisLabel:{}},{show:!0,inverse:!0,data:[{value:t[0],textStyle:{color:"#01AEFE"}},{value:t[1],textStyle:{color:"#06C406"}},{value:t[2],textStyle:{color:"#FFAB00"}}],axisLabel:{textStyle:{fontSize:12}},axisLine:{show:!1},splitLine:{show:!1},axisTick:{show:!1}}],series:[{name:"条",type:"bar",yAxisIndex:0,data:t,data:[{value:t[0],itemStyle:{normal:{color:{type:"linear",x:0,x1:1,colorStops:[{offset:0,color:"#2772F4"},{offset:1,color:"#00CAFE"}]}}}},{value:t[1],itemStyle:{normal:{color:{type:"linear",x:0,x1:1,colorStops:[{offset:0,color:"#02C202"},{offset:1,color:"#51EC51"}]}}}},{value:t[2],itemStyle:{normal:{color:{type:"linear",x:0,x1:1,colorStops:[{offset:0,color:"#FD8811"},{offset:1,color:"#FFAB00"}]}}}}],barWidth:"40%",label:{normal:{show:!1}}},{name:"框",type:"bar",yAxisIndex:1,barGap:"-100%",data:[e,e,e],barWidth:"40%",itemStyle:{normal:{color:"none",borderColor:"#157ADB",borderWidth:.5}}}]})},initChart(){this.chart=k.a.init(this.$el),this.setOptions(this.chartData)}}},V={render:function(){var t=this.$createElement;return(this._self._c||t)("div",{class:this.className,style:{height:this.height,width:this.width}})},staticRenderFns:[]},R={name:"VIncome",components:{CardTitle:g,AccountNum:w,barChart:a("VU/8")(q,V,!1,null,null,null).exports},props:["total","barChartData"],data:()=>({}),mounted(){},methods:{}},M={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"theme-wrap"},[e("card-title",[e("span",[this._v("收入消息")])]),this._v(" "),e("div",{staticClass:"theme-body"},[e("account-num",{attrs:{totalnum:this.total}},[e("span",[this._v("总计")])]),this._v(" "),e("div",{staticClass:"income-echart",attrs:{id:"income-echart"}},[e("bar-chart",{attrs:{"chart-data":this.barChartData}})],1)],1)],1)},staticRenderFns:[]};var P=a("VU/8")(R,M,!1,function(t){a("n8fJ")},"data-v-ccc8222e",null).exports;a("tcAE");var z={name:"PieEchart",props:{className:{type:String,default:"chart"},width:{type:String,default:"100%"},height:{type:String,default:"100%"},autoResize:{type:Boolean,default:!0},chartData:{type:Object,required:!0}},data:()=>({chart:null}),watch:{chartData:function(){this.$nextTick(()=>{this.initChart()})}},mounted(){this.initChart(),this.autoResize&&(this.__resizeHandler=E(()=>{this.chart&&this.chart.resize()},100),window.addEventListener("resize",this.__resizeHandler))},beforeDestroy(){this.chart&&(this.autoResize&&window.removeEventListener("resize",this.__resizeHandler),this.chart.dispose(),this.chart=null)},methods:{setOptions({yData:t}={}){if(0==t[0])var e="0%";else e=(t[0]/(t[0]+t[1])*100).toFixed(2)+"%";this.chart.setOption({tooltip:{show:!1},series:[{type:"pie",radius:["60%","75%"],center:["50%","50%"],hoverAnimation:!1,label:{show:!1},lableLine:{show:!1},data:[{value:t[0],name:"空余",itemStyle:{normal:{color:{colorStops:[{offset:0,color:"#00CAFE"},{offset:1,color:"#2772F4"}]}}}},{value:t[1],name:"占有",itemStyle:{normal:{color:{colorStops:[{offset:0,color:"#FFBA00"},{offset:1,color:"#FF8100"}]}}}}],animationType:"scale",animationEasing:"elasticOut"},{name:"",type:"pie",clockWise:!0,hoverAnimation:!1,radius:["90%","90%"],label:{normal:{position:"center"}},data:[{value:0,label:{normal:{formatter:e,textStyle:{color:"#fe8b53",fontSize:18,fontWeight:"normal"}}}},{tooltip:{show:!1},label:{normal:{formatter:"\n占有",textStyle:{color:"#bbeaf9",fontSize:12}}}}]}]})},initChart(){this.chart=k.a.init(this.$el),this.setOptions(this.chartData)}}},O={render:function(){var t=this.$createElement;return(this._self._c||t)("div",{class:this.className,style:{height:this.height,width:this.width}})},staticRenderFns:[]},U={name:"VBerth",components:{CardTitle:g,AccountNum:w,PieEchart:a("VU/8")(z,O,!1,null,null,null).exports},props:["total","pieChartData"],data:()=>({}),mounted(){},methods:{}},L={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"theme-wrap"},[a("card-title",[a("span",[t._v("泊位消息")])]),t._v(" "),a("div",{staticClass:"theme-body"},[a("account-num",{attrs:{totalnum:t.total}},[a("span",[t._v("总计")])]),t._v(" "),a("ul",{staticClass:"income-echart"},[a("li",[a("pie-echart",{attrs:{"chart-data":t.pieChartData}})],1),t._v(" "),a("li",{staticClass:"berth-inf"},[a("p",[a("span",{staticClass:"free-berth"},[t._v(t._s(t._f("filterTotal")(t.pieChartData.yData[0])))]),a("span",[t._v("空余")])]),t._v(" "),a("p",[a("span",{staticClass:"buss-berth"},[t._v(t._s(t._f("filterTotal")(t.pieChartData.yData[1])))]),a("span",[t._v("占有")])])])])],1)],1)},staticRenderFns:[]};var Q=a("VU/8")(U,L,!1,function(t){a("Jm5K")},"data-v-ba395fd2",null).exports,J={name:"VEquipment",components:{CardTitle:g},props:["equipment"],data:()=>({equipvalue:""}),mounted(){},watch:{equipment:{handler(t){},deep:!0}},methods:{}},W={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"theme-wrap"},[a("card-title",[a("span",[t._v("设备监控消息")])]),t._v(" "),a("ul",{staticClass:"theme-body",staticStyle:{padding:"10px 20px 20px 0"}},[a("li",{staticClass:"equipment-section"},[a("div",{staticClass:"normal-status front"},[a("p",{staticClass:"text-blue"},[t._v(t._s(t.equipment.pdaper)+"%")]),t._v(" "),a("p",[t._v("PDA在线率")])]),t._v(" "),a("div",{staticClass:"rotate-status back"},[a("p",{staticClass:"text-blue"},[t._v(t._s(t.equipment.PDA)+"/"+t._s(t.equipment.PDATotal))]),t._v(" "),a("p",[t._v("PDA/PDA在线")])])]),t._v(" "),a("li",{staticClass:"equipment-section"},[a("div",{staticClass:"normal-status front"},[a("p",{staticClass:"text-blue"},[t._v(t._s(t.equipment.berthper)+"%")]),t._v(" "),a("p",[t._v("地磁在线率")])]),t._v(" "),a("div",{staticClass:"rotate-status back"},[a("p",{staticClass:"text-blue"},[t._v(t._s(t.equipment.berth)+"/"+t._s(t.equipment.berthTotal))]),t._v(" "),a("p",[t._v("地磁/地磁")])])]),t._v(" "),a("li",{staticClass:"equipment-section"},[a("div",{staticClass:"normal-status front"},[a("p",{staticClass:"text-orange"},[t._v(t._s(t.equipment.daozhaper)+"%")]),t._v(" "),a("p",[t._v("道闸在线率")])]),t._v(" "),a("div",{staticClass:"rotate-status back"},[a("p",{staticClass:"text-orange"},[t._v(t._s(t.equipment.daozha)+"/"+t._s(t.equipment.daozhaTotal))]),t._v(" "),a("p",[t._v("道闸/道闸在线")])])]),t._v(" "),a("li",{staticClass:"equipment-section"},[a("div",{staticClass:"normal-status front"},[a("p",{staticClass:"text-orange"},[t._v(t._s(t.equipment.ydpper)+"%")]),t._v(" "),a("p",[t._v("诱导屏在线率")])]),t._v(" "),a("div",{staticClass:"rotate-status back"},[a("p",{staticClass:"text-orange"},[t._v(t._s(t.equipment.ydp)+"/"+t._s(t.equipment.ydpTotal))]),t._v(" "),a("p",[t._v("诱导屏/诱导屏在线")])])])])],1)},staticRenderFns:[]};var G=a("VU/8")(J,W,!1,function(t){a("NxNS")},"data-v-04b2bf3f",null).exports,H=a("mtWM"),j=a.n(H),K=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var a=arguments[e];for(var s in a)Object.prototype.hasOwnProperty.call(a,s)&&(t[s]=a[s])}return t};let Y;const X=j.a.CancelToken;function Z(t,e){return new Promise((a,s)=>{j()({method:"post",url:t,data:e,cancelToken:new X(t=>{Y=t})}).then(t=>{a(t)})})}j.a.interceptors.request.use(t=>(t.headers["x-auth-token"]="6840160c-7c45-42c4-8736-805f13487565",t.data=K({},t.data),t),t=>Promise.reject(t)),j.a.interceptors.response.use(t=>t,t=>{if(t.messages="",t&&t.response)switch(t.response.status){case 400:t.messages="错误请求";break;case 401:t.messages="未授权,请重新登录";break;case 403:t.messages="拒绝访问";break;case 404:t.messages="请求错误,未找到该资源";break;case 405:t.messages="请求方法未允许";break;case 408:t.messages="请求超时";break;case 500:t.messages="服务器端出错";break;case 501:t.messages="网络未实现";break;case 502:t.messages="网络错误";break;case 503:t.messages="服务不可用";break;case 504:t.messages="网络超时";break;case 505:t.messages="http版本不支持该请求";break;default:t.messages=`连接错误${t.response.status}`}else t.messages="连接到服务器失败";return Promise.resolve(t)}),j.a.defaults.baseURL="http://39.98.54.240:8093/",j.a.defaults.timeout=1e4;var tt={name:"VHome",components:{VHeader:l,VMap:v,VParking:_,VToll:x,VInout:T,VIncome:P,VBerth:Q,VEquipment:G},data:()=>({parkingTotal:0,rodeside:0,rodeclose:0,tollTotal:0,tollsign:0,tollnosign:0,inoutmsg:"万达广场停车场1 京A231231",inouttime:"08:00",imgUrl:"https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1552297151876&di=fcc094f43d6caaf4b9526dabbefd1243&imgtype=0&src=http%3A%2F%2F5b0988e595225.cdn.sohucs.com%2Fimages%2F20190124%2F1fc9d7e14be54986b9e2e055a2b5ccc1.jpeg",incometotal:0,barChartData:{seriesData:[0,0,0],total:1},bertotal:0,pieChartData:{yData:[0,0],legendData:["空余","占有"]},equipment:{PDA:150,PDATotal:3e3,pdaper:100,berth:150,berthTotal:2300,berthper:100,daozha:150,daozhaTotal:1300,daozhaper:100,ydp:150,ydpTotal:300,ydpper:100},ditudata:[{Name:"万达停车场1",lonId:"111.742579",latId:"40.818675",status:0,freeBrethNum:0,plBerthNum:1e3,plName:"万达广场停车场1",plAddress:"北京万达广场1",income:123,arreageincome:100},{Name:"万达停车场2",lonId:"111.622579",latId:"40.878675",status:1,freeBrethNum:100,plBerthNum:800,plName:"万达广场停车场2",plAddress:"北京万达广场2",income:123,arreageincome:100},{Name:"万达停车场333333",lonId:"111.782579",latId:"40.778675",status:2,freeBrethNum:300,plBerthNum:500,plName:"万达广场停车场3",plAddress:"北京万达广场3",income:123,arreageincome:100}]}),mounted(){this.initView(),this.setmethod()},methods:{initView(){(t=>Z("urban/intelligence/park/queryParkNumInfoStatisticByOrgIds",t))({orgIds:this.GLOBAL.orignId}).then(t=>{let e=t.data.data;this.parkingTotal=e.allNum,this.rodeside=e.lcNum,this.rodeclose=e.fbNum}).catch(t=>{console.log(t)}),(t=>Z("urban/intelligence/employee/queryEmployeeStaByOrgIds",t))({orgIds:this.GLOBAL.orignId}).then(t=>{let e=t.data.data;this.tollTotal=e.allTollCollector,this.tollsign=e.signInTollCollector,this.tollnosign=e.unSignInTollCollector}).catch(t=>{console.log(t)}),(t=>Z("urban/intelligence/orderPark/queryLastOrderPark",t))({orgIds:["10078","10003"]}).then(t=>{let e=t.data.data;console.log(t);let a=e[0];10==a.parkState?(a.parkState="进场",this.inouttime=a.parkInTime,this.imgUrl=a.inCarUrl):(a.parkState="出场",this.inouttime=a.parkOutTime,this.imgUrl=a.outCarUrl),this.inoutmsg=a.plName+" "+a.carNumber+" "+a.parkState}).catch(t=>{console.log(t)}),(t=>Z("urban/intelligence/income/queryIncomeStaByOrgIds",t))({orgIds:this.GLOBAL.orignId}).then(t=>{let e=t.data.data;this.incometotal=e.totalPay,this.barChartData={seriesData:[e.aliPay,e.wxPay,e.otherPay],total:1}}).catch(t=>{console.log(t)}),(t=>Z("urban/intelligence/berth/queryBerthStatisticByOrgIds",t))({orgIds:this.GLOBAL.orignId}).then(t=>{let e=t.data.data;this.bertotal=e.allBerthNum,this.pieChartData={yData:[e.freeBerthNum,e.isOccupyBertnNum]}}).catch(t=>{console.log(t)}),(t=>Z("urban/intelligence/park/queryParkDetailInfoByOrgIds",t))({orgIds:this.GLOBAL.orignId}).then(t=>{let e=t.data.data;var a=[];for(var s in e){var i=e[s],n={Name:i.parkInfo.plName,lonId:i.parkInfo.lonId,latId:i.parkInfo.latId,status:0,freeBrethNum:i.realTimeInfoDTO.berthFreeNum,plBerthNum:i.realTimeInfoDTO.berthNum,plName:i.parkInfo.plName,plAddress:i.parkInfo.plAddress,income:(i.realTimeInfoDTO.allIncome/100).toFixed(2),arreageincome:i.realTimeInfoDTO.escapeFee.toFixed(2)};a.push(n)}this.ditudata=a,console.log(this.ditudata)}).catch(t=>{console.log(t)}),(t=>Z("urban/intelligence/device/queryDeviceStatistic",t))({orgIds:this.GLOBAL.orignId}).then(t=>{let e=t.data.data;if(0==e[0].onNum)var a=0;else a=(e[0].onNum/e[0].num*100).toFixed(2);if(0==e[1].onNum)var s=0;else s=(e[1].onNum/e[1].num*100).toFixed(2);if(0==e[2].onNum);else(e[1].onNum/e[1].num*100).toFixed(2);if(0==e[2].onNum);else(e[1].onNum/e[1].num*100).toFixed(2);this.$set(this.equipment,"PDA",e[0].onNum),this.$set(this.equipment,"PDATotal",e[0].num),this.$set(this.equipment,"pdaper",a),this.$set(this.equipment,"berth",e[1].onNum),this.$set(this.equipment,"berthTotal",e[1].num),this.$set(this.equipment,"berthper",s),this.$set(this.equipment,"daozha",e[2].onNum),this.$set(this.equipment,"daozhaTotal",e[2].num),this.$set(this.equipment,"daozhaper",s),this.$set(this.equipment,"ydp",e[3].onNum),this.$set(this.equipment,"ydpTotal",e[3].num),this.$set(this.equipment,"ydpper",s)}).catch(t=>{console.log(t)})},setmethod(){setInterval(()=>{this.initView()},1e4)}}},et={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"main-content"},[a("v-header"),t._v(" "),a("ul",{staticClass:"main-wrap"},[a("li",{staticClass:"main-left"},[a("div",{staticClass:"frame-wrap"},[a("v-parking",{attrs:{total:t.parkingTotal,rodeside:t.rodeside,rodeclose:t.rodeclose}})],1),t._v(" "),a("div",{staticClass:"frame-wrap frame-wrap-center"},[a("v-toll",{attrs:{total:t.tollTotal,tollsign:t.tollsign,tollnosign:t.tollnosign}})],1),t._v(" "),a("div",{staticClass:"frame-wrap"},[a("v-inout",{attrs:{inoutmsg:t.inoutmsg,inouttime:t.inouttime,imgUrl:t.imgUrl}})],1)]),t._v(" "),a("li",{staticClass:"main-center"},[a("v-map",{attrs:{mapdata:t.ditudata}})],1),t._v(" "),a("li",{staticClass:"main-right"},[a("div",{staticClass:"frame-wrap"},[a("v-income",{attrs:{total:t.incometotal,barChartData:t.barChartData}})],1),t._v(" "),a("div",{staticClass:"frame-wrap frame-wrap-center"},[a("v-berth",{attrs:{total:t.bertotal,pieChartData:t.pieChartData}})],1),t._v(" "),a("div",{staticClass:"frame-wrap"},[a("v-equipment",{attrs:{equipment:t.equipment}})],1)])])],1)},staticRenderFns:[]};var at={name:"App",components:{VHome:a("VU/8")(tt,et,!1,function(t){a("bEhF")},"data-v-7ed214b4",null).exports}},st={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{attrs:{id:"app"}},[e("v-home")],1)},staticRenderFns:[]};var it=a("VU/8")(at,st,!1,function(t){a("FSxx")},null,null).exports;function nt(t){let e=t.toString(),a="",s=0;for(let t=e.length-1;t>=0;t--)a=s%3==0&&0!=s?e.charAt(t)+","+a:e.charAt(t)+a,s++;return a}var rt={orignId:["10078"]};a("6VpE"),Object.keys(s).forEach(t=>{i.a.filter(t,s[t])}),i.a.prototype.GLOBAL=rt,i.a.config.productionTip=!1,new i.a({el:"#app",components:{App:it},template:"<App/>"})},NgJJ:function(t,e){},NxNS:function(t,e){},Ztdi:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB0AAAAlCAYAAAC+uuLPAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0Q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