import{_,d,cl as g,m as C,r as c,o as h,A as v,x as l,h as x,u as n,D as k,H as y}from"./index.56449854.js";import{c as R,s as i}from"./content.config.165101fe.js";import{u as b}from"./use-page-search.59eb5443.js";import{i as w}from"./isBeyondTime.ddc44ee0.js";import{h as A}from"./export.a2ce61c0.js";import"./createRequset.5439599c.js";import"./xlsx.ed122d16.js";const B=d({__name:"all",setup(P){const e=g(!1),a=C(null),p={pageSearchHook:()=>b(void 0,void 0,i)},u={onSuccess:()=>e.value=!1,onStart:()=>e.value=!0,onFail:()=>e.value=!1};async function f(){const o=a.value.getBasicParams()||{},{start_date:s,end_date:t}=o;w({start:s,end:t,len:30})||await A({fileType:"aplication/zip",name:"\u4EA7\u54C1\u70ED\u9500\u6392\u884C.zip",url:"saleexportgoodrankinglistexport",isPurchase:!0,...u,params:o})}return(o,s)=>{const t=c("el-button"),r=c("PageContainer");return h(),v(r,{hooks:p,getContentRef:m=>a.value=m,"content-config":n(R),"search-config":n(i)},{content_header:l(()=>[x(t,{onClick:f,size:"small",icon:n(k)("arrow-up-line"),type:"primary"},{default:l(()=>[y("\u5BFC\u51FA")]),_:1},8,["icon"])]),_:1},8,["getContentRef","content-config","search-config"])}}});var N=_(B,[["__file","C:/Users/89793/Desktop/projects/report-v3/src/views/reportCollection/frontSellWell/components/all.vue"]]);export{N as default};