1 |
- import{_ as C,d as v,ba as x,w as y,r as s,o as m,G as l,C as r,l as k,u as e,J as b,M as B,a as w}from"./index.53fa4f3d.js";import{c as u,s as f}from"./content.config.f8d7f59d.js";import{u as A}from"./use-page-search.09eae033.js";import{i as D}from"./isBeyondTime.55b26288.js";import{f as E}from"./export.95800e56.js";import"./isBeyondTime.e38b9ca8.js";import"./calc.3602fe08.js";const N=v({__name:"all",setup(P){const o="reportDaily",{hasPermissionWithCode:_}=x(o),t=y(null),d={pageSearchHook:()=>A(void 0,void 0,f)};async function g(){const c=t.value.getBasicParams()||{},{start:i,end:n}=c;if(D({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=s("el-button"),p=s("page-container"),a=s("page-auth");return m(),l(a,{"page-name":o},{default:r(()=>[k(p,{hooks:d,"page-name":o,"get-content-ref":h=>t.value=h,"content-config":e(u),"search-config":e(f)},{content_header:r(()=>[e(_)("9")?(m(),l(n,{key:0,onClick:g,size:"small",icon:e(b)("arrow-up-line"),type:"primary"},{default:r(()=>[B("\u5BFC\u51FA")]),_:1},8,["icon"])):w("v-if",!0)]),_:1},8,["get-content-ref","content-config","search-config"])]),_:1})}}});var G=C(N,[["__file","C:/Users/a/Desktop/projects/report-v3/src/views/time/reportDaily/components/all.vue"]]);export{G as default};
|