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 k,H as y}from"./index.e80c366d.js";import{c as B,s as l}from"./content.config.30ed237a.js";import{u as F}from"./use-page-search.e3e95470.js";import{i as R}from"./isBeyondTime.e174d920.js";import{h as A}from"./export.6f50dc45.js";import"./createRequset.bf5f5380.js";import"./xlsx.ed122d16.js";const E=d({__name:"all",setup(b){const e=C(!1),a=g(null),p={pageSearchHook:()=>F(void 0,void 0,l)},u={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;R({start:s,end:t,len:30})||await A({fileType:"aplication/zip",name:"\u7ADE\u4EF7\u5355\u5BFC\u51FA\u660E\u7EC6.zip",url:"saleexportconsultdetailedexport",isPurchase:!0,...u,params:o})}return(o,s)=>{const t=c("el-button"),r=c("PageContainer");return h(),v(r,{hooks:p,getContentRef:m=>a.value=m,"content-config":n(B),"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 N=_(E,[["__file","C:/Users/63107/Desktop/projects/report-v3/src/views/reportCollection/frontBidDetail/components/all.vue"]]);export{N as default};
