import{_,d,aD as g,w as C,r as c,o as h,G as v,C as i,l as k,u as n,J as w,M as x}from"./index.1d5f2f42.js";import{c as y,s as l}from"./content.config.dc7a5a39.js";import{u as R}from"./use-page-search.5b2e253c.js";import{i as B}from"./isBeyondTime.8b05db81.js";import{h as D}from"./export.669edd93.js";import"./createRequset.a71f3020.js";const b=d({__name:"all",setup(A){const e=g(!1),a=C(null),u={pageSearchHook:()=>R(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;B({start:r,end:t,len:30})||await D({name:"\u91C7\u8D2D\u8BA2\u5355\u53D1\u8D27\u7EF4\u5EA6\u8868.zip",fileType:"aplication/zip",isPurchase:!0,...p,url:"oome",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(y),"search-config":n(l)},{content_header:i(()=>[k(t,{onClick:f,size:"small",icon:n(w)("arrow-up-line"),type:"primary"},{default:i(()=>[x("\u5BFC\u51FA")]),_:1},8,["icon"])]),_:1},8,["getContentRef","content-config","search-config"])}}});var N=_(b,[["__file","D:/work/rep-v3/report-v3/src/views/reportCollection/frontWares/components/all.vue"]]);export{N as default};
