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