1 |
- import{_,d,aD as g,w as h,r as c,o as C,G as v,C as i,l as k,u as n,J as w,M as x}from"./index.1d5f2f42.js";import{c as y,s as l}from"./content.config.1a82612c.js";import{u as R}from"./use-page-search.5b2e253c.js";import{i as B}from"./isBeyondTime.8b05db81.js";import{h as b}from"./export.669edd93.js";import"./status.3ccd5ebb.js";import"./createRequset.a71f3020.js";const A=d({__name:"all",setup(P){const e=g(!1),a=h(null),u={pageSearchHook:()=>R(void 0,void 0,l)},p={onSuccess:()=>e.value=!1,onStart:()=>e.value=!0,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:30})||await b({fileType:"aplication/zip",name:"\u65E0\u5730\u5740\u9500\u552E\u8BA2\u5355.zip",isPurchase:!0,url:"snae",...p,params:o})}return(o,r)=>{const t=c("el-button"),s=c("PageContainer");return C(),v(s,{hooks:u,getContentRef:m=>a.value=m,"content-config":n(y),"search-config":n(l)},{content_header:i(()=>[k(t,{onClick:f,size:"small",icon:n(w)("arrow-up-line"),type:"primary"},{default:i(()=>[x("\u5BFC\u51FA")]),_:1},8,["icon"])]),_:1},8,["getContentRef","content-config","search-config"])}}});var V=_(A,[["__file","D:/work/rep-v3/report-v3/src/views/reportCollection/frontNoAddress/components/all.vue"]]);export{V as default};
|