1 |
- import{_,d,aD as g,w as C,r as c,o as h,G as v,C as l,l as x,u as n,J as k,M as w}from"./index.1d5f2f42.js";import{c as y,s as i}from"./content.config.8de3c65a.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"./createRequset.a71f3020.js";const P=d({__name:"all",setup(S){const e=g(!1),a=C(null),p={pageSearchHook:()=>R(void 0,void 0,i)},u={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:"\u4EA7\u54C1\u70ED\u9500\u6392\u884C.zip",url:"saleexportgoodrankinglistexport",isPurchase:!0,...u,params:o})}return(o,r)=>{const t=c("el-button"),s=c("PageContainer");return h(),v(s,{hooks:p,getContentRef:m=>a.value=m,"content-config":n(y),"search-config":n(i)},{content_header:l(()=>[x(t,{onClick:f,size:"small",icon:n(k)("arrow-up-line"),type:"primary"},{default:l(()=>[w("\u5BFC\u51FA")]),_:1},8,["icon"])]),_:1},8,["getContentRef","content-config","search-config"])}}});var N=_(P,[["__file","D:/work/rep-v3/report-v3/src/views/reportCollection/frontSellWell/components/all.vue"]]);export{N as default};
|