import{d as n,U as l,a2 as d,ad as u,af as o,k as m,u as i}from"./vue-vendor-CxLCUzY4.js";import{P as s}from"./index-CRgSyMPH.js";import{u as c}from"./index-gyz1IdHU.js";import{bt as T}from"./index-Cy4uayzW.js";import v from"./BasicTable-CgafrQwz.js";import"./antd-vue-vendor-CahNzUUa.js";import"./useContentHeight-XU-h1taH.js";import"./useWindowSizeFn-DDyhhqyw.js";import"./vxe-table-vendor-Cdi8WfTx.js";import"./useContentViewHeight-Qm4QNm5l.js";import"./usePageContext-CXQdt-5h.js";import"./injectionKey-DPVn4AgL.js";import"./componentMap-0iK4HQBq.js";import"./useFormItem-IOFWTdED.js";import"./index-zKZnG1QC.js";import"./BasicModal-sKcs_9Ir.js";import"./ModalHeader-ByCVDoqO.js";import"./useTimeout-gJpgadD6.js";import"./index-Bdn0r8CG.js";import"./index-CYoRlduV.js";import"./index-DYB8Ashr.js";import"./index-CrdW4fN1.js";import"./useIntersectionObserver-FVRzwlSd.js";import"./download-Bn4f3tzD.js";import"./base64Conver-24EVOS6V.js";import"./index-D6H6KsT6.js";import"./index-CLxBW_h0.js";import"./useCountdown-2P9HvnfJ.js";import"./useFormItemSingle-BEyrYQqf.js";import"./JSelectUser-B98pRPrS.js";import"./props-CtlWAg-s.js";import"./JSelectBiz-vYDBA0SK.js";import"./JAddInput-DP4caUmw.js";import"./areaDataUtil-Dk3xkGfK.js";import"./china-area-data-vendor-ByvEpbzN.js";import"./index-tDBMxW9-.js";import"./index-CNQBnF3P.js";import"./bem-IZKqD41e.js";import"./props-CG-jAkbI.js";import"./useContextMenu-Q6J5bB_u.js";import"./depart.api-B8q8MC-j.js";import"./JImageUpload-C5OCTlCG.js";import"./JDictSelectTag-CalJXNVe.js";import"./JSelectDept-D-TUaHvK.js";import"./JPopup-CVHkQZFq.js";import"./JEllipsis-TuDc52fh.js";import"./JUpload-DSWoDwh2.js";import"./index-B4vNk56t.js";import"./index-Dc7Jr5-j.js";import"./index-Dm1rPBfc.js";import"./index-BN26Feep.js";import"./useForm-DfoT2G6J.js";import"./JAreaLinkage-CTMEfTuh.js";import"./JCodeEditor-U9QIstNN.js";import"./htmlmixed-DoVLO6sG.js";import"./vue-DY75b9GC.js";/* empty css             */import"./EasyCronInput-CZdChTcP.js";const he=n({__name:"TableTotal",setup(f){const[p]=c({rowKey:"id",bordered:!0,canResize:!1,columns:[{title:"姓名",dataIndex:"name"},{title:"贡献点",dataIndex:"point"},{title:"等级",dataIndex:"level"},{title:"更新时间",dataIndex:"updateTime"}],dataSource:[{id:0,name:"张三",point:23,level:3,updateTime:"2019-8-14"},{id:1,name:"小鹿",point:33,level:9,updateTime:"2019-8-10"},{id:2,name:"小王",point:6,level:1,updateTime:"2019-8-13"},{id:3,name:"李四",point:53,level:8,updateTime:"2019-8-12"},{id:4,name:"小红",point:44,level:5,updateTime:"2019-8-11"},{id:5,name:"王五",point:97,level:10,updateTime:"2019-8-10"},{id:6,name:"小明",point:33,level:2,updateTime:"2019-8-10"},{id:7,name:"小张",point:33,level:4,updateTime:"2019-8-10"},{id:8,name:"小六",point:33,level:2,updateTime:"2019-8-10"},{id:9,name:"小五",point:33,level:7,updateTime:"2019-8-10"},{id:10,name:"小赵",point:33,level:2,updateTime:"2019-8-10"},{id:11,name:"李华",point:33,level:8,updateTime:"2019-8-10"},{id:12,name:"小康",point:33,level:5,updateTime:"2019-8-10"}],showSummary:!0,summaryFunc:r});function r(e){const t=T(e,["point","level"]);return[t,{_row:"平均",_index:"平均",point:(t.point/e.length).toFixed(2),level:(t.level/e.length).toFixed(0)}]}return(e,t)=>{const a=l("a-card");return d(),u(i(s),null,{default:o(()=>[m(a,{bordered:!1},{default:o(()=>[m(i(v),{onRegister:i(p)},null,8,["onRegister"])]),_:1})]),_:1})}}});export{he as default};
