2024-08-15 21:33:10 +08:00
|
|
|
import{U as K,J as X,K as I,w as J,L as P,o as W,M as Z,N as q}from"./element-plus.a63a26dd.js";import{_ as G}from"./index.7dd4e2c4.js";import"./index.82a85bee.js";import{b as H,a as Q}from"./system_store.c016e074.js";import{h as y}from"./moment.40bc58bf.js";import{B as A}from"./vue-echarts.01ad0ec2.js";import{d as S,Z as v,r as d,i as $,o as _,c as E,U as t,L as s,a as o,u as l,j as M,T as k,a9 as Y,K as ee,R,a0 as te,S as L,O as oe}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.4884cfc2.js";import"./axios.932d3f8a.js";import"./@ctrl.b082b0c1.js";import"./normalize-wheel-es.8aeb3683.js";import"./@popperjs.36402333.js";import"./lodash.2473fc51.js";import"./vue-router.101084e3.js";import"./pinia.a969beab.js";import"./css-color-function.9f6a56f3.js";import"./color.d1bc3784.js";import"./clone.83700f2e.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.fcc9be76.js";import"./vue-clipboard3.9e751565.js";import"./clipboard.dda64e67.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 ae={class:"workbench"},ue={class:"flex justify-between items-center"},ne={class:"flex items-center"},se=o("span",{class:"text-2xl mr-4"},"\u8FD0\u8425\u6982\u51B5",-1),le=o("span",{class:"ml-4 text-info text-[12px]"},"\u70B9\u51FB\u5DE6\u4FA7\u5207\u6362\u95E8\u5E97",-1),re={class:"flex items-center text-sm"},ie=o("span",{class:"mr-4"},"\u65F6\u95F4\u7B5B\u9009: ",-1),ce={class:"flex flex-wrap box-border mt-4"},me={class:"flex"},pe={class:"mr-2"},de={class:"text-info"},_e={class:"text-6xl"},De=o("span",{class:"text-2xl"},"\u8425\u4E1A\u8D8B\u52BF",-1),he={class:"mt-4 flex justify-center"},fe=o("span",{class:"text-2xl"},"\u4EA4\u6613\u6570\u636E",-1),ye=o("span",{class:"text-2xl"},"\u4EA4\u6613\u7C7B\u578B",-1),ve=S({name:"statistics_store"}),at=S({...ve,setup(Ee){const V=[{text:"\u8FD1\u4E00\u5468",value:()=>{const a=new Date,e=new Date;return e.setDate(e.getDate()-7),[e,a]}},{text:"\u672C\u6708",value:()=>{const a=new Date,e=new Date;return e.setDate(1),a.setMonth(a.getMonth()+1),a.setDate(0),[e,a]}},{text:"\u8FD1\u4E00\u6708",value:()=>{const a=new Date,e=new Date;return e.setMonth(e.getMonth()-1),[e,a]}},{text:"\u8FD1\u4E09\u6708",value:()=>{const a=new Date,e=new Date;return e.setMonth(e.getMonth()-3),[e,a]}}],D=v({xAxis:{type:"category",data:[0],axisLabel:{rotate:45,color:"#333"}},yAxis:[{type:"value",name:"\u7528\u6237\u6570\u91CF",position:"left",axisLabel:{formatter:"{value}"}},{type:"value",name:"\u91D1\u989D",position:"right",axisLabel:{formatter:"{value}"}}],grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},legend:{data:["\u8BBF\u95EE\u91CF"]},itemStyle:{color:"red"},tooltip:{trigger:"axis"},series:[{data:[],type:"line",smooth:!0,name:"\u95E8\u5E97\u6536\u6B3E"},{data:[],type:"line",smooth:!0,name:"\u65B0\u589E\u7528\u6237"}]});v({tooltip:{formatter:"{a} <br/>{b}: {c} ({d}%)"},legend:{data:[]},series:[{name:"\u4EA4\u6613\u7C7B\u578B",type:"pie",radius:["35%","65%"],center:["50%","60%"],data:[],emphasis:{itemStyle:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"}}}]});const T=["#5DB1FF","#4CD384","#FFC46A","#CAA5F1","#FFC46A","#4CD384","#5DB1FF","#CAA5F1"],F=v([{name:"\u95E8\u5E97\u8425\u4E1A\u989D",type:"order_amount",icon:"RectangleCopy49",num:0},{name:"\u5FAE\u4FE1\u6761\u7801\u6536\u6B3E\u91D1\u989D",type:"wechat_code_amount",icon:"RectangleCopy55",num:0},{name:"\u652F\u4ED8\u5B9D\u6761\u7801\u6536\u6B3E\u91D1\u989D",type:"alipay_code_amount",icon:"RectangleCopy52",num:0},{name:"\u7EBF\u4E0B\u6536\u94F6\u8BA2\u5355\u91D1\u989D",type:"cashier_amount",icon:"RectangleCopy4",num:0},{name:"\u73B0\u91D1\u6536\u94F6\u8BA2\u5355\u91D1\u989D",type:"cash_amount",icon:"RectangleCopy7",num:0},{name:"\u4F59\u989D\
|