all.7f546f73.js 1.2 KB

1
  1. import{_ as m,d as _,w as g,aD as C,r as n,o as d,G as h,C as r,l as v,u as a,J as x,M as F,au as w}from"./index.1d5f2f42.js";import{c as k,s}from"./content.config.841c64e1.js";import{h as E}from"./export.669edd93.js";import{u as R}from"./use-page-search.5b2e253c.js";const y=_({__name:"all",setup(B){const t=g(null),e=C(!1),c={pageSearchHook:()=>R(void 0,void 0,s)},l={onStart:()=>e.value=!0,onSuccess:()=>e.value=!1,onFail:()=>e.value=!1};async function u(){const o=t.value.getBasicParams()||{};if(!o.date){w.warning("\u8BF7\u9009\u62E9\u5BFC\u51FA\u6587\u4EF6\u7684\u65E5\u671F!");return}await E({url:"saleexportconsultdayexport",fileType:"aplication/zip",isPurchase:!0,name:"\u65E5\u62A5.zip",...l,params:o})}return(o,A)=>{const i=n("el-button"),p=n("PageContainer");return d(),h(p,{hooks:c,getContentRef:f=>t.value=f,"content-config":a(k),"search-config":a(s)},{content_header:r(()=>[v(i,{onClick:u,size:"small",icon:a(x)("arrow-up-line"),type:"primary"},{default:r(()=>[F("\u5BFC\u51FA")]),_:1},8,["icon"])]),_:1},8,["getContentRef","content-config","search-config"])}}});var D=m(y,[["__file","D:/work/rep-v3/report-v3/src/views/reportCollection/frontDaily/components/all.vue"]]);export{D as default};