1 |
- import{d as R,r as n,f as S,B as z,o as d,l as w,w as _,g as N,i as t,a as r,C as D,e0 as E,L as j,M as F,N as I,_ as B,__tla as H}from"./index-af173888.js";import{E as L,__tla as M}from"./el-card-178b9654.js";import{_ as X,__tla as $}from"./index-a33d7937.js";import{E as q,__tla as A}from"./el-image-fdde0035.js";import{__tla as G}from"./el-image-viewer-0d82b94c.js";import{_ as J,__tla as K}from"./index-ee956729.js";import{P as O,__tla as Q}from"./product-98b46ebd.js";import{C as T,__tla as V}from"./CardTitle-2870e669.js";import{__tla as W}from"./index-54b8f773.js";import{__tla as Y}from"./formatTime-8a6f6c49.js";let h,Z=Promise.all([(()=>{try{return H}catch{}})(),(()=>{try{return M}catch{}})(),(()=>{try{return $}catch{}})(),(()=>{try{return A}catch{}})(),(()=>{try{return G}catch{}})(),(()=>{try{return K}catch{}})(),(()=>{try{return Q}catch{}})(),(()=>{try{return V}catch{}})(),(()=>{try{return W}catch{}})(),(()=>{try{return Y}catch{}})()]).then(async()=>{let p;p={class:"flex flex-row items-center justify-between"},h=B(R({name:"ProductRank",__name:"ProductRank",setup(tt){const f=e=>`${e.browseConvertPercent}%`,b=e=>{o.sortingFields=[E(e)],s()},g=e=>{o.times=e,s()},y=n(),o=S({pageNo:1,pageSize:10,times:[],sortingFields:{}}),c=n(!1),m=n(0),u=n([]),s=async()=>{c.value=!0;try{const e=await O.getProductStatisticsRankPage(o);u.value=e.list,m.value=e.total}finally{c.value=!1}};return z(async()=>{await s()}),(e,i)=>{const v=J,a=j,P=q,C=F,k=X,U=L,x=I;return d(),w(U,{shadow:"never"},{header:_(()=>[N("div",p,[t(r(T),{title:"\u5546\u54C1\u6392\u884C"}),t(v,{ref_key:"shortcutDateRangePicker",ref:y,onChange:g},null,512)])]),default:_(()=>[D((d(),w(C,{data:r(u),onSortChange:b},{default:_(()=>[t(a,{label:"\u5546\u54C1ID",prop:"spuId","min-width":"70"}),t(a,{label:"\u5546\u54C1\u56FE\u7247",align:"center",prop:"picUrl",width:"80"},{default:_(({row:l})=>[t(P,{src:l.picUrl,"preview-src-list":[l.picUrl],class:"h-30px w-30px","preview-teleported":""},null,8,["src","preview-src-list"])]),_:1}),t(a,{label:"\u5546\u54C1\u540D\u79F0",prop:"name","min-width":"200","show-overflow-tooltip":!0}),t(a,{label:"\u6D4F\u89C8\u91CF",prop:"browseCount","min-width":"90",sortable:"custom"}),t(a,{label:"\u8BBF\u5BA2\u6570",prop:"browseUserCount","min-width":"90",sortable:"custom"}),t(a,{label:"\u52A0\u8D2D\u4EF6\u6570",prop:"cartCount","min-width":"105",sortable:"custom"}),t(a,{label:"\u4E0B\u5355\u4EF6\u6570",prop:"orderCount","min-width":"105",sortable:"custom"}),t(a,{label:"\u652F\u4ED8\u4EF6\u6570",prop:"orderPayCount","min-width":"105",sortable:"custom"}),t(a,{label:"\u652F\u4ED8\u91D1\u989D",prop:"orderPayPrice","min-width":"105",sortable:"custom"}),t(a,{label:"\u6536\u85CF\u6570",prop:"favoriteCount","min-width":"90",sortable:"custom"}),t(a,{label:"\u8BBF\u5BA2-\u652F\u4ED8\u8F6C\u5316\u7387(%)",prop:"browseConvertPercent","min-width":"180",sortable:"custom",formatter:f})]),_:1},8,["data"])),[[x,r(c)]]),t(k,{total:r(m),page:r(o).pageNo,"onUpdate:page":i[0]||(i[0]=l=>r(o).pageNo=l),limit:r(o).pageSize,"onUpdate:limit":i[1]||(i[1]=l=>r(o).pageSize=l),onPagination:s},null,8,["total","page","limit"])]),_:1})}}}),[["__file","/Users/RuHu.Xu/Desktop/mall-newfeifan-zx-admin/src/views/mall/statistics/product/components/ProductRank.vue"]])});export{Z as __tla,h as default};
|