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-D55rh6hR.js";import{u as c}from"./index-KOQNKxnC.js";import{bt as T}from"./index-CLZzJyTP.js";import v from"./BasicTable-DUJWN3yz.js";import"./antd-vue-vendor-CahNzUUa.js";import"./useContentHeight-DLfJuPsF.js";import"./useWindowSizeFn-D9PllI8g.js";import"./vxe-table-vendor-Cdi8WfTx.js";import"./useContentViewHeight-BIb_dTbE.js";import"./usePageContext-FyDvfV_K.js";import"./injectionKey-DPVn4AgL.js";import"./componentMap-DpsJvoqz.js";import"./useFormItem-IOFWTdED.js";import"./index-XZKTTfG1.js";import"./BasicModal-B8XmAOm7.js";import"./ModalHeader-DIFQSP_0.js";import"./useTimeout-KpZCXEcl.js";import"./index-DvqyyN77.js";import"./index-DS3utcig.js";import"./index-BZbg0EjM.js";import"./index-CrdW4fN1.js";import"./useIntersectionObserver-FVRzwlSd.js";import"./download-DopMSmFN.js";import"./base64Conver-24EVOS6V.js";import"./index-CDa2_aYE.js";import"./index-D0jTtUNS.js";import"./useCountdown-BpP55PQ2.js";import"./useFormItemSingle-BEyrYQqf.js";import"./JSelectUser-CfAGgHjD.js";import"./props-BtZrRNiI.js";import"./JSelectBiz-CLnJTMe2.js";import"./JAddInput-B36c3B5x.js";import"./areaDataUtil-Dk3xkGfK.js";import"./china-area-data-vendor-ByvEpbzN.js";import"./index-C7yPiS0L.js";import"./index-44tRnyoF.js";import"./bem-DT3DdmOs.js";import"./props-CG-jAkbI.js";import"./useContextMenu-BGU2vdqV.js";import"./depart.api-DHG2p2Yd.js";import"./JImageUpload-BFwNYdm5.js";import"./JDictSelectTag-CfF54ALX.js";import"./JSelectDept-CaEHrQp6.js";import"./JPopup-BvqhHpPl.js";import"./JEllipsis-C_gT_vEQ.js";import"./JUpload-DgDEmizw.js";import"./index-Bn2zmO2L.js";import"./index-CEznvAVZ.js";import"./index-CfAukas3.js";import"./index-ByX9XNkE.js";import"./useForm-Dx3lJ3DG.js";import"./JAreaLinkage-M9TGy8nY.js";import"./JCodeEditor-CR57XeIe.js";import"./htmlmixed-DoVLO6sG.js";import"./vue-DY75b9GC.js";/* empty css             */import"./EasyCronInput-CWOTSpxK.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};
