chunk-2a31d040.043d9c9c.js 21 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2a31d040"],{"28b6":function(e,t,a){"use strict";a("818f")},"818f":function(e,t,a){},ae79:function(e,t,a){"use strict";var n=a("7a23");function o(e,t,a,o,s,r){return Object(n["openBlock"])(),Object(n["createBlock"])("span")}var s=function(){return(s=Object.assign||function(e){for(var t,a=1,n=arguments.length;a<n;a++)for(var o in t=arguments[a])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},r=function(){function e(e,t,a){var n=this;this.target=e,this.endVal=t,this.options=a,this.version="2.0.8",this.defaults={startVal:0,decimalPlaces:0,duration:2,useEasing:!0,useGrouping:!0,smartEasingThreshold:999,smartEasingAmount:333,separator:",",decimal:".",prefix:"",suffix:""},this.finalEndVal=null,this.useEasing=!0,this.countDown=!1,this.error="",this.startVal=0,this.paused=!0,this.count=function(e){n.startTime||(n.startTime=e);var t=e-n.startTime;n.remaining=n.duration-t,n.useEasing?n.countDown?n.frameVal=n.startVal-n.easingFn(t,0,n.startVal-n.endVal,n.duration):n.frameVal=n.easingFn(t,n.startVal,n.endVal-n.startVal,n.duration):n.countDown?n.frameVal=n.startVal-(n.startVal-n.endVal)*(t/n.duration):n.frameVal=n.startVal+(n.endVal-n.startVal)*(t/n.duration),n.countDown?n.frameVal=n.frameVal<n.endVal?n.endVal:n.frameVal:n.frameVal=n.frameVal>n.endVal?n.endVal:n.frameVal,n.frameVal=Number(n.frameVal.toFixed(n.options.decimalPlaces)),n.printValue(n.frameVal),t<n.duration?n.rAF=requestAnimationFrame(n.count):null!==n.finalEndVal?n.update(n.finalEndVal):n.callback&&n.callback()},this.formatNumber=function(e){var t,a,o,s,r=e<0?"-":"";t=Math.abs(e).toFixed(n.options.decimalPlaces);var c=(t+="").split(".");if(a=c[0],o=c.length>1?n.options.decimal+c[1]:"",n.options.useGrouping){s="";for(var i=0,l=a.length;i<l;++i)0!==i&&i%3==0&&(s=n.options.separator+s),s=a[l-i-1]+s;a=s}return n.options.numerals&&n.options.numerals.length&&(a=a.replace(/[0-9]/g,(function(e){return n.options.numerals[+e]})),o=o.replace(/[0-9]/g,(function(e){return n.options.numerals[+e]}))),r+n.options.prefix+a+o+n.options.suffix},this.easeOutExpo=function(e,t,a,n){return a*(1-Math.pow(2,-10*e/n))*1024/1023+t},this.options=s(s({},this.defaults),a),this.formattingFn=this.options.formattingFn?this.options.formattingFn:this.formatNumber,this.easingFn=this.options.easingFn?this.options.easingFn:this.easeOutExpo,this.startVal=this.validateValue(this.options.startVal),this.frameVal=this.startVal,this.endVal=this.validateValue(t),this.options.decimalPlaces=Math.max(this.options.decimalPlaces),this.resetDuration(),this.options.separator=String(this.options.separator),this.useEasing=this.options.useEasing,""===this.options.separator&&(this.options.useGrouping=!1),this.el="string"==typeof e?document.getElementById(e):e,this.el?this.printValue(this.startVal):this.error="[CountUp] target is null or undefined"}return e.prototype.determineDirectionAndSmartEasing=function(){var e=this.finalEndVal?this.finalEndVal:this.endVal;this.countDown=this.startVal>e;var t=e-this.startVal;if(Math.abs(t)>this.options.smartEasingThreshold){this.finalEndVal=e;var a=this.countDown?1:-1;this.endVal=e+a*this.options.smartEasingAmount,this.duration=this.duration/2}else this.endVal=e,this.finalEndVal=null;this.finalEndVal?this.useEasing=!1:this.useEasing=this.options.useEasing},e.prototype.start=function(e){this.error||(this.callback=e,this.duration>0?(this.determineDirectionAndSmartEasing(),this.paused=!1,this.rAF=requestAnimationFrame(this.count)):this.printValue(this.endVal))},e.prototype.pauseResume=function(){this.paused?(this.startTime=null,this.duration=this.remaining,this.startVal=this.frameVal,this.determineDirectionAndSmartEasing(),this.rAF=requestAnimationFrame(this.count)):cancelAnimationFrame(this.rAF),this.paused=!this.paused},e.prototype.reset=function(){cancelAnimationFrame(this.rAF),this.paused=!0,this.resetDuration(),this.startVal=this.validateValue(this.options.startVal),this.frameVal=this.startVal,this.printValue(this.startVal)},e.prototype.update=function(e){cancelAnimationFrame(this.rAF),this.startTime=null,this.endVal=this.validateValue(e),this.endVal!==this.frameVal&&(this.startVal=this.frameVal,this.finalEndVal||this.resetDuration(),this.finalEndVal=null,this.determineDirectionAndSmartEasing(),this.rAF=requestAnimationFrame(this.count))},e.prototype.printValue=function(e){var t=this.formattingFn(e);"INPUT"===this.el.tagName?this.el.value=t:"text"===this.el.tagName||"tspan"===this.el.tagName?this.el.textContent=t:this.el.innerHTML=t},e.prototype.ensureNumber=function(e){return"number"==typeof e&&!isNaN(e)},e.prototype.validateValue=function(e){var t=Number(e);return this.ensureNumber(t)?t:(this.error="[CountUp] invalid start or end value: "+e,null)},e.prototype.resetDuration=function(){this.startTime=null,this.duration=1e3*Number(this.options.duration),this.remaining=this.duration},e}();const c=e=>t=>Object.prototype.toString.call(t)===`[object ${e}]`,i=c("Function");var l={__countup__:r,name:"EleCountUp",emits:["ready"],props:{delay:{type:Number,required:!1,default:0},endVal:{type:Number,required:!0},options:{type:Object,required:!1}},data(){return{instance:null}},watch:{endVal:{handler(e){const t=this;t.instance&&i(t.instance.update)&&t.instance.update(e)},deep:!1}},methods:{create(){const e=this;if(e.instance)return;const t=e.$el,a=new r(t,e.endVal,e.options);a.error||(e.instance=a,e.delay<0?e.$emit("ready",a,r):setTimeout(()=>a.start(()=>e.$emit("ready",a,r)),e.delay))},destroy(){const e=this;e.instance=null},printValue(e){const t=this;if(t.instance&&i(t.instance.printValue))return t.instance.printValue(e)},start(e){const t=this;if(t.instance&&i(t.instance.start))return t.instance.start(e)},pauseResume(){const e=this;if(e.instance&&i(e.instance.pauseResume))return e.instance.pauseResume()},reset(){const e=this;if(e.instance&&i(e.instance.reset))return e.instance.reset()},update(e){const t=this;if(t.instance&&i(t.instance.update))return t.instance.update(e)}},mounted(){const e=this;e.create()},beforeUnmount(){const e=this;e.destroy()}},d=a("6b0d"),u=a.n(d);const m=u()(l,[["render",o]]);var p=m;p.install=function(e){e.component(p.name,p)};t["a"]=p},b01f:function(e,t,a){"use strict";a.r(t);var n=a("7a23");const o=Object(n["withScopeId"])("data-v-081d7def");Object(n["pushScopeId"])("data-v-081d7def");const s={class:"ele-body ele-body-card"},r=Object(n["createVNode"])("h1",{class:"monitor-count-card-num"},"21.2 k",-1),c=Object(n["createVNode"])("div",{class:"monitor-count-card-text"},"总访问人数",-1),i=Object(n["createVNode"])("h1",{class:"monitor-count-card-num"},"1.6 k",-1),l=Object(n["createVNode"])("div",{class:"monitor-count-card-text"},"点击量(近30天)",-1),d={class:"monitor-count-card-trend ele-text-success"},u=Object(n["createVNode"])("span",null,"110.5%",-1),m=Object(n["createVNode"])("h1",{class:"monitor-count-card-num"},"826.0",-1),p=Object(n["createVNode"])("div",{class:"monitor-count-card-text"},"到达量(近30天)",-1),h={class:"monitor-count-card-trend ele-text-danger"},b=Object(n["createVNode"])("span",null,"15.5%",-1),V=Object(n["createVNode"])("h1",{class:"monitor-count-card-num"},"28.8 %",-1),O=Object(n["createVNode"])("div",{class:"monitor-count-card-text"},"转化率(近30天)",-1),f={class:"monitor-count-card-trend ele-text-success"},j=Object(n["createVNode"])("span",null,"65.8%",-1),v={class:"monitor-online-num-card"},N={class:"monitor-online-num-title"},g=Object(n["createVNode"])("div",{class:"monitor-online-num-text"},"在线总人数",-1),x={class:"ele-cell ele-cell-align-bottom"},y=Object(n["createVNode"])("div",{style:{"font-size":"51px","line-height":"1"}},"4.5",-1),C={class:"ele-cell-content"},w=Object(n["createVNode"])("span",{style:{color:"#fadb14","margin-left":"8px"}},"很棒",-1),D=Object(n["createVNode"])("div",{class:"ele-cell",style:{margin:"18px 0"}},[Object(n["createVNode"])("div",{style:{"font-size":"28px","line-height":"1"},class:"ele-text-placeholder"},"-0%"),Object(n["createVNode"])("div",{class:"ele-cell-content ele-text-small ele-text-secondary"},"当前没有评价波动")],-1),F={class:"ele-cell"},_={class:"ele-cell-content"},E={class:"monitor-evaluate-text"},T=Object(n["createVNode"])("span",null,"5 : 368 人",-1),A={class:"ele-cell"},k={class:"ele-cell-content"},M={class:"monitor-evaluate-text"},S=Object(n["createVNode"])("span",null,"4 : 256 人",-1),U={class:"ele-cell"},I={class:"ele-cell-content"},z={class:"monitor-evaluate-text"},$=Object(n["createVNode"])("span",null,"3 : 49 人",-1),q={class:"ele-cell"},B={class:"ele-cell-content"},P={class:"monitor-evaluate-text"},R=Object(n["createVNode"])("span",null,"2 : 14 人",-1),H={class:"ele-cell"},G={class:"ele-cell-content"},J={class:"monitor-evaluate-text"},L=Object(n["createVNode"])("span",null,"1 : 0 人",-1),Q=Object(n["createVNode"])("div",{class:"ele-cell ele-text-center"},[Object(n["createVNode"])("div",{class:"ele-cell-content",style:{"font-size":"24px"}},"856"),Object(n["createVNode"])("div",{class:"ele-cell-content"},[Object(n["createVNode"])("div",{class:"monitor-face-smile"},[Object(n["createVNode"])("i")]),Object(n["createVNode"])("div",{class:"ele-text-secondary",style:{"margin-top":"8px"}},"正面评论")]),Object(n["createVNode"])("h2",{class:"ele-cell-content ele-text-success"},"82%")],-1),W=Object(n["createVNode"])("div",{class:"ele-cell ele-text-center"},[Object(n["createVNode"])("div",{class:"ele-cell-content",style:{"font-size":"24px"}},"60"),Object(n["createVNode"])("div",{class:"ele-cell-content"},[Object(n["createVNode"])("div",{class:"monitor-face-cry"},[Object(n["createVNode"])("i")]),Object(n["createVNode"])("div",{class:"ele-text-secondary",style:{"margin-top":"8px"}},"负面评论")]),Object(n["createVNode"])("h2",{class:"ele-cell-content ele-text-danger"},"9%")],-1),K={class:"ele-cell",style:{padding:"32px 0"}},X={class:"ele-cell-content ele-text-center"},Y={class:"monitor-progress-group"},Z={class:"monitor-progress-legends"},ee={class:"ele-text-small"},te={class:"ele-text-small"},ae={class:"ele-text-small"};Object(n["popScopeId"])();const ne=o((e,t,a,ne,oe,se)=>{const re=Object(n["resolveComponent"])("eye-filled"),ce=Object(n["resolveComponent"])("ele-tag"),ie=Object(n["resolveComponent"])("ele-avatar-list"),le=Object(n["resolveComponent"])("a-card"),de=Object(n["resolveComponent"])("a-col"),ue=Object(n["resolveComponent"])("fire-filled"),me=Object(n["resolveComponent"])("up-outlined"),pe=Object(n["resolveComponent"])("question-circle-outlined"),he=Object(n["resolveComponent"])("a-tooltip"),be=Object(n["resolveComponent"])("flag-filled"),Ve=Object(n["resolveComponent"])("down-outlined"),Oe=Object(n["resolveComponent"])("thunderbolt-filled"),fe=Object(n["resolveComponent"])("a-row"),je=Object(n["resolveComponent"])("ele-chart"),ve=Object(n["resolveComponent"])("ele-count-up"),Ne=Object(n["resolveComponent"])("a-badge"),ge=Object(n["resolveComponent"])("a-rate"),xe=Object(n["resolveComponent"])("a-progress"),ye=Object(n["resolveComponent"])("star-filled"),Ce=Object(n["resolveComponent"])("a-divider");return Object(n["openBlock"])(),Object(n["createBlock"])("div",s,[Object(n["createVNode"])(fe,{gutter:16},{default:o(()=>[Object(n["createVNode"])(de,{md:6,sm:12,xs:12},{default:o(()=>[Object(n["createVNode"])(le,{bordered:!1,class:"monitor-count-card"},{default:o(()=>[Object(n["createVNode"])(ce,{color:"blue",shape:"circle",size:"large"},{default:o(()=>[Object(n["createVNode"])(re)]),_:1}),r,c,Object(n["createVNode"])(ie,{data:oe.visitUsers,size:"small",max:4},null,8,["data"])]),_:1})]),_:1}),Object(n["createVNode"])(de,{md:6,sm:12,xs:12},{default:o(()=>[Object(n["createVNode"])(le,{bordered:!1,class:"monitor-count-card"},{default:o(()=>[Object(n["createVNode"])(ce,{color:"orange",shape:"circle",size:"large"},{default:o(()=>[Object(n["createVNode"])(ue)]),_:1}),i,l,Object(n["createVNode"])("div",d,[Object(n["createVNode"])(me),u]),Object(n["createVNode"])(he,{title:"指标说明"},{default:o(()=>[Object(n["createVNode"])(pe,{class:"monitor-count-card-tips"})]),_:1})]),_:1})]),_:1}),Object(n["createVNode"])(de,{md:6,sm:12,xs:12},{default:o(()=>[Object(n["createVNode"])(le,{bordered:!1,class:"monitor-count-card"},{default:o(()=>[Object(n["createVNode"])(ce,{color:"red",shape:"circle",size:"large"},{default:o(()=>[Object(n["createVNode"])(be)]),_:1}),m,p,Object(n["createVNode"])("div",h,[Object(n["createVNode"])(Ve),b])]),_:1})]),_:1}),Object(n["createVNode"])(de,{md:6,sm:12,xs:12},{default:o(()=>[Object(n["createVNode"])(le,{bordered:!1,class:"monitor-count-card"},{default:o(()=>[Object(n["createVNode"])(ce,{color:"green",shape:"circle",size:"large"},{default:o(()=>[Object(n["createVNode"])(Oe)]),_:1}),V,O,Object(n["createVNode"])("div",f,[Object(n["createVNode"])(me),j]),Object(n["createVNode"])(he,{title:"指标说明"},{default:o(()=>[Object(n["createVNode"])(pe,{class:"monitor-count-card-tips"})]),_:1})]),_:1})]),_:1})]),_:1}),Object(n["createVNode"])(fe,{gutter:16},{default:o(()=>[Object(n["createVNode"])(de,{lg:18,md:24,sm:24,xs:24},{default:o(()=>[Object(n["createVNode"])(le,{bordered:!1,title:"用户分布"},{default:o(()=>[Object(n["createVNode"])(fe,null,{default:o(()=>[Object(n["createVNode"])(de,{sm:18,xs:24},{default:o(()=>[Object(n["createVNode"])(je,{ref:"userCountMapChart",options:se.userCountMapOption,style:{height:"485px"}},null,8,["options"])]),_:1}),Object(n["createVNode"])(de,{sm:6,xs:24},{default:o(()=>[Object(n["createVNode"])(je,{ref:"userCountChart",style:{height:"485px"},options:se.userCountChartOption},null,8,["options"])]),_:1})]),_:1})]),_:1})]),_:1}),Object(n["createVNode"])(de,{lg:6,md:24,sm:24,xs:24},{default:o(()=>[Object(n["createVNode"])(fe,{gutter:16},{default:o(()=>[Object(n["createVNode"])(de,{lg:24,md:12,sm:24,xs:24},{default:o(()=>[Object(n["createVNode"])(le,{bordered:!1,title:"在线人数"},{default:o(()=>[Object(n["createVNode"])("div",v,[Object(n["createVNode"])("div",null,Object(n["toDisplayString"])(oe.currentTime),1),Object(n["createVNode"])("div",N,[Object(n["createVNode"])(ve,{"end-val":228,onReady:t[1]||(t[1]=e=>{oe.onlineNumAnimIns=e})})]),g,Object(n["createVNode"])(Ne,{status:"processing",text:se.updateTimeText},null,8,["text"])])]),_:1})]),_:1}),Object(n["createVNode"])(de,{lg:24,md:12,sm:24,xs:24},{default:o(()=>[Object(n["createVNode"])(le,{bordered:!1,title:"浏览器分布","body-style":{padding:"6px 0"}},{default:o(()=>[Object(n["createVNode"])(je,{ref:"browserChart",style:{height:"240px"},options:se.browserChartOption},null,8,["options"])]),_:1})]),_:1})]),_:1})]),_:1}),Object(n["createVNode"])(de,{lg:12,md:24,sm:24,xs:24},{default:o(()=>[Object(n["createVNode"])(le,{bordered:!1,title:"用户评价"},{default:o(()=>[Object(n["createVNode"])("div",x,[y,Object(n["createVNode"])("div",C,[Object(n["createVNode"])(ge,{value:oe.userRate,disabled:""},null,8,["value"]),w])]),D,Object(n["createVNode"])("div",F,[Object(n["createVNode"])("div",_,[Object(n["createVNode"])(xe,{percent:60,"stroke-color":"#52c41a","show-info":!1})]),Object(n["createVNode"])("div",E,[Object(n["createVNode"])(ye),T])]),Object(n["createVNode"])("div",A,[Object(n["createVNode"])("div",k,[Object(n["createVNode"])(xe,{percent:40,"stroke-color":"#1890ff","show-info":!1})]),Object(n["createVNode"])("div",M,[Object(n["createVNode"])(ye),S])]),Object(n["createVNode"])("div",U,[Object(n["createVNode"])("div",I,[Object(n["createVNode"])(xe,{percent:20,"stroke-color":"#faad14","show-info":!1})]),Object(n["createVNode"])("div",z,[Object(n["createVNode"])(ye),$])]),Object(n["createVNode"])("div",q,[Object(n["createVNode"])("div",B,[Object(n["createVNode"])(xe,{percent:10,"stroke-color":"#f5222d","show-info":!1})]),Object(n["createVNode"])("div",P,[Object(n["createVNode"])(ye),R])]),Object(n["createVNode"])("div",H,[Object(n["createVNode"])("div",G,[Object(n["createVNode"])(xe,{percent:0,"show-info":!1})]),Object(n["createVNode"])("div",J,[Object(n["createVNode"])(ye),L])])]),_:1})]),_:1}),Object(n["createVNode"])(de,{lg:6,md:12,sm:24,xs:24},{default:o(()=>[Object(n["createVNode"])(le,{bordered:!1,title:"用户满意度"},{default:o(()=>[Q,Object(n["createVNode"])(Ce,{style:{margin:"26px 0"}}),W]),_:1})]),_:1}),Object(n["createVNode"])(de,{lg:6,md:12,sm:24,xs:24},{default:o(()=>[Object(n["createVNode"])(le,{bordered:!1,title:"用户活跃度"},{default:o(()=>[Object(n["createVNode"])("div",K,[Object(n["createVNode"])("div",X,[Object(n["createVNode"])("div",Y,[Object(n["createVNode"])(xe,{type:"circle",percent:70,"stroke-color":"#52c41a","show-info":!1,width:161}),Object(n["createVNode"])(xe,{type:"circle",percent:60,"stroke-color":"#1890ff","show-info":!1,width:121,"stroke-width":5}),Object(n["createVNode"])(xe,{type:"circle",percent:35,"stroke-color":"#f5222d","show-info":!1,width:91,"stroke-width":4})])]),Object(n["createVNode"])("div",Z,[Object(n["createVNode"])("div",ee,[Object(n["createVNode"])(Ne,{color:"green",text:"活跃率: 70%"})]),Object(n["createVNode"])("div",te,[Object(n["createVNode"])(Ne,{color:"blue",text:"留存率: 60%"})]),Object(n["createVNode"])("div",ae,[Object(n["createVNode"])(Ne,{color:"red",text:"跳出率: 35%"})])])])]),_:1})]),_:1})]),_:1})])});var oe=a("ae79"),se=a("9368"),re=a("3c7f"),ce=a("7496"),ie=a("c05e"),le=a("0ec4"),de=a("4cd5"),ue=a("4f82"),me=a("35c8"),pe=a("d62b"),he={name:"DashboardMonitor",components:{EleCountUp:oe["a"],EleChart:se["a"],QuestionCircleOutlined:re["a"],EyeFilled:ce["a"],FireFilled:ie["a"],FlagFilled:le["a"],ThunderboltFilled:de["a"],UpOutlined:ue["a"],DownOutlined:me["a"],StarFilled:pe["a"]},data(){return{visitUsers:[{name:"SunSmile",avatar:"https://cdn.eleadmin.com/20200609/c184eef391ae48dba87e3057e70238fb.jpg"},{name:"你的名字很好听",avatar:"https://cdn.eleadmin.com/20200609/b6a811873e704db49db994053a5019b2.jpg"},{name:"全村人的希望",avatar:"https://cdn.eleadmin.com/20200609/948344a2a77c47a7a7b332fe12ff749a.jpg"},{name:"Jasmine",avatar:"https://cdn.eleadmin.com/20200609/f6bc05af944a4f738b54128717952107.jpg"},{name:"酷酷的大叔",avatar:"https://cdn.eleadmin.com/20200609/2d98970a51b34b6b859339c96b240dcd.jpg"},{name:"管理员",avatar:"https://cdn.eleadmin.com/20200610/avatar.jpg"}],updateTime:5,chinaMapData:null,userCountData:[],currentTime:"20:58:22",onlineNumAnimIns:null,onlineNumTimer:null,browserCountData:[],userRate:4.5}},computed:{updateTimeText(){return this.updateTime+" 秒后更新"},userCountMapOption(){if(!this.chinaMapData)return null;let e=this.userCountData.map(e=>e.value).sort((e,t)=>e-t);return{tooltip:{trigger:"item"},visualMap:{min:e[e.length-1]||0,max:e[0]||0,text:["高","低"],calculable:!0,color:["#1890FF","#EBF3FF"]},series:[{name:"用户数",type:"map",map:"china",label:{show:!0},data:this.userCountData}]}},userCountChartOption(){let e=this.userCountData.filter(e=>e.value>0).sort((e,t)=>e.value-t.value);return{tooltip:{trigger:"axis",formatter:'<i class="ele-chart-dot" style="background: #3aa1ff;"></i>{b0}: {c0}'},grid:{top:0,bottom:0,left:50,right:0},yAxis:[{type:"category",axisLine:{show:!1},axisTick:{show:!1},data:e.map(e=>e.name)}],xAxis:[{show:!1,type:"value",splitLine:{show:!1}}],series:[{type:"bar",data:e.map(e=>e.value)}]}},browserChartOption(){return{tooltip:{trigger:"item"},legend:{data:this.browserCountData.map(e=>e.name),bottom:5,itemWidth:10,itemHeight:10,icon:"circle"},series:[{type:"pie",radius:["45%","70%"],center:["50%","43%"],label:{show:!1},data:this.browserCountData}]}}},mounted(){this.doUpdateOnlineNum(),this.getChinaMapData(),this.getUserCountData(),this.getBrowserCountData()},methods:{doUpdateOnlineNum(){this.currentTime=this.$util.toDateString(new Date,"HH:mm:ss"),this.onlineNumTimer=setInterval(()=>{this.currentTime=this.$util.toDateString(new Date,"HH:mm:ss"),1===this.updateTime?(this.updateTime=5,this.onlineNumAnimIns&&this.onlineNumAnimIns.update(100+Math.round(900*Math.random()))):this.updateTime--},1e3)},getChinaMapData(){this.$http.get("https://cdn.eleadmin.com/20200610/china-provinces.geo.json").then(e=>{se["a"].registerMap("china",e.data),this.chinaMapData=e.data}).catch(e=>{this.$message.error(e.message)})},getUserCountData(){this.userCountData=[{name:"贵州",value:570},{name:"云南",value:8890},{name:"重庆",value:10010},{name:"吉林",value:5056},{name:"山西",value:2123},{name:"天津",value:9130},{name:"江西",value:10170},{name:"广西",value:6172},{name:"陕西",value:9251},{name:"黑龙江",value:5125},{name:"安徽",value:9530},{name:"北京",value:51919},{name:"福建",value:3756},{name:"上海",value:59190},{name:"湖北",value:37109},{name:"湖南",value:8966},{name:"四川",value:31020},{name:"辽宁",value:7222},{name:"河北",value:3451},{name:"河南",value:9693},{name:"浙江",value:62310},{name:"山东",value:39231},{name:"江苏",value:35911},{name:"广东",value:55891}]},getBrowserCountData(){this.browserCountData=[{name:"Chrome",value:9052},{name:"Safari",value:535},{name:"Firefox",value:1610},{name:"Edge",value:2800},{name:"IE",value:3200},{name:"Other",value:1700}]}},activated(){["userCountMapChart","userCountChart","browserChart"].forEach(e=>{this.$refs[e].resize()})},beforeUnmount(){this.onlineNumTimer&&clearInterval(this.onlineNumTimer)}},be=(a("28b6"),a("6b0d")),Ve=a.n(be);const Oe=Ve()(he,[["render",ne],["__scopeId","data-v-081d7def"]]);t["default"]=Oe}}]);