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.e80c366d.js";import{c as R,s as l}from"./content.config.ee6004ef.js";import{u as A}from"./use-page-search.e3e95470.js";import{h as B}from"./export.6f50dc45.js";import{i as b}from"./isBeyondTime.e174d920.js";import"./createRequset.bf5f5380.js";import"./xlsx.ed122d16.js";const w=d({__name:"all",setup(P){const e=g(!1),a=h(null),p={pageSearchHook:()=>A(void 0,void 0,l)},u={onStart:()=>e.value=!0,onSuccess:()=>e.value=!1,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:"\u672A\u7B7E\u6536\u62A5\u8868.zip",url:"saleexportnotsignedexport",isPurchase:!0,...u,params:o})}return(o,s)=>{const t=c("el-button"),r=c("PageContainer");return C(),v(r,{hooks:p,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/frontNotSign/components/all.vue"]]);export{H as default};
