1 |
- import{_ as $,__tla as tt}from"./Echart.vue_vue_type_script_setup_true_lang-3c9da8da.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,_ as ct,n as it,p as ut,q as dt,s as ft,v as pt,x as ht,__tla as yt}from"./index-ecc2785b.js";import{E as xt,__tla as wt}from"./el-card-99460cde.js";import{E as gt,__tla as Tt}from"./el-skeleton-item-1de46118.js";import{l as R,__tla as vt}from"./echarts-data-e5787511.js";import{T as bt,g as St,__tla as Yt}from"./ToBeDone-57828131.js";import Dt,{__tla as kt}from"./index-22bf8848.js";import{_ as Et}from"./_plugin-vue_export-helper-1b428a4d.js";import{__tla as jt}from"./ToBeDoneDialog-27d48775.js";import{__tla as Mt}from"./Dialog-e3083a37.js";import{__tla as Ct}from"./ContentWrap.vue_vue_type_script_setup_true_lang-13de8544.js";import{__tla as Ot}from"./SPuUploadImg-72fecbb4.js";import{__tla as It}from"./SPuUploadImg.vue_vue_type_style_index_0_scoped_5dfa4534_lang-4bdbbeec.js";import{__tla as Ut}from"./index-670a17bc.js";import{__tla as Vt}from"./el-image-viewer-24503c90.js";import{__tla as qt}from"./useMessage-23ea1f6c.js";import{__tla as Ft}from"./spu-51624fee.js";import{__tla as Ht}from"./InfoForm-7890c25a.js";import{__tla as Pt}from"./UploadImgs-73cd68a7.js";import{__tla as Rt}from"./UploadImgs.vue_vue_type_style_index_0_scoped_3d27d917_lang-3cf734dd.js";import"./tree-0af4953a.js";import{__tla as zt}from"./category-0b0c3478.js";import{__tla as At}from"./brand-46962bef.js";import{__tla as Bt}from"./formRules-1de535e0.js";import{__tla as Lt}from"./DescriptionForm-867255fa.js";import{__tla as Gt}from"./style.css_vue_type_style_index_0_src_true_lang-176a174f.js";import{__tla as Jt}from"./OtherForm-40982720.js";import{__tla as Kt}from"./SkuForm-1e518313.js";import{__tla as Nt}from"./index-7abb6cbf.js";import{__tla as Qt}from"./SkuList.vue_vue_type_script_setup_true_lang-dd15a218.js";import{__tla as Wt}from"./el-image-2ba3072e.js";import{__tla as Xt}from"./UploadImg-4317a633.js";import{__tla as Zt}from"./UploadFile.vue_vue_type_style_index_0_scoped_2570c8e9_lang-e5c6057f.js";import{__tla as $t}from"./PcComponents.css_vue_type_style_index_0_src_bf8feb19_scoped_bf8feb19_lang-9bf36c17.js";import{__tla as ta}from"./ProductAttributes.vue_vue_type_script_setup_true_lang-8187e44c.js";import{__tla as aa}from"./el-text-310fa9d1.js";import{__tla as ra}from"./property-d9716a40.js";import{__tla as ea}from"./ProductPropertyAddForm.vue_vue_type_script_setup_true_lang-cabfac5f.js";import{__tla as _a}from"./MobileSkuList-4e1e6026.js";import{__tla as la}from"./DeliveryForm-ca1ca5cb.js";import{__tla as oa}from"./index-4dc8b4bc.js";import{__tla as ma}from"./dict-9266706a.js";import"./constants-e43f22dd.js";import{__tla as na}from"./Service-a3b1d926.js";import{__tla as sa}from"./index-499bccaa.js";import{__tla as ca}from"./AfterSale-e7fa321e.js";import{__tla as ia}from"./index.vue_vue_type_script_setup_true_lang-3eecd42d.js";import{__tla as ua}from"./index-bfba6893.js";import{__tla as da}from"./index-e1d7ff6d.js";import{__tla as fa}from"./Comment-0f0e992a.js";import{__tla as pa}from"./Apply-58e30bfb.js";import{__tla as ha}from"./formatTime-158d9eb6.js";let z,ya=Promise.all([(()=>{try{return tt}catch{}})(),(()=>{try{return yt}catch{}})(),(()=>{try{return wt}catch{}})(),(()=>{try{return Tt}catch{}})(),(()=>{try{return vt}catch{}})(),(()=>{try{return Yt}catch{}})(),(()=>{try{return kt}catch{}})(),(()=>{try{return jt}catch{}})(),(()=>{try{return Mt}catch{}})(),(()=>{try{return Ct}catch{}})(),(()=>{try{return Ot}catch{}})(),(()=>{try{return It}catch{}})(),(()=>{try{return Ut}catch{}})(),(()=>{try{return Vt}catch{}})(),(()=>{try{return qt}catch{}})(),(()=>{try{return Ft}catch{}})(),(()=>{try{return Ht}catch{}})(),(()=>{try{return Pt}catch{}})(),(()=>{try{return Rt}catch{}})(),(()=>{try{return zt}catch{}})(),(()=>{try{return At}catch{}})(),(()=>{try{return Bt}catch{}})(),(()=>{try{return Lt}catch{}})(),(()=>{try{return Gt}catch{}})(),(()=>{try{return Jt}catch{}})(),(()=>{try{return Kt}catch{}})(),(()=>{try{return Nt}catch{}})(),(()=>{try{return Qt}catch{}})(),(()=>{try{return Wt}catch{}})(),(()=>{try{return Xt}catch{}})(),(()=>{try{return Zt}catch{}})(),(()=>{try{return $t}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 da}catch{}})(),(()=>{try{return fa}catch{}})(),(()=>{try{return pa}catch{}})(),(()=>{try{return ha}catch{}})()]).then(async()=>{let c,T,v,b,S,Y,D,k,E;c=d=>(ft("data-v-ba6d79a0"),d=d(),pt(),d),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"},Y=c(()=>o("span",null,"\u65B0\u589E\u5546\u54C1",-1)),D={class:"h-3 flex justify-between items-center"},k=c(()=>o("span",null,"\u8BA2\u5355",-1)),E={key:0,class:"!w-240px flex"},z=Et(at({name:"Home",__name:"Index",setup(d){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 f=F(R);const y=async(_,l)=>{const m=await St({startTime:_,endTime:l});ht(f,"xAxis.data",m.xaxis.data);const u=m==null?void 0:m.series.map(n=>({count:n.count,value:n.money/100}));f.series[0].data=u,h&&(h.setOption(f,!0),console.log(f))};function G(_){a.orderStatrTime=_[0],a.orderEndTime=_[1],y(a.orderStatrTime,a.orderEndTime)}function I(){a.mobileOrderTimeShow=!0}function J(_){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=gt,u=xt,n=st,K=ct,x=it,N=ut,Q=dt,W=lt("van-calendar"),X=$;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(bt,{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 U="create",V="",q=0,void M.value.open(U,V,q,Z);var U,V,q,Z})},[o("div",S,[t(K,{icon:"fluent-mdl2:product",class:"text-7.5!"})]),Y])])]),_: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",D,[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(Q,{key:1,onClick:I},{default:r(()=>[mt("\u9009\u62E9\u65E5\u671F")]),_:1})):(p(),g("div",E,[t(N,{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:G},null,8,["modelValue","default-time"])])),t(W,{show:e(a).mobileOrderTimeShow,"onUpdate:show":l[3]||(l[3]=s=>e(a).mobileOrderTimeShow=s),type:"range","min-date":e(L),onConfirm:J},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(X,{options:e(R),height:250,onChartInit:B},null,8,["options"])]),_:1},8,["loading"])]),_:1})]),_:1})]),_:1},8,["loading"])]),_:1})]),_:1})]),_:1}),t(Dt,{ref_key:"spuFormRef",ref:M},null,512)],64)}}}),[["__scopeId","data-v-ba6d79a0"]])});export{ya as __tla,z as default};
|