2024-06-08 18:43:04 +08:00
|
|
|
import{S as v,L as D,w as B}from"./element-plus.78e68aed.js";import{d as A,f as F,g as C}from"./workbench.8615f658.js";import{h as d}from"./moment.40bc58bf.js";import{B as c}from"./vue-echarts.01ad0ec2.js";import{d as f,Z as r,r as x,i as b,o as w,c as R,U as u,L as p,a as e,u as a,j as k,R as L}from"./@vue.18505fe0.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"./index.de0baa52.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"./echarts.5016c48c.js";import"./zrender.58d022a1.js";import"./tslib.60310f1a.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.b0c09b66.js";import"./resize-detector.4e96b72b.js";const P={class:"workbench"},M={class:"flex"},Y={class:"flex-1 h-[270px]"},S=e("div",{class:"text-2xl"},"\u4ECA\u65E5\u8BA2\u5355\u91D1\u989D",-1),T=e("div",null,[e("span",{class:"text-[12px]"},"\xA5"),e("span",{class:"text-2xl"},"1352.36")],-1),U=e("div",{class:"w-[1px] bg-[#ccc] mr-4"},null,-1),V={class:"flex-1 flex"},z={class:"flex-1"},G=e("div",{class:"text-1xl"},"\u4ECA\u65E5\u8BA2\u5355\u91D1\u989D",-1),N=e("div",{class:"text-[12px]"},[e("span",{class:"text-info"},"\u6628\u65E5: 10"),e("span",{class:"text-info ml-2"},"\u65E5\u73AF\u6BD4"),e("span",{class:"text-success"},"-55%")],-1),$=e("div",{class:"text-1xl mt-2"},"\u4ECA\u65E5\u8BA2\u5355\u91D1\u989D",-1),j=e("div",{class:"text-[12px]"},[e("span",{class:"text-info"},"\u6628\u65E5: 10"),e("span",{class:"text-info ml-2"},"\u65E5\u73AF\u6BD4"),e("span",{class:"text-success"},"-55%")],-1),O={class:"flex-1"},Z=e("div",{class:"text-1xl"},"\u4ECA\u65E5\u8BA2\u5355\u91D1\u989D",-1),q=e("div",{class:"text-[12px]"},[e("span",{class:"text-info"},"\u6628\u65E5: 10"),e("span",{class:"text-info m-2"},"\u65E5\u73AF\u6BD4"),e("span",{class:"text-success"},"-55%")],-1),H=e("div",{class:"text-1xl mt-2"},"\u4ECA\u65E5\u8BA2\u5355\u91D1\u989D",-1),I=e("div",{class:"text-[12px]"},[e("span",{class:"text-info"},"\u6628\u65E5: 10"),e("span",{class:"text-info ml-2"},"\u65E5\u73AF\u6BD4"),e("span",{class:"text-success"},"-55%")],-1),J={class:"mb-6 flex justify-between items-center"},K=e("span",{class:"text-2xl"},"\u7528\u6237\u6982\u51B5",-1),Q={class:"flex items-center text-sm"},W=e("span",{class:"mr-4"},"\u65F6\u95F4\u7B5B\u9009: ",-1),X=f({name:"statistics_user"}),Te=f({...X,setup(ee){const h=[{text:"\u8FD1\u4E00\u5468",value:()=>{const o=new Date,t=new Date;return t.setDate(t.getDate()-7),[t,o]}},{text:"\u8FD1\u4E00\u6708",value:()=>{const o=new Date,t=new Date;return t.setMonth(t.getMonth()-1),[t,o]}},{text:"\u8FD1\u4E09\u6708",value:()=>{const o=new Date,t=new Date;return t.setMonth(t.getMonth()-3),[t,o]}}],l=r({xAxis:{type:"category",data:[0],axisLabel:{rotate:45,color:"#333"}},yAxis:{type:"value",name:"\u6570\u91CF",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}]});x({});const i=r({tooltip:{trigger:"axis",axisPointer:{type:"cross"},formatter:o=>{let t=`<p><b>${o[0].name}\u70B9</b></p>`;return o.forEach(s=>{t+=`<p><span style="display:inline-block;width:8px;height:4px;background-color:${s.color};"></span> ${s.seriesName}: <strong>${s.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",bou
|