import{a as _}from"./index.ddc75869.js";import{f,r as a,ak as d,x as u,v,h as t,i as r,j as n,F as y,$ as b,z as k,L as x,E as h,I as C}from"./vue.9083513e.js";import{a as D}from"./api.21a9cf44.js";import g from"./index.bff79409.js";import B from"./index.17288b4f.js";import T from"./index.39f77fe1.js";import j from"./index.dc7a812a.js";import M from"./index.b8c96be9.js";import{_ as R}from"./_plugin-vue_export-helper.c27b6911.js";import"./elementPlus.5243d764.js";import"./echarts.594b4072.js";import"./crud.1aa4d856.js";import"./api.e7d8c8c9.js";import"./commonTabColumn.c3333d57.js";import"./index.vue_vue_type_script_setup_true_lang.bbb47c0b.js";import"./crud.ae2d2c1a.js";import"./dataTendency.5d1914ce.js";import"./enum.b537673d.js";import"./index.4baafcf6.js";import"./index.1699d3f0.js";import"./index.2fdd6176.js";import"./crud.b4c41f39.js";import"./crud.13bfb5bc.js";import"./crud.06cc2d63.js";const w={class:"asj-container"},z={class:"overview-top"},A=["onClick"],E=f({__name:"index",setup(F){const i=_();a([]);const m=a([]),{dateRange:l}=d(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:j,Monthly:M};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=R(E,[["__scopeId","data-v-a93ff252"]]);export{io as default};