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