import{_ as g,d as C,cl as h,m as v,r as i,o as F,A as x,x as u,h as y,u as s,D as A,H as b,cc as k}from"./index.e80c366d.js";import{c as B,s as l}from"./content.config.626e31a9.js";import{u as R}from"./use-page-search.e3e95470.js";import{h as T}from"./export.6f50dc45.js";import{i as p}from"./isBeyondTime.e174d920.js";import"./createRequset.bf5f5380.js";import"./xlsx.ed122d16.js";const w=C({__name:"all",setup(D){const a=h(!1),c=v(null),f={pageSearchHook:()=>R(void 0,void 0,l)},m={onStart:()=>a.value=!0,onSuccess:()=>a.value=!1,onFail:()=>a.value=!1};async function _(){const r=c.value.getBasicParams()||{},{start_date:n,end_date:e,start_arrive_date:t,end_arrive_date:o}=r;if(!t&&!o&&!n&&!e){k.warning("\u8BF7\u9009\u62E9\u81F3\u5C11\u4E00\u79CD\u5BFC\u51FA\u6587\u4EF6\u7684\u65F6\u95F4\u533A\u95F4");return}t&&o&&p({start:t,end:o,len:30})||n&&e&&p({start:n,end:e,len:30})||await T({name:"\u672A\u53D1\u8D27\u62A5\u8868.zip",fileType:"aplication/zip",url:"saleexportnotoutexport",isPurchase:!0,...m,params:r})}return(r,n)=>{const e=i("el-button"),t=i("PageContainer");return F(),x(t,{hooks:f,getContentRef:o=>c.value=o,"content-config":s(B),"search-config":s(l)},{content_header:u(()=>[y(e,{onClick:_,size:"small",icon:s(A)("arrow-up-line"),type:"primary"},{default:u(()=>[b("\u5BFC\u51FA")]),_:1},8,["icon"])]),_:1},8,["getContentRef","content-config","search-config"])}}});var j=g(w,[["__file","C:/Users/63107/Desktop/projects/report-v3/src/views/reportCollection/frontNotDeliver/components/all.vue"]]);export{j as default};
