1 |
- import{_,d,aD as g,w as h,r as c,o as C,G as v,C as i,l as x,u as n,J as k,M as w}from"./index.1d5f2f42.js";import{c as y,s as l}from"./content.config.44a2811f.js";import{u as R}from"./use-page-search.5b2e253c.js";import{h as B}from"./export.669edd93.js";import{i as b}from"./isBeyondTime.8b05db81.js";import"./createRequset.a71f3020.js";const A=d({__name:"all",setup(P){const e=g(!1),a=h(null),p={pageSearchHook:()=>R(void 0,void 0,l)},u={onStart:()=>e.value=!0,onSuccess:()=>e.value=!1,onFail:()=>e.value=!1};async function f(){const o=a.value.getBasicParams()||{},{start_date:r,end_date:t}=o;b({start:r,end:t,len:10})||await B({fileType:"aplication/zip",name:"\u8BA2\u5355\u62A5\u8868.zip",url:"saleexport",isPurchase:!0,...u,params:o})}return(o,r)=>{const t=c("el-button"),s=c("PageContainer");return C(),v(s,{hooks:p,getContentRef:m=>a.value=m,"content-config":n(y),"search-config":n(l)},{content_header:i(()=>[x(t,{onClick:f,size:"small",icon:n(k)("arrow-up-line"),type:"primary"},{default:i(()=>[w("\u5BFC\u51FA")]),_:1},8,["icon"])]),_:1},8,["getContentRef","content-config","search-config"])}}});var N=_(A,[["__file","D:/work/rep-v3/report-v3/src/views/reportCollection/frontOrder/components/all.vue"]]);export{N as default};
|