import{a as _}from"./index.ad3efb29.js";import{d,r as a,ay as f,G as u,E as v,o as t,c as r,a as n,F as y,a8 as b,I as k,T as x,M as h,Q as C}from"./vue.adf17aba.js";import{a as D}from"./api.7e8ee3c4.js";import g from"./index.7a36e85a.js";import B from"./index.3e043d5c.js";import T from"./index.fae052de.js";import M from"./index.aaee0ca0.js";import R from"./index.3dca9fcd.js";import{_ as j}from"./_plugin-vue_export-helper.c27b6911.js";import"./elementPlus.4833989a.js";import"./echarts.72dc8373.js";import"./crud.32a529f5.js";import"./api.0c2b52c8.js";import"./commonTabColumn.c5d53eee.js";import"./index.vue_vue_type_script_setup_true_lang.3fa6db13.js";import"./crud.91f756cd.js";import"./dataTendency.15d7161f.js";import"./enum.e566fd6e.js";import"./index.7f1f4491.js";import"./index.05a2d588.js";import"./index.04a874bc.js";import"./crud.e86a58aa.js";import"./crud.27fb63e6.js";import"./crud.3d712537.js";const w={class:"asj-container"},A={class:"overview-top"},E=["onClick"],F=d({__name:"index",setup(G){const i=_();a([]);const m=a([]),{dateRange:l}=f(i),e=a("Total"),p=[{label:"总览",name:"Total"},{label:"按小时",name:"Hour"},{label:"按日",name:"Daily"},{label:"按周",name:"Weekly"},{label:"按月",name:"Monthly"}],c={Total:g,Hour:B,Daily:T,Weekly:M,Monthly:R};return u("dateRange",l),v(async()=>{const s=await D();m.value=s.data}),(s,H)=>(t(),r("div",w,[n("div",A,[(t(),r(y,null,b(p,o=>n("div",{key:o.name,class:k(["asj-tab",{active:e.value===o.name}]),onClick:I=>e.value=o.name},x(o.label),11,E)),64))]),(t(),h(C(c[e.value])))]))}});const io=j(F,[["__scopeId","data-v-a93ff252"]]);export{io as default};
