all.9d285064.js 1.3 KB

1
  1. import{_,d,cl as g,m as C,r as c,o as h,A as v,x as i,h as x,u as n,D as k,H as y}from"./index.56449854.js";import{c as B,s as l}from"./content.config.a5aee67a.js";import{u as F}from"./use-page-search.59eb5443.js";import{i as R}from"./isBeyondTime.ddc44ee0.js";import{h as b}from"./export.a2ce61c0.js";import"./createRequset.5439599c.js";import"./xlsx.ed122d16.js";const A=d({__name:"all",setup(E){const e=g(!1),a=C(null),u={pageSearchHook:()=>F(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:s,end_date:t}=o;R({start:s,end:t,len:30})||await b({fileType:"aplication/zip",name:"\u7ADE\u4EF7\u5355\u5BFC\u51FA\u660E\u7EC6.zip",url:"seboe",isPurchase:!0,...p,params:o})}return(o,s)=>{const t=c("el-button"),r=c("PageContainer");return h(),v(r,{hooks:u,getContentRef:m=>a.value=m,"content-config":n(B),"search-config":n(l)},{content_header:i(()=>[x(t,{onClick:f,size:"small",icon:n(k)("arrow-up-line"),type:"primary"},{default:i(()=>[y("\u5BFC\u51FA")]),_:1},8,["icon"])]),_:1},8,["getContentRef","content-config","search-config"])}}});var N=_(A,[["__file","C:/Users/89793/Desktop/projects/report-v3/src/views/reportCollection/frontBargain/components/all.vue"]]);export{N as default};