import{_,d,aD as C,w as g,r as c,o as h,G as v,C as i,l as B,u as n,J as k,M as w}from"./index.1d5f2f42.js";import{c as x,s as l}from"./content.config.90c5721a.js";import{u as y}from"./use-page-search.5b2e253c.js";import{i as R}from"./isBeyondTime.8b05db81.js";import{h as D}from"./export.669edd93.js";import"./createRequset.a71f3020.js";const F=d({__name:"all",setup(b){const e=C(!1),a=g(null),u={pageSearchHook:()=>y(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:r,end_date:t}=o;R({start:r,end:t,len:30})||await D({name:"\u4F9B\u5E94\u5546\u8D1F\u8D23\u4EBA\u91C7\u8D2D\u8BA2\u5355\u60C5\u51B5.zip",fileType:"aplication/zip",isPurchase:!0,...p,url:"popme",params:o})}return(o,r)=>{const t=c("el-button"),s=c("PageContainer");return h(),v(s,{hooks:u,getContentRef:m=>a.value=m,"content-config":n(x),"search-config":n(l)},{content_header:i(()=>[B(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 H=_(F,[["__file","D:/work/rep-v3/report-v3/src/views/reportCollection/frontSupplierHead/components/all.vue"]]);export{H as default};
