import{_,d as g,m as d,ci as C,r as s,o as h,A as v,x as r,h as x,u as t,D as F,H as k,cb as A}from"./index.bf41a5b5.js";import{c as E,s as c}from"./content.config.786ed2d3.js";import{h as R}from"./export.69fb1f23.js";import{u as w}from"./use-page-search.fc995b50.js";import"./xlsx.ed122d16.js";const y=g({__name:"all",setup(B){const a=d(null),e=C(!1),l={pageSearchHook:()=>w(void 0,void 0,c)},i={onStart:()=>e.value=!0,onSuccess:()=>e.value=!1,onFail:()=>e.value=!1};async function u(){const o=a.value.getBasicParams()||{};if(!o.date){A.warning("\u8BF7\u9009\u62E9\u5BFC\u51FA\u6587\u4EF6\u7684\u65E5\u671F!");return}await R({url:"saleexportconsultdayexport",fileType:"aplication/zip",isPurchase:!0,name:"\u65E5\u62A5.zip",...i,params:o})}return(o,n)=>{const p=s("el-button"),f=s("PageContainer");return h(),v(f,{hooks:l,getContentRef:m=>a.value=m,"content-config":t(E),"search-config":t(c)},{content_header:r(()=>[x(p,{onClick:u,size:"small",icon:t(F)("arrow-up-line"),type:"primary"},{default:r(()=>n[0]||(n[0]=[k("\u5BFC\u51FA")])),_:1},8,["icon"])]),_:1},8,["getContentRef","content-config","search-config"])}}});var H=_(y,[["__file","C:/Users/Administrator/Desktop/projects/report-v3/src/views/reportCollection/frontDaily/components/all.vue"]]);export{H as default};