ToBeDone-343ab269.js 2.1 KB

1
  1. import{aA as s,d as w,u as C,y as B,e as M,r as g,b as P,o as S,c as k,B as t,E as v,a as r,D as h,aH as O,f as j,F as A,_ as H,__tla as q}from"./index-f6fb8e95.js";import E,{__tla as F}from"./ToBeDoneDialog-f48683a8.js";let n,x,b,I=Promise.all([(()=>{try{return q}catch{}})(),(()=>{try{return F}catch{}})()]).then(async()=>{let i,p,c,u;i=async()=>await s.get({url:"/sale/merchant-apply/getMerchantApplyCount"}),p=async()=>await s.get({url:"/product/spu-apply/getSpuTotal"}),b=async _=>await s.get({url:"/trade/order/getOrderCountWithMoney",params:_}),c={class:"mr-10px folder folder-close"},u={class:"mr-10px folder folder-close"},n=H(w({__name:"ToBeDone",setup(_,{expose:z}){const{push:f}=C(),T=B(),m=M(()=>T.getMobile),y=g(),l=g({\u5F85\u5BA1\u6838\u5546\u6237:0,\u5F85\u5BA1\u6838\u5546\u54C1:0}),d=e=>{var a;m.value?e=="\u5F85\u5BA1\u6838\u5546\u6237"?f({name:"Merchant",query:{openType:"tobedone"}}):e=="\u5F85\u5BA1\u6838\u5546\u54C1"&&f({name:"ProductSpu"}):(a=y.value)==null||a.open(e)},o=()=>{Promise.all([i(),p()]).then(e=>{l.value.\u5F85\u5BA1\u6838\u5546\u6237=e[0],l.value.\u5F85\u5BA1\u6838\u5546\u54C1=e[1]})};return z({getList:o}),P(()=>{o()}),(e,a)=>(S(),k(A,null,[t("div",{style:O({height:r(m)?"80px":"250px"})},[t("p",{style:{display:"flex","align-items":"center",position:"relative",color:"#606266","font-size":"var(--el-font-size-base)",margin:"0",cursor:"pointer"},onClick:a[0]||(a[0]=D=>d("\u5F85\u5BA1\u6838\u5546\u6237"))},[t("span",c,v(r(l).\u5F85\u5BA1\u6838\u5546\u6237),1),h(" \u5F85\u5BA1\u6838\u5546\u6237 ")]),t("p",{style:{display:"flex","align-items":"center",position:"relative",color:"#606266","font-size":"var(--el-font-size-base)",margin:"4px 0 0",cursor:"pointer"},onClick:a[1]||(a[1]=D=>d("\u5F85\u5BA1\u6838\u5546\u54C1"))},[t("span",u,v(r(l).\u5F85\u5BA1\u6838\u5546\u54C1),1),h(" \u5F85\u5BA1\u6838\u5546\u54C1 ")])],4),j(E,{ref_key:"ToBeDoneDialogRef",ref:y,onClose:o},null,512)],64))}}),[["__scopeId","data-v-a0688993"],["__file","D:/zx/mall-newfeifan-zx-admin/src/views/Home/components/ToBeDone.vue"]]),x=Object.freeze(Object.defineProperty({__proto__:null,default:n},Symbol.toStringTag,{value:"Module"}))});export{n as T,I as __tla,x as a,b as g};