import{_,d,cl as g,m as h,r as c,o as C,A as v,x as i,h as x,u as n,D as k,H as y}from"./index.d0c68291.js";import{c as R,s as l}from"./content.config.7bf7261a.js";import{u as A}from"./use-page-search.f8fe5a6b.js";import{i as B}from"./isBeyondTime.e55d9c20.js";import{h as b}from"./export.8d59e752.js";import"./status.3ccd5ebb.js";import"./createRequset.043df941.js";const w=d({__name:"all",setup(P){const e=g(!1),a=h(null),u={pageSearchHook:()=>A(void 0,void 0,l)},p={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;B({start:s,end:t,len:30})||await b({fileType:"aplication/zip",name:"\u65E0\u5730\u5740\u9500\u552E\u8BA2\u5355.zip",isPurchase:!0,url:"snae",...p,params:o})}return(o,s)=>{const t=c("el-button"),r=c("PageContainer");return C(),v(r,{hooks:u,getContentRef:m=>a.value=m,"content-config":n(R),"search-config":n(l)},{content_header:i(()=>[x(t,{onClick:f,size:"small",icon:n(k)("arrow-up-line"),type:"primary"},{default:i(()=>[y("\u5BFC\u51FA")]),_:1},8,["icon"])]),_:1},8,["getContentRef","content-config","search-config"])}}});var H=_(w,[["__file","C:/Users/63107/Desktop/projects/report-v3/src/views/reportCollection/frontNoAddress/components/all.vue"]]);export{H as default};
