import{_,d,aD as g,w as h,r as c,o as v,G as C,C as i,l as y,u as n,J as k,M as w}from"./index.1d5f2f42.js";import{c as x,s as l}from"./content.config.6bd633fd.js";import{u as R}from"./use-page-search.5b2e253c.js";import{i as D}from"./isBeyondTime.8b05db81.js";import{h as F}from"./export.669edd93.js";import"./status.3ccd5ebb.js";import"./createRequset.a71f3020.js";const b=d({__name:"all",setup(B){const e=g(!1),a=h(null),p={pageSearchHook:()=>R(void 0,void 0,l)},u={onSuccess:()=>e.value=!1,onStart:()=>e.value=!0,onFail:()=>e.value=!1};async function f(){const o=a.value.getBasicParams()||{},{start_date:r,end_date:t}=o;D({start:r,end:t,len:30})||await F({fileType:"aplication/zip",name:"\u5EF6\u65F6\u53D1\u8D27\u5355.zip",isPurchase:!0,url:"seoonae",...u,params:o})}return(o,r)=>{const t=c("el-button"),s=c("PageContainer");return v(),C(s,{hooks:p,getContentRef:m=>a.value=m,"content-config":n(x),"search-config":n(l)},{content_header:i(()=>[y(t,{onClick:f,size:"small",icon:n(k)("arrow-up-line"),type:"primary"},{default:i(()=>[w("\u5BFC\u51FA")]),_:1},8,["icon"])]),_:1},8,["getContentRef","content-config","search-config"])}}});var V=_(b,[["__file","D:/work/rep-v3/report-v3/src/views/reportCollection/frontDelayedDelivery/components/all.vue"]]);export{V as default};