import{_,d,aD as C,w as g,r as c,o as h,G as v,C as i,l as x,u as a,J as k,M as w}from"./index.1d5f2f42.js";import{c as y,s as l}from"./content.config.30519c2d.js";import{u as B}from"./use-page-search.5b2e253c.js";import{i as F}from"./isBeyondTime.8b05db81.js";import{h as R}from"./export.669edd93.js";import"./createRequset.a71f3020.js";const E=d({__name:"all",setup(b){const e=C(!1),n=g(null),u={pageSearchHook:()=>B(void 0,void 0,l)},p={onSuccess:()=>e.value=!1,onStart:()=>e.value=!0,onFail:()=>e.value=!1};async function f(){const o=n.value.getBasicParams()||{},{start_date:r,end_date:t}=o;F({start:r,end:t,len:30})||await R({fileType:"aplication/zip",name:"\u7ADE\u4EF7\u5355\u5BFC\u51FA\u660E\u7EC6.zip",url:"saleexportconsultdetailedexport",isPurchase:!0,...p,params:o})}return(o,r)=>{const t=c("el-button"),s=c("PageContainer");return h(),v(s,{hooks:u,getContentRef:m=>n.value=m,"content-config":a(y),"search-config":a(l)},{content_header:i(()=>[x(t,{onClick:f,size:"small",icon:a(k)("arrow-up-line"),type:"primary"},{default:i(()=>[w("\u5BFC\u51FA")]),_:1},8,["icon"])]),_:1},8,["getContentRef","content-config","search-config"])}}});var N=_(E,[["__file","D:/work/rep-v3/report-v3/src/views/reportCollection/frontBidDetail/components/all.vue"]]);export{N as default};
