2024-11-19 14:40:16 +08:00
|
|
|
import{U as H,L as K,w as X,c as tt,a as et}from"./element-plus.91c68cc0.js";import{_ as st}from"./index.9d5ebfa3.js";import{j as ot,k as at}from"./workbench.ced7354b.js";import{h as z}from"./moment.40bc58bf.js";import{B as y}from"./vue-echarts.fe276ff7.js";import{d as J,Z as g,r as f,i as nt,af as lt,o as v,c as D,U as i,L as h,a as e,S as a,u as s,R as d,j as it,T as rt,a9 as ct,a0 as pt,Q as ut,O as dt}from"./@vue.76ce7aa3.js";import{d as mt}from"./index.0e5577f4.js";import"./lodash-es.f52bd8b1.js";import"./async-validator.fb49d0f5.js";import"./@vueuse.9ffef7f8.js";import"./@element-plus.73235148.js";import"./dayjs.0112e2c7.js";import"./@babel.80d29b7b.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.4e6d2a38.js";import"./axios.cffda5ac.js";import"./jspdf.6c61b9d3.js";import"./fflate.0418c72f.js";import"./vue-router.10bd5b90.js";import"./pinia.f3529286.js";import"./css-color-function.bb8c34b2.js";import"./color.fbd63fe8.js";import"./clone.31a3aa2c.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.b502f541.js";import"./vue-clipboard3.e775fc74.js";import"./clipboard.6417898a.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.8d65305c.js";const xt={class:"workbench"},_t={class:"flex"},ft={class:"flex-1 h-[270px]"},ht={class:"text-2xl"},yt={class:"flex-1 flex"},gt={class:"flex-1"},vt={class:"text-1xl"},Dt={class:"ml-2 text-[18px]"},wt={class:"text-[12px]"},bt={class:"text-info"},Ct={class:"text-success"},Ft={class:"text-1xl"},Et={class:"ml-2 text-[18px]"},At={class:"text-[12px]"},Bt={class:"text-info"},kt={class:"text-success"},Ot={class:"flex-1"},St={class:"text-1xl"},Lt={class:"ml-2 text-[18px]"},Nt={class:"text-[12px]"},Rt={class:"text-info"},Mt={class:"text-success"},Tt={class:"text-1xl"},jt={class:"ml-2 text-[18px]"},Yt={class:"text-[12px]"},Vt={class:"text-info"},zt={class:"text-success"},Jt={class:"mb-6 flex justify-between items-center"},It={class:"flex items-center text-sm"},$t={class:"flex flex-wrap"},Gt={class:"mr-2"},Ut={class:"text-info"},Pt={class:"text-6xl mr-2"},Wt={key:0},Qt={class:"text-info"},Zt=J({name:"statistics_user"}),qt=J({...Zt,setup(Ht){const I=[{text:"\u8FD1\u4E00\u5468",value:()=>{const n=new Date,t=new Date;return t.setDate(t.getDate()-7),[t,n]}},{text:"\u672C\u6708",value:()=>{const n=new Date,t=new Date;return t.setDate(1),n.setMonth(n.getMonth()+1),n.setDate(0),[t,n]}},{text:"\u8FD1\u4E00\u6708",value:()=>{const n=new Date,t=new Date;return t.setMonth(t.getMonth()-1),[t,n]}},{text:"\u8FD1\u4E09\u6708",value:()=>{const n=new Date,t=new Date;return t.setMonth(t.getMonth()-3),[t,n]}}],p=g({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}]}),w={tooltip:{trigger:"axis",axisPointer:{type:"cross"},formatter:n=>{let t=`<p><b>${n[0].name}\u70B9</b></p>`;return n.forEach(o=>{t+=`<p><span style="display:inline-block;width:8px;height:4px;background-color:${o.color};"></span> ${o.seriesName}: <strong>${o.value}</strong></p>`}),t}},grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},legend:{data:["\u6628\u5929","\u4ECA\u5929"],left:"3%",top:"3%"},xAxis:[{type:"category",boundaryGap:!1,axisLabel:{show:!1},axisTick:{show:!1},axisLine:{show:!1},grid:{show:!1}}],yAxis:[{type:"value",show:!1,spliteLine:{show:!1},axisLabel:{show:!1},axisTick:{show:!1},axisLine:{show:!1},grid:{show:!1}}],series:[{name:"\u6628\u5929",type:"line",smooth:!0,symbol:"none",itemStyle:{color:"#ccc"},areaStyle:{color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:"
|