all.0067fb74.js 1.3 KB

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