index.f10212ab.js 1.6 KB

1
  1. import{a as _}from"./index.b97320e9.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.149377c1.js";import g from"./index.7228f928.js";import B from"./index.f537913e.js";import T from"./index.a062ddba.js";import j from"./index.52811059.js";import M from"./index.40567ed7.js";import{_ as R}from"./_plugin-vue_export-helper.c27b6911.js";import"./elementPlus.be4dc479.js";import"./echarts.594b4072.js";import"./crud.98f7f140.js";import"./api.51862ecd.js";import"./commonTabColumn.3bc061e2.js";import"./index.vue_vue_type_script_setup_true_lang.a0375052.js";import"./crud.53f92486.js";import"./dataTendency.c449269f.js";import"./enum.b537673d.js";import"./index.c97eb3a9.js";import"./index.1699d3f0.js";import"./index.14ad85b6.js";import"./crud.70a247bc.js";import"./crud.e1bebf33.js";import"./crud.683c876c.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};