Files
yusheng-admin/dist/static/js/index-BhmpNw57.js
2025-10-23 11:07:17 +08:00

2 lines
2.5 KiB
JavaScript

var B=Object.defineProperty,z=Object.defineProperties;var D=Object.getOwnPropertyDescriptors;var c=Object.getOwnPropertySymbols;var N=Object.prototype.hasOwnProperty,T=Object.prototype.propertyIsEnumerable;var p=(t,a,o)=>a in t?B(t,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[a]=o,u=(t,a)=>{for(var o in a||(a={}))N.call(a,o)&&p(t,o,a[o]);if(c)for(var o of c(a))T.call(a,o)&&p(t,o,a[o]);return t},f=(t,a)=>z(t,D(a));import{useData as V}from"./hook-BjKxPh4y.js";import{_ as E}from"./index.vue_vue_type_script_setup_true_lang-B9ljupwd.js";import{P as H}from"./index-CnAi1QxJ.js";import{d as F,x as M,r as d,o as O,c as $,b as n,u as e,e as j,h as r,f as h,R as g,a8 as C}from"./index-CRmU-Qpi.js";import"./xlsx-DaVhO591.js";import"./index.vue_vue_type_script_setup_true_lang-Vno3adgp.js";import"./ruleform.vue_vue_type_script_setup_true_lang-CpPLnSJP.js";import"./reward.vue_vue_type_script_setup_true_lang-7Tg4wqPi.js";import"./blindBox-BqHhL4EW.js";import"./activities-UkTzwAkp.js";import"./hooks-ItYVRz1P.js";import"./sortable.esm-7jaD_3Ar.js";import"./epTheme-Dbh1KLs6.js";const q={class:"main"},ne=F({name:"hourlyChart",__name:"index",setup(t){const{searchLabel:a,searchForm:o,onSearch:s,isShow:_,tableList:b,pagination:x,tableLabel:v,handleSizeChange:w,handleCurrentChange:k,loading:y,exportExcel:L,settingRule:S}=V();return M(()=>{s(o.value)}),(A,l)=>{const i=d("el-button"),P=d("pure-table");return O(),$("div",q,[n(E,{class:"pb-2",LabelList:e(a),formData:e(o),onHandleSearch:e(s)},null,8,["LabelList","formData","onHandleSearch"]),j("div",{ref:"contentRef",class:g(["flex",e(C)()?"flex-wrap":""])},[n(e(H),{title:"小时榜数据列表",class:g([e(_)&&!e(C)()?"!w-[60vw]":"w-full"]),columns:e(v),onRefresh:e(s)},{buttons:r(()=>[n(i,{type:"primary",onClick:e(L)},{default:r(()=>l[0]||(l[0]=[h(" 导出 ")])),_:1},8,["onClick"]),n(i,{onClick:e(S)},{default:r(()=>l[1]||(l[1]=[h(" 设置规则 ")])),_:1},8,["onClick"])]),default:r(({size:m,dynamicColumns:R})=>[n(P,{ref:"tableRef","align-whole":"center",showOverflowTooltip:"","table-layout":"auto","default-expand-all":"",loading:e(y),size:m,"row-key":"id",adaptive:"",adaptiveConfig:{offsetBottom:108},data:e(b),columns:R,pagination:f(u({},e(x)),{size:m}),"header-cell-style":{background:"var(--el-fill-color-light)",color:"var(--el-text-color-primary)"},onPageCurrentChange:e(k),onPageSizeChange:e(w)},null,8,["loading","size","data","columns","pagination","onPageCurrentChange","onPageSizeChange"])]),_:1},8,["class","columns","onRefresh"])],2)])}}});export{ne as default};