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