import{a as _}from"./index.373e4c1e.js";import{d,r as a,al as f,x as u,v,o as t,c as r,a as n,F as y,a0 as b,z as k,L as x,E as h,I as C}from"./vue.65d9dadc.js";import{a as D}from"./api.8949c93c.js";import g from"./index.54f79f42.js";import B from"./index.12d1d89e.js";import T from"./index.3cbadcc1.js";import M from"./index.d6dcba21.js";import R from"./index.788bd5e1.js";import{_ as j}from"./_plugin-vue_export-helper.c27b6911.js";import"./elementPlus.c5b0e04f.js";import"./echarts.72dc8373.js";import"./crud.809e5a21.js";import"./api.7771f169.js";import"./commonTabColumn.a4869ec6.js";import"./index.vue_vue_type_script_setup_true_lang.0c3456ea.js";import"./crud.63a553cc.js";import"./dataTendency.375c730a.js";import"./enum.b537673d.js";import"./index.78cddcae.js";import"./index.4dc9403e.js";import"./index.74ced524.js";import"./crud.12f83834.js";import"./crud.724ea796.js";import"./crud.a752d981.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};
