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