import{h as m}from"./system.1703796278973.js";import{i as l}from"./index.1703796278973314.js";import{d as r,k as u,m as h,p as _,o as f,x as v,z as o,V as y,G as x,H as g}from"./vue.1703796278973.js";import{_ as b}from"./_plugin-vue_export-helper.1703796278973.js";import"./comm.1703796278973.js";import"./index.17037962789732.js";import"./index.17037962789733.js";import"./dayjs.min.1703796278973.js";import"./isArray.1703796278973.js";import"./editor.api.1703796278973.js";import"./preload-helper.1703796278973.js";import"./monaco.contribution.1703796278973.js";import"./index.170379627897332.js";import"./index.170379627897315.js";import"./index.170379627897333.js";import"./index.170379627897334.js";import"./default.1703796278973.js";import"./permission.1703796278973.js";import"./consts.1703796278973.js";import"./404.1703796278973.js";const w=t=>(x("data-v-edcc7dd3"),t=t(),g(),t),S={class:"data-overview"},k=w(()=>o("div",{class:"header"},[o("div",{class:"header-title"},"地区设备运行情况")],-1)),M=r({name:"DeviceRunningStatus"}),T=r({...M,setup(t){const a=u({}),n=m();let e=null;const c=(s=[],p=[])=>{const i=a.value;if(i){e=l(i);const d={tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},legend:{top:"20",right:"20"},grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},xAxis:{type:"value"},yAxis:{type:"category",data:["Mon","Tue","Wed","Thu","Fri","Sat","Mon","Tue","Wed","Thu","Fri","Mon","Sun"]},series:[{name:"Direct",type:"bar",stack:"total",label:{show:!0},barWidth:"30",emphasis:{focus:"series"},data:[320,302,301,334,390,330,320,320,302,301,334,390,330]},{name:"Mail Ad",type:"bar",stack:"total",label:{show:!0},barWidth:"30",emphasis:{focus:"series"},data:[120,132,101,134,320,302,301,334,390,330,90,230,210]},{name:"Affiliate Ad",type:"bar",stack:"total",label:{show:!0},barWidth:"30",emphasis:{focus:"series"},data:[220,182,320,302,301,334,390,330,191,234,290,330,310]}]};y(()=>{e.setOption(d),window.addEventListener("resize",function(){e.resize()})})}};return h(()=>n.collapsed,s=>{setTimeout(()=>{e.resize()},300)}),_(()=>{c()}),(s,p)=>(f(),v("div",S,[k,o("div",{ref_key:"chartRef",ref:a,style:{width:"100%","min-height":"800px"}},null,512)]))}});const J=b(T,[["__scopeId","data-v-edcc7dd3"]]);export{J as default};
