import{a as _}from"./index.ae7ce77b.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.6daa721c.js";import{a as D}from"./api.b34c9308.js";import g from"./index.a2e2b2d3.js";import B from"./index.9a5e5d13.js";import T from"./index.68034945.js";import M from"./index.693a9bc2.js";import R from"./index.5d3ff2d2.js";import{_ as j}from"./_plugin-vue_export-helper.c27b6911.js";import"./elementPlus.346c766a.js";import"./echarts.72dc8373.js";import"./crud.02156297.js";import"./api.d91e4325.js";import"./commonTabColumn.9307c435.js";import"./index.vue_vue_type_script_setup_true_lang.c5131d55.js";import"./crud.79af5a3a.js";import"./dataTendency.612a442f.js";import"./enum.b537673d.js";import"./index.c2be63e9.js";import"./index.abe7750b.js";import"./index.1b30f184.js";import"./crud.1a7d02a9.js";import"./crud.e55fff24.js";import"./crud.344ab05a.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};
