Index-7ba6c011.js 8.2 KB

1
  1. import{_ as Z,__tla as tt}from"./Echart-ba0cf9ba.js";import{d as at,b as rt,e as et,r as w,f as _t,g as F,h as lt,o as p,c as g,i as t,w as r,j as o,a as e,k as ot,l as mt,t as H,F as nt,m as P,E as st,n as ct,p as it,q as ut,s as ft,v as dt,x as pt,y as ht,_ as yt,__tla as xt}from"./index-2f799233.js";import{E as wt,__tla as gt}from"./el-card-c64c83d1.js";import{E as Tt,__tla as vt}from"./el-skeleton-item-3dff7f5e.js";import{l as R,__tla as bt}from"./echarts-data-1424e216.js";import{T as St,g as Dt,__tla as Yt}from"./ToBeDone-a751b65f.js";import kt,{__tla as Et}from"./index-530cb086.js";import{__tla as jt}from"./ToBeDoneDialog-37133b14.js";import{__tla as Mt}from"./Dialog-6fd39e06.js";import{__tla as Ct}from"./ContentWrap-9da801df.js";import{__tla as Ot}from"./SPuUploadImg-121cd89e.js";import{__tla as It}from"./SPuUploadImg.vue_vue_type_style_index_0_scoped_ba706063_lang-ac19fa49.js";import{__tla as zt}from"./index-5f6db4a5.js";import{__tla as Ut}from"./el-image-viewer-8e9e3571.js";import{__tla as Vt}from"./useMessage-e567ad40.js";import{__tla as Ft}from"./spu-980b34a1.js";import{__tla as Ht}from"./InfoForm-2a08666c.js";import{__tla as Pt}from"./UploadImgs-0a2b8085.js";import{__tla as Rt}from"./UploadImgs.vue_vue_type_style_index_0_scoped_9d666400_lang-872107b3.js";import"./tree-0af4953a.js";import{__tla as qt}from"./category-6df467a3.js";import{__tla as At}from"./brand-51caed7c.js";import{__tla as Bt}from"./formRules-8aa12f76.js";import{__tla as Lt}from"./DescriptionForm-aa3c5dea.js";import{__tla as Wt}from"./Editor-3a97a075.js";import{__tla as $t}from"./OtherForm-7be1840a.js";import{__tla as Gt}from"./SkuForm-5e8f39e5.js";import{__tla as Jt}from"./index-7549c07e.js";import{__tla as Kt}from"./SkuList-c1eb35ef.js";import{__tla as Nt}from"./el-image-4d26fa76.js";import{__tla as Qt}from"./UploadImg-d46c0539.js";import{__tla as Xt}from"./UploadFile.vue_vue_type_style_index_0_scoped_436eca1b_lang-bc6f7cfd.js";import{__tla as Zt}from"./PcComponents.css_vue_type_style_index_0_src_00d8480b_scoped_00d8480b_lang-80062d91.js";import{__tla as ta}from"./ProductAttributes-a03a7812.js";import{__tla as aa}from"./el-text-58158748.js";import{__tla as ra}from"./property-9f44e48e.js";import{__tla as ea}from"./ProductPropertyAddForm-ac5c62a7.js";import{__tla as _a}from"./MobileSkuList-c5d6aa78.js";import{__tla as la}from"./DeliveryForm-068fb530.js";import{__tla as oa}from"./index-6810ba49.js";import{__tla as ma}from"./dict-20c916e2.js";import"./constants-d55a3460.js";import{__tla as na}from"./Service-c0bda3f4.js";import{__tla as sa}from"./index-36dfbc52.js";import{__tla as ca}from"./AfterSale-babc95d3.js";import{__tla as ia}from"./index-e6cd813f.js";import{__tla as ua}from"./index-1c180a16.js";import{__tla as fa}from"./index-8cb2149a.js";import{__tla as da}from"./Comment-dabeb569.js";import{__tla as pa}from"./Apply-0bed427f.js";import{__tla as ha}from"./formatTime-2157894c.js";let q,ya=Promise.all([(()=>{try{return tt}catch{}})(),(()=>{try{return xt}catch{}})(),(()=>{try{return gt}catch{}})(),(()=>{try{return vt}catch{}})(),(()=>{try{return bt}catch{}})(),(()=>{try{return Yt}catch{}})(),(()=>{try{return Et}catch{}})(),(()=>{try{return jt}catch{}})(),(()=>{try{return Mt}catch{}})(),(()=>{try{return Ct}catch{}})(),(()=>{try{return Ot}catch{}})(),(()=>{try{return It}catch{}})(),(()=>{try{return zt}catch{}})(),(()=>{try{return Ut}catch{}})(),(()=>{try{return Vt}catch{}})(),(()=>{try{return Ft}catch{}})(),(()=>{try{return Ht}catch{}})(),(()=>{try{return Pt}catch{}})(),(()=>{try{return Rt}catch{}})(),(()=>{try{return qt}catch{}})(),(()=>{try{return At}catch{}})(),(()=>{try{return Bt}catch{}})(),(()=>{try{return Lt}catch{}})(),(()=>{try{return Wt}catch{}})(),(()=>{try{return $t}catch{}})(),(()=>{try{return Gt}catch{}})(),(()=>{try{return Jt}catch{}})(),(()=>{try{return Kt}catch{}})(),(()=>{try{return Nt}catch{}})(),(()=>{try{return Qt}catch{}})(),(()=>{try{return Xt}catch{}})(),(()=>{try{return Zt}catch{}})(),(()=>{try{return ta}catch{}})(),(()=>{try{return aa}catch{}})(),(()=>{try{return ra}catch{}})(),(()=>{try{return ea}catch{}})(),(()=>{try{return _a}catch{}})(),(()=>{try{return la}catch{}})(),(()=>{try{return oa}catch{}})(),(()=>{try{return ma}catch{}})(),(()=>{try{return na}catch{}})(),(()=>{try{return sa}catch{}})(),(()=>{try{return ca}catch{}})(),(()=>{try{return ia}catch{}})(),(()=>{try{return ua}catch{}})(),(()=>{try{return fa}catch{}})(),(()=>{try{return da}catch{}})(),(()=>{try{return pa}catch{}})(),(()=>{try{return ha}catch{}})()]).then(async()=>{let c,T,v,b,S,D,Y,k,E;c=f=>(dt("data-v-1126cba5"),f=f(),pt(),f),T=[c(()=>o("span",null,"\u5F85\u529E",-1))],v=c(()=>o("div",{class:"h-3 flex justify-between items-center"},[o("span",null,"\u5FEB\u6377\u65B9\u5F0F")],-1)),b={class:"flex flex-row flex-wrap gap-8 p-4",style:{"min-height":"200px"}},S={class:"bg-orange-400 h-48px w-48px flex items-center justify-center rounded text-white"},D=c(()=>o("span",null,"\u65B0\u589E\u5546\u54C1",-1)),Y={class:"h-3 flex justify-between items-center"},k=c(()=>o("span",null,"\u8BA2\u5355",-1)),E={key:0,class:"!w-240px flex"},q=yt(at({name:"Home",__name:"Index",setup(f){const A=rt(),j=et(()=>A.getMobile),M=w(),C=w(null),O=_t(()=>{C.value.getList()},1e3),i=w(!0),a=F({orderTime:"",orderStatrTime:"",orderEndTime:"",mobileOrderTimeShow:!1});let h;function B(_){h=_}const L=new Date(2024,5,12);let d=F(R);const y=async(_,l)=>{const m=await Dt({startTime:_,endTime:l});ht(d,"xAxis.data",m.xaxis.data);const u=m==null?void 0:m.series.map(n=>({count:n.count,value:n.money/100}));d.series[0].data=u,h&&(h.setOption(d,!0),console.log(d))};function W(_){a.orderStatrTime=_[0],a.orderEndTime=_[1],y(a.orderStatrTime,a.orderEndTime)}function I(){a.mobileOrderTimeShow=!0}function $(_){a.mobileOrderTimeShow=!1,a.orderStatrTime=P(_[0]).format("YYYY-MM-DD"),a.orderEndTime=P(_[1]).format("YYYY-MM-DD"),y(a.orderStatrTime,a.orderEndTime)}return(async()=>(await Promise.all([y()]),i.value=!1))(),(_,l)=>{const m=Tt,u=wt,n=st,G=ct,x=it,J=ut,K=ft,N=lt("van-calendar"),Q=Z;return p(),g(nt,null,[t(x,{class:"mt-8px",gutter:8,justify:"space-between"},{default:r(()=>[t(n,{xl:12,lg:12,md:24,sm:24,xs:24,class:"mb-8px"},{default:r(()=>[t(u,{shadow:"never"},{header:r(()=>[o("div",{class:"h-3 flex justify-between cursor-pointer items-center",onClick:l[0]||(l[0]=(...s)=>e(O)&&e(O)(...s))},[...T])]),default:r(()=>[t(m,{loading:e(i),animated:""},{default:r(()=>[t(St,{ref_key:"toBeDoneRef",ref:C},null,512)]),_:1},8,["loading"])]),_:1})]),_:1}),t(n,{xl:12,lg:12,md:24,sm:24,xs:24,class:"mb-8px"},{default:r(()=>[t(u,{shadow:"never"},{header:r(()=>[v]),default:r(()=>[t(m,{loading:e(i),animated:""},{default:r(()=>[o("div",b,[o("div",{class:"h-20 w-20% flex flex-col cursor-pointer items-center justify-center gap-2",onClick:l[1]||(l[1]=s=>{return z="create",U="",V=0,void M.value.open(z,U,V,X);var z,U,V,X})},[o("div",S,[t(G,{icon:"fluent-mdl2:product",class:"text-7.5!"})]),D])])]),_:1},8,["loading"])]),_:1})]),_:1})]),_:1}),t(x,{gutter:8,justify:"space-between"},{default:r(()=>[t(n,{xl:24,lg:24,md:24,sm:24,xs:24,class:"mb-8px"},{default:r(()=>[t(u,{shadow:"never"},{header:r(()=>[o("div",Y,[k,e(j)?!e(j)||e(a).orderStatrTime||e(a).orderEndTime?(p(),g("span",{key:2,style:{"font-size":"14px"},onClick:I},H(e(a).orderStatrTime)+" - "+H(e(a).orderEndTime),1)):(p(),ot(K,{key:1,onClick:I},{default:r(()=>[mt("\u9009\u62E9\u65E5\u671F")]),_:1})):(p(),g("div",E,[t(J,{modelValue:e(a).orderTime,"onUpdate:modelValue":l[2]||(l[2]=s=>e(a).orderTime=s),"value-format":"YYYY-MM-DD",type:"daterange","start-placeholder":"\u5F00\u59CB\u65E5\u671F","end-placeholder":"\u7ED3\u675F\u65E5\u671F","default-time":[new Date("1"),new Date("1")],onChange:W},null,8,["modelValue","default-time"])])),t(N,{show:e(a).mobileOrderTimeShow,"onUpdate:show":l[3]||(l[3]=s=>e(a).mobileOrderTimeShow=s),type:"range","min-date":e(L),onConfirm:$},null,8,["show","min-date"])])]),default:r(()=>[t(m,{loading:e(i),animated:""},{default:r(()=>[t(x,null,{default:r(()=>[t(n,null,{default:r(()=>[t(m,{loading:e(i),animated:""},{default:r(()=>[t(Q,{options:e(R),height:250,onChartInit:B},null,8,["options"])]),_:1},8,["loading"])]),_:1})]),_:1})]),_:1},8,["loading"])]),_:1})]),_:1})]),_:1}),t(kt,{ref_key:"spuFormRef",ref:M},null,512)],64)}}}),[["__scopeId","data-v-1126cba5"],["__file","D:/zx/mall-newfeifan-zx-business/src/views/Home/Index.vue"]])});export{ya as __tla,q as default};