netty-server-ui.v1.js.526.18e789ff.js Maven / Gradle / Ivy
The newest version!
"use strict";(self.webpackChunkwu_smart_agent_network=self.webpackChunkwu_smart_agent_network||[]).push([[526],{81526:(e,t,n)=>{n.r(t),n.d(t,{default:()=>p});var a=n(83986),i=n(56536),s=n(93540),r=(n(70560),n(66252)),o=n(39643),l=n(64424),c={class:"ve_container"},u=[(0,r._)("div",{id:"client_per_day_flow",style:{width:"100%",height:"600px"}},null,-1)],d={data:function(){return{description:"客户端访问流量",type:"1",icon:"DataLine",name:"客户端访问流量",parentMenu:l.Z}}};const p=Object.assign(d,{__name:"ClientPerDayFlow",setup:function(e){return(0,r.bv)((0,s.Z)((0,a.Z)().mark((function e(){var t,n,s,r,l,c,u;return(0,a.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,VE_API.cloudNetworkReport.findClientPerDayFlow();case 2:t=e.sent,n=t.code,s=t.data,0===n&&console.log(s),r=document.getElementById("client_per_day_flow"),l=o.S1(r,null,{renderer:"canvas",useDirtyRect:!1}),(u=[]).push({type:"line",name:"进口流量",emphasis:{focus:"series"},data:s.clientInFlowList}),u.push({type:"line",name:"出口流量",emphasis:{focus:"series"},data:s.clientOutFlowList}),u.push({type:"line",name:"进、出流量",emphasis:{focus:"series"},data:s.clientAllFlowList}),(c={animationDuration:1e4,tooltip:{trigger:"axis"},legend:{},grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},xAxis:[{type:"category",data:s.dayList}],yAxis:[{type:"value"}],series:u,toolbox:{feature:{saveAsImage:{}}}})&&"object"===(0,i.Z)(c)&&l.setOption(c),window.addEventListener("resize",l.resize);case 15:case"end":return e.stop()}}),e)})))),function(e,t){return(0,r.wg)(),(0,r.iD)("div",c,u)}}})}}]);