1 |
- import D,{__tla as M}from"./ToBeDoneDialog-a68052b1.js";import{az as s,d as P,u as S,y as j,e as k,r as g,b as w,o as B,c as O,B as t,E as h,a as o,D as v,aG as q,f as A,F as E,__tla as F}from"./index-6e0fa573.js";import{_ as G}from"./_plugin-vue_export-helper-1b428a4d.js";let n,x,b,I=Promise.all([(()=>{try{return M}catch{}})(),(()=>{try{return F}catch{}})()]).then(async()=>{let p,i,c,u;p=async()=>await s.get({url:"/sale/merchant-apply/getMerchantApplyCount"}),i=async()=>await s.get({url:"/product/spu-apply/getSpuTotal"}),b=async f=>await s.get({url:"/trade/order/getOrderCountWithMoney",params:f}),c={class:"mr-10px folder folder-close"},u={class:"mr-10px folder folder-close"},n=G(P({__name:"ToBeDone",setup(f,{expose:z}){const{push:_}=S(),T=j(),y=k(()=>T.getMobile),m=g(),l=g({\u5F85\u5BA1\u6838\u5546\u6237:0,\u5F85\u5BA1\u6838\u5546\u54C1:0}),d=e=>{var a;y.value?e=="\u5F85\u5BA1\u6838\u5546\u6237"?_({name:"Merchant",query:{openType:"tobedone"}}):e=="\u5F85\u5BA1\u6838\u5546\u54C1"&&_({name:"ProductSpu"}):(a=m.value)==null||a.open(e)},r=()=>{Promise.all([p(),i()]).then(e=>{l.value.\u5F85\u5BA1\u6838\u5546\u6237=e[0],l.value.\u5F85\u5BA1\u6838\u5546\u54C1=e[1]})};return z({getList:r}),w(()=>{r()}),(e,a)=>(B(),O(E,null,[t("div",{style:q({height:o(y)?"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]=C=>d("\u5F85\u5BA1\u6838\u5546\u6237"))},[t("span",c,h(o(l).\u5F85\u5BA1\u6838\u5546\u6237),1),v(" \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]=C=>d("\u5F85\u5BA1\u6838\u5546\u54C1"))},[t("span",u,h(o(l).\u5F85\u5BA1\u6838\u5546\u54C1),1),v(" \u5F85\u5BA1\u6838\u5546\u54C1 ")])],4),A(D,{ref_key:"ToBeDoneDialogRef",ref:m,onClose:r},null,512)],64))}}),[["__scopeId","data-v-0f3e00f8"]]),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};
|