import{_ as v,d as C,b9 as x,w as y,r,o as m,G as l,C as s,l as k,u as e,J as b,M as w,a as B}from"./index.1d5f2f42.js";import{c as u,s as f,i as A}from"./isBeyondTime.ec4f3d38.js";import{u as D}from"./use-page-search.5b2e253c.js";import{f as E}from"./export.669edd93.js";import"./createRequset.f858bea3.js";import"./isBeyondTime.8b05db81.js";import"./calc.3602fe08.js";const N=C({__name:"all",setup(P){const o="reportDaily",{hasPermissionWithCode:_}=x(o),t=y(null),d={pageSearchHook:()=>D(void 0,void 0,f)};async function g(){const c=t.value.getBasicParams()||{},{start:i,end:n}=c;if(A({start:i,end:n,len:30}))return;const a=t.value.getData();E({columns:u.columns,name:"\u65E5\u62A5.xlsx",data:a})}return(c,i)=>{const n=r("el-button"),p=r("page-container"),a=r("page-auth");return m(),l(a,{"page-name":o},{default:s(()=>[k(p,{hooks:d,"page-name":o,"get-content-ref":h=>t.value=h,"content-config":e(u),"search-config":e(f)},{content_header:s(()=>[e(_)("9")?(m(),l(n,{key:0,onClick:g,size:"small",icon:e(b)("arrow-up-line"),type:"primary"},{default:s(()=>[w("\u5BFC\u51FA")]),_:1},8,["icon"])):B("v-if",!0)]),_:1},8,["get-content-ref","content-config","search-config"])]),_:1})}}});var H=v(N,[["__file","D:/work/rep-v3/report-v3/src/views/time/reportDaily/components/all.vue"]]);export{H as default};
