1 |
- import{_,d,aD as g,w as C,r as c,o as h,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.d2fdea1b.js";import{u as B}from"./use-page-search.5b2e253c.js";import{i as F}from"./isBeyondTime.8b05db81.js";import{h as R}from"./export.669edd93.js";import"./createRequset.a71f3020.js";const b=d({__name:"all",setup(E){const e=g(!1),a=C(null),u={pageSearchHook:()=>B(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;F({start:r,end:t,len:30})||await R({fileType:"aplication/zip",name:"\u7ADE\u4EF7\u5355\u5BFC\u51FA\u660E\u7EC6.zip",url:"seboe",isPurchase:!0,...p,params:o})}return(o,r)=>{const t=c("el-button"),s=c("PageContainer");return h(),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 N=_(b,[["__file","D:/work/rep-v3/report-v3/src/views/reportCollection/frontBargain/components/all.vue"]]);export{N as default};
|