1 |
- import{_ as C,d as g,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 b,M as k,au as w}from"./index.80b93359.js";import{c as A,s as l}from"./content.config.06c4562f.js";import{u as B}from"./use-page-search.49c3876c.js";import{h as R}from"./export.1f82d417.js";import{i as p}from"./isBeyondTime.d32f750b.js";import"./createRequset.ee94c15c.js";const T=g({__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:t,end_arrive_date:o}=r;if(!t&&!o&&!n&&!e){w.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 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"),t=u("PageContainer");return F(),x(t,{hooks:f,getContentRef:o=>i.value=o,"content-config":s(A),"search-config":s(l)},{content_header:c(()=>[y(e,{onClick:_,size:"small",icon:s(b)("arrow-up-line"),type:"primary"},{default:c(()=>[k("\u5BFC\u51FA")]),_:1},8,["icon"])]),_:1},8,["getContentRef","content-config","search-config"])}}});var V=C(T,[["__file","C:/Users/a/Desktop/projects/report-v3/src/views/reportCollection/frontNotDeliver/components/all.vue"]]);export{V as default};
|