all.81a4f82b.js 1.3 KB

1
  1. import{_,d,cl as g,m as h,r as c,o as C,A as v,x as i,h as y,u as n,D as x,H as k}from"./index.56449854.js";import{c as R,s as l}from"./content.config.5ed6a9d7.js";import{u as D}from"./use-page-search.59eb5443.js";import{i as F}from"./isBeyondTime.ddc44ee0.js";import{h as b}from"./export.a2ce61c0.js";import"./status.3ccd5ebb.js";import"./createRequset.5439599c.js";import"./xlsx.ed122d16.js";const w=d({__name:"all",setup(B){const e=g(!1),a=h(null),p={pageSearchHook:()=>D(void 0,void 0,l)},u={onSuccess:()=>e.value=!1,onStart:()=>e.value=!0,onFail:()=>e.value=!1};async function f(){const o=a.value.getBasicParams()||{},{start_date:s,end_date:t}=o;F({start:s,end:t,len:30})||await b({fileType:"aplication/zip",name:"\u5EF6\u65F6\u53D1\u8D27\u5355.zip",isPurchase:!0,url:"seoonae",...u,params:o})}return(o,s)=>{const t=c("el-button"),r=c("PageContainer");return C(),v(r,{hooks:p,getContentRef:m=>a.value=m,"content-config":n(R),"search-config":n(l)},{content_header:i(()=>[y(t,{onClick:f,size:"small",icon:n(x)("arrow-up-line"),type:"primary"},{default:i(()=>[k("\u5BFC\u51FA")]),_:1},8,["icon"])]),_:1},8,["getContentRef","content-config","search-config"])}}});var V=_(w,[["__file","C:/Users/89793/Desktop/projects/report-v3/src/views/reportCollection/frontDelayedDelivery/components/all.vue"]]);export{V as default};