import{_ as g,d as C,cl as h,m as F,r as i,o as v,A as y,x as u,h as x,u as r,D as b,H as k,cc as A}from"./index.e80c366d.js";import{c as B,s as l}from"./content.config.9c416682.js";import{u as R}from"./use-page-search.e3e95470.js";import{i as p}from"./isBeyondTime.e174d920.js";import{h as T}from"./export.6f50dc45.js";import"./status.3ccd5ebb.js";import"./createRequset.bf5f5380.js";import"./xlsx.ed122d16.js";const w=C({__name:"all",setup(D){const a=h(!1),c=F(null),m={pageSearchHook:()=>R(void 0,void 0,l)},f={onSuccess:()=>a.value=!1,onStart:()=>a.value=!0,onFail:()=>a.value=!1};async function d(){const s=c.value.getBasicParams()||{},{start_date:n,end_date:e,start_sendtime:t,end_sendtime:o}=s;if(!t&&!o&&!n&&!e){A.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({fileType:"aplication/zip",name:"\u76F4\u63A5\u53D1\u8D27\u5355.zip",isPurchase:!0,url:"seooae",...f,params:s})}return(s,n)=>{const e=i("el-button"),t=i("PageContainer");return v(),y(t,{hooks:m,getContentRef:o=>c.value=o,"content-config":r(B),"search-config":r(l)},{content_header:u(()=>[x(e,{onClick:d,size:"small",icon:r(b)("arrow-up-line"),type:"primary"},{default:u(()=>[k("\u5BFC\u51FA")]),_:1},8,["icon"])]),_:1},8,["getContentRef","content-config","search-config"])}}});var q=g(w,[["__file","C:/Users/63107/Desktop/projects/report-v3/src/views/reportCollection/frontDirectShipment/components/all.vue"]]);export{q as default};
