import{_,d,aD as C,w as g,r as c,o as h,G as v,C as i,l as y,u as n,J as B,M as k}from"./index.1d5f2f42.js";import{c as w,s as l}from"./content.config.726e7897.js";import{u as x}from"./use-page-search.5b2e253c.js";import{i as R}from"./isBeyondTime.8b05db81.js";import{h as b}from"./export.669edd93.js";import"./createRequset.a71f3020.js";const P=d({__name:"all",setup(T){const e=C(!1),a=g(null),u={pageSearchHook:()=>x(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 b({name:"\u9500\u552E\u8BA2\u5355\u5546\u54C1\u7C7B\u578B.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(w),"search-config":n(l)},{content_header:i(()=>[y(t,{onClick:f,size:"small",icon:n(B)("arrow-up-line"),type:"primary"},{default:i(()=>[k("\u5BFC\u51FA")]),_:1},8,["icon"])]),_:1},8,["getContentRef","content-config","search-config"])}}});var N=_(P,[["__file","D:/work/rep-v3/report-v3/src/views/reportCollection/frontDeliveryDimension/components/all.vue"]]);export{N as default};
