2024-06-24 15:37:24 +08:00
|
|
|
import{_ as K}from"./index.2c2afc79.js";import{_ as Q,L as W,w as X}from"./element-plus.e226cbd2.js";import{f as tt,g as et}from"./workbench.3300b205.js";import{h as V}from"./moment.40bc58bf.js";import{B as g}from"./vue-echarts.01ad0ec2.js";import{d as $,Z as v,r as f,i as st,o as F,c as C,U as r,L as E,a as t,S as a,u as s,R as h,j as ot,T as at,a9 as nt,a0 as it,O as lt,bl as ct,bk as rt}from"./@vue.18505fe0.js";import{d as ut}from"./index.fed05481.js";import"./lodash-es.f52bd8b1.js";import"./async-validator.fb49d0f5.js";import"./@vueuse.fbc6a400.js";import"./@element-plus.edbd5a83.js";import"./dayjs.8ae0c638.js";import"./axios.2b8d80bd.js";import"./@ctrl.b082b0c1.js";import"./normalize-wheel-es.8aeb3683.js";import"./@popperjs.36402333.js";import"./resize-detector.4e96b72b.js";import"./echarts.5016c48c.js";import"./zrender.58d022a1.js";import"./tslib.60310f1a.js";import"./lodash.60201f64.js";import"./vue-router.101084e3.js";import"./pinia.a969beab.js";import"./css-color-function.b82a2ce7.js";import"./color.b905eb26.js";import"./clone.e1fb2883.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./ms.564e106c.js";import"./nprogress.495afef3.js";import"./vue-clipboard3.cb649e18.js";import"./clipboard.4592e390.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.b0c09b66.js";const u=y=>(ct("data-v-d24ef56b"),y=y(),rt(),y),pt={class:"workbench"},dt={class:"flex"},mt={class:"flex-1 h-[270px]"},_t=u(()=>t("div",{class:"text-2xl"},"\u4ECA\u65E5\u8BA2\u5355\u91D1\u989D",-1)),xt=u(()=>t("span",{class:"text-[12px]"},"\xA5",-1)),ht={class:"text-2xl"},ft=u(()=>t("div",{class:"w-[1px] bg-[#ccc] mr-4"},null,-1)),yt={class:"flex-1 flex"},gt={class:"flex-1"},vt={class:"text-1xl"},bt={class:"ml-2 text-[18px]"},Dt={class:"text-[12px]"},wt={class:"text-info"},Ft=u(()=>t("span",{class:"text-info ml-2"},"\u65E5\u73AF\u6BD4: ",-1)),Ct={class:"text-success"},Et={class:"text-1xl"},At={class:"ml-2 text-[18px]"},Bt={class:"text-[12px]"},St={class:"text-info"},kt=u(()=>t("span",{class:"text-info ml-2"},"\u6708\u73AF\u6BD4: ",-1)),Ot={class:"text-success"},Lt={class:"flex-1"},Rt={class:"text-1xl"},Nt={class:"ml-2 text-[18px]"},Mt={class:"text-[12px]"},Tt={class:"text-info"},Yt=u(()=>t("span",{class:"text-info ml-2"},"\u65E5\u73AF\u6BD4: ",-1)),jt={class:"text-success"},It={class:"text-1xl"},zt={class:"ml-2 text-[18px]"},Jt={class:"text-[12px]"},Vt={class:"text-info"},$t=u(()=>t("span",{class:"text-info ml-2"},"\u6708\u73AF\u6BD4: ",-1)),Gt={class:"text-success"},Pt={class:"mb-6 flex justify-between items-center"},Ut=u(()=>t("span",{class:"text-2xl"},"\u4EA4\u6613\u6982\u51B5",-1)),Zt={class:"flex items-center text-sm"},qt=u(()=>t("span",{class:"mr-4"},"\u65F6\u95F4\u7B5B\u9009: ",-1)),Ht={class:"flex flex-wrap"},Kt={class:"mr-2"},Qt={class:"text-info"},Wt={class:"text-6xl"},Xt={class:"text-info"},te=$({name:"statistics_user"}),ee=$({...te,setup(y){const G=[{text:"\u8FD1\u4E00\u5468",value:()=>{const n=new Date,e=new Date;return e.setDate(e.getDate()-7),[e,n]}},{text:"\u672C\u6708",value:()=>{const n=new Date,e=new Date;return e.setDate(1),n.setMonth(n.getMonth()+1),n.setDate(0),[e,n]}},{text:"\u8FD1\u4E00\u6708",value:()=>{const n=new Date,e=new Date;return e.setMonth(e.getMonth()-1),[e,n]}},{text:"\u8FD1\u4E09\u6708",value:()=>{const n=new Date,e=new Date;return e.setMonth(e.getMonth()-3),[e,n]}}],p=v({xAxis:{type:"category",data:[0],axisLabel:{rotate:45,color:"#333"}},yAxis:{type:"value",name:"\u91D1\u989D",position:"left",axisLabel:{formatter:"{value}"}},grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},legend:{data:["\u8BBF\u95EE\u91CF"]},itemStyle:{color:"red"},tooltip:{trigger:"axis"},series:[{name:"\u8BBF\u95EE\u91CF",data:[0],type:"line",smooth:!0}]}),b={tooltip:{trigger:"axis",axisPointer:{type:"cross"},formatter:n=>{let e=`<p><b>${n[0].name}\u70B9</b></p>`;return n.forEach(o=>{e+=`<p><span style="display:inline-block;width:8px;height:4px;background-color:${o.color};"></span> ${o.seriesName}: <strong>${o.value}</strong></p>`}
|