import{a as _}from"./index.0d411246.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.3f733908.js";import{a as D}from"./api.526e9af5.js";import g from"./index.34f71b1e.js";import B from"./index.bd0b2296.js";import T from"./index.2fba41dc.js";import M from"./index.69adc414.js";import R from"./index.0563f845.js";import{_ as j}from"./_plugin-vue_export-helper.c27b6911.js";import"./elementPlus.0e5067e4.js";import"./echarts.72dc8373.js";import"./crud.959126d2.js";import"./api.89728bf9.js";import"./commonTabColumn.9973d424.js";import"./index.vue_vue_type_script_setup_true_lang.d1494dfe.js";import"./crud.4306f66d.js";import"./dataTendency.38206d72.js";import"./enum.b537673d.js";import"./index.69303a66.js";import"./index.8a84e60c.js";import"./index.1c622692.js";import"./crud.f7c5ccc6.js";import"./crud.02a99b7e.js";import"./crud.3ec94115.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};
