import{a as _}from"./index.8a64ecdf.js";import{d,r as a,ak as f,x as u,v,o as t,c as r,a as n,F as y,$ as b,z as k,L as x,E as h,I as C}from"./vue.95e072e2.js";import{a as D}from"./api.0100ebbc.js";import g from"./index.f2d8ee31.js";import B from"./index.2a5ff228.js";import T from"./index.39d22c8a.js";import M from"./index.50f1c187.js";import R from"./index.448e6bcb.js";import{_ as j}from"./_plugin-vue_export-helper.c27b6911.js";import"./elementPlus.58179425.js";import"./echarts.72dc8373.js";import"./crud.f530888b.js";import"./api.278ed1c8.js";import"./commonTabColumn.00155e2b.js";import"./index.vue_vue_type_script_setup_true_lang.8dd19552.js";import"./crud.35ffaca3.js";import"./dataTendency.5ffba862.js";import"./enum.b537673d.js";import"./index.9f6b84b8.js";import"./index.df979911.js";import"./index.eed780e8.js";import"./crud.ab7da914.js";import"./crud.7ca41449.js";import"./crud.bd3674a3.js";const w={class:"asj-container"},z={class:"overview-top"},A=["onClick"],E=d({__name:"index",setup(F){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",z,[(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,A)),64))]),(t(),h(C(c[e.value])))]))}});const io=j(E,[["__scopeId","data-v-a93ff252"]]);export{io as default};
