2024-09-19 11:09:33 +08:00
|
|
|
import{Z as $,w as P,J as T,b as j,M as z,N as G}from"./element-plus.6b125791.js";import{d as E,b as M,o as y,c as D,a,K as R,$ as A,r as k,i as U,W as n,Q as i,u as m,j as N,U as x,F as I,a9 as O,L as q,V as _}from"./@vue.340249d8.js";import{d as J}from"./index.8eb121a3.js";import{e as K,f as Q,g as W}from"./statistics.1292ef53.js";import{h as f}from"./moment.40bc58bf.js";import{B as Z}from"./vue-echarts.eaf50cf8.js";import"./lodash-es.edba6135.js";import"./@vueuse.e3650918.js";import"./@element-plus.558a564d.js";import"./@popperjs.36402333.js";import"./@ctrl.b082b0c1.js";import"./dayjs.6b964ca4.js";import"./axios.ebd1d4d0.js";import"./async-validator.fb49d0f5.js";import"./memoize-one.4ee5c96d.js";import"./normalize-wheel-es.8aeb3683.js";import"./@floating-ui.0f9ce7c3.js";import"./lodash.ab1d8f92.js";import"./vue-router.9ddb0e92.js";import"./pinia.97fe9b12.js";import"./css-color-function.7a4c1284.js";import"./color.10b8b3bd.js";import"./clone.623e4e2d.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.518a19eb.js";import"./vue-clipboard3.c098b37d.js";import"./clipboard.a67a48a7.js";import"./echarts.8535e5a6.js";import"./zrender.3eba8991.js";import"./tslib.60310f1a.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.309a94da.js";import"./resize-detector.4e96b72b.js";const H=["xlink:href","fill"],X=E({__name:"index",props:{iconName:{type:String,required:!0},className:{type:String,default:""},color:{type:String,default:"#333"},white:{type:Boolean,default:!1}},setup(d){const c=d,l=M(()=>`#icon-${c.iconName}`),h=M(()=>c.className?`svg-icon ${c.className}`:"svg-icon");return(F,u)=>(y(),D("svg",{class:R(h.value),"aria-hidden":"true"},[a("use",{"xlink:href":l.value,fill:d.white?"#fff":d.color},null,8,H)],2))}});const ee=J(X,[["__scopeId","data-v-9b161d0d"]]),te={class:"workbench"},ae={class:"mb-6 flex justify-between items-center"},ne=a("span",{class:"text-2xl"},"\u5546\u54C1\u6982\u51B5",-1),oe={class:"flex items-center text-sm"},ue=a("span",{class:"mr-4"},"\u65F6\u95F4\u7B5B\u9009: ",-1),se={class:"flex flex-wrap"},re={class:"mr-2"},le={class:"text-info"},ie={class:"text-6xl"},ce={class:"text-info"},pe={class:"mb-6 flex justify-between items-center"},me=a("span",{class:"text-2xl"},"\u5546\u54C1\u6392\u884C",-1),de={class:"flex items-center text-sm"},_e=a("span",{class:"mr-4"},"\u65F6\u95F4\u7B5B\u9009: ",-1),fe=E({name:"product"}),Xe=E({...fe,setup(d){const c=[{text:"\u8FD1\u4E00\u5468",value:()=>{const t=new Date,e=new Date;return e.setDate(e.getDate()-7),[e,t]}},{text:"\u8FD1\u4E00\u6708",value:()=>{const t=new Date,e=new Date;return e.setMonth(e.getMonth()-1),[e,t]}},{text:"\u8FD1\u4E09\u6708",value:()=>{const t=new Date,e=new Date;return e.setMonth(e.getMonth()-3),[e,t]}}],l=A({xAxis:{type:"category",data:[0],axisLabel:{rotate:45,color:"#333"}},yAxis:[{type:"value",name:"\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:[{name:"\u8BBF\u95EE\u91CF",data:[0],type:"line",smooth:!0}]}),h=["#5DB1FF","#4CD384","#FFC46A","#CAA5F1"],F=A([{name:"\u5546\u54C1\u6D4F\u89C8\u91CF",type:"browse",icon:"RectangleCopy21",num:0,percent:0},{name:"\u5546\u54C1\u8BBF\u5BA2\u6570",type:"user",icon:"RectangleCopy5",num:0,percent:0},{name:"\u52A0\u8D2D\u4EF6\u6570",type:"cart",icon:"RectangleCopy13",num:0,percent:0},{name:"\u4E0B\u5355\u4EF6\u6570",type:"order",icon:"RectangleCopy12",num:0,percent:0},{name:"\u652F\u4ED8\u4EF6\u6570",type:"pay",icon:"RectangleCopy15",num:0,percent:0},{name:"\u652F\u4ED8\u91D1\u989D",type:"payPrice",icon:"RectangleCopy14",num:0,percent:0},{name:"\u6210\u672C\u91D1\u989D",type:"cost",icon:"RectangleCopy24",num:0,percent:0},{name:"\u9000\u6B3E\u91D1\u989D",type:"refundPrice",icon:"RectangleCopy32",num:0,percent:0},{name:"\u9000\
|