var z=Object.defineProperty,j=Object.defineProperties;var R=Object.getOwnPropertyDescriptors;var l=Object.getOwnPropertySymbols;var S=Object.prototype.hasOwnProperty,T=Object.prototype.propertyIsEnumerable;var a=(o,t,e)=>t in o?z(o,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[t]=e,s=(o,t)=>{for(var e in t||(t={}))S.call(t,e)&&a(o,e,t[e]);if(l)for(var e of l(t))T.call(t,e)&&a(o,e,t[e]);return o},d=(o,t)=>j(o,R(t));import{d as b,U as u,a2 as v,a3 as E,k as p,af as n,u as r,G as c}from"./vue-vendor-CxLCUzY4.js";import"./index-gyz1IdHU.js";import{useListPage as A}from"./useListPage-TMORxSEa.js";import{h as D}from"./index-Cy4uayzW.js";import{Q as X}from"./componentMap-0iK4HQBq.js";import B from"./BasicTable-CgafrQwz.js";import"./antd-vue-vendor-CahNzUUa.js";import"./index-BN26Feep.js";import"./useForm-DfoT2G6J.js";import"./index-Bdn0r8CG.js";import"./index-zKZnG1QC.js";import"./BasicModal-sKcs_9Ir.js";import"./ModalHeader-ByCVDoqO.js";import"./useTimeout-gJpgadD6.js";import"./vxe-table-vendor-Cdi8WfTx.js";import"./useWindowSizeFn-DDyhhqyw.js";import"./index-CYoRlduV.js";import"./index-DYB8Ashr.js";import"./index-CrdW4fN1.js";import"./useIntersectionObserver-FVRzwlSd.js";import"./JAreaLinkage-CTMEfTuh.js";import"./areaDataUtil-Dk3xkGfK.js";import"./china-area-data-vendor-ByvEpbzN.js";import"./JSelectUser-B98pRPrS.js";import"./props-CtlWAg-s.js";import"./JSelectBiz-vYDBA0SK.js";import"./JSelectDept-D-TUaHvK.js";import"./index-CNQBnF3P.js";import"./bem-IZKqD41e.js";import"./props-CG-jAkbI.js";import"./useContextMenu-Q6J5bB_u.js";import"./JCodeEditor-U9QIstNN.js";import"./useFormItem-IOFWTdED.js";import"./htmlmixed-DoVLO6sG.js";import"./vue-DY75b9GC.js";/* empty css             */import"./JAddInput-DP4caUmw.js";import"./index-tDBMxW9-.js";import"./depart.api-B8q8MC-j.js";import"./JPopup-CVHkQZFq.js";import"./EasyCronInput-CZdChTcP.js";import"./JEllipsis-TuDc52fh.js";import"./JDictSelectTag-CalJXNVe.js";import"./JImageUpload-C5OCTlCG.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"./JUpload-DSWoDwh2.js";import"./index-B4vNk56t.js";import"./index-Dc7Jr5-j.js";import"./index-Dm1rPBfc.js";import"./injectionKey-DPVn4AgL.js";const K={class:"p-4"},L=b({name:"basic-table-demo"}),Gt=b(d(s({},L),{setup(o){const t=[{title:"姓名",dataIndex:"name",width:170,align:"left",resizable:!0,sorter:{multiple:1}},{title:"关键词",dataIndex:"keyWord",width:130,resizable:!0},{title:"打卡时间",dataIndex:"punchTime",width:140,resizable:!0},{title:"工资",dataIndex:"salaryMoney",width:140,resizable:!0,sorter:{multiple:2}},{title:"奖金",dataIndex:"bonusMoney",width:140,resizable:!0},{title:"性别",dataIndex:"sex",sorter:{multiple:3},filters:[{text:"男",value:"1"},{text:"女",value:"2"}],customRender:({record:i})=>i.sex?i.sex=="1"?"男":"女":"",width:120,resizable:!0},{title:"生日",dataIndex:"birthday",width:120,resizable:!0},{title:"邮箱",dataIndex:"email",width:120,resizable:!0}],e=i=>D.get({url:"/test/jeecgDemo/list",params:i}),{tableContext:f,onExportXls:x,onImportXls:_}=A({designScope:"basic-table-demo-filter",tableProps:{title:"表单搜索",api:e,columns:t,showActionColumn:!1,useSearchForm:!1},exportConfig:{name:"示例列表",url:"/test/jeecgDemo/exportXls"},importConfig:{url:"/test/jeecgDemo/importExcel"}}),[g,{reload:M},{rowSelection:w,selectedRows:N,selectedRowKeys:P}]=f;function h(i){return[{label:"编辑",onClick:C.bind(null,i)}]}function C(i){}return(i,m)=>{const I=u("a-button"),y=u("j-upload-button");return v(),E("div",K,[p(r(B),{onRegister:r(g),rowSelection:r(w)},{tableTitle:n(()=>[p(I,{type:"primary",preIcon:"ant-design:export-outlined",onClick:r(x)},{default:n(()=>m[0]||(m[0]=[c(" 导出")])),_:1},8,["onClick"]),p(y,{type:"primary",preIcon:"ant-design:import-outlined",onClick:r(_)},{default:n(()=>m[1]||(m[1]=[c("导入")])),_:1},8,["onClick"])]),action:n(({record:k})=>[p(r(X),{actions:h(k)},null,8,["actions"])]),_:1},8,["onRegister","rowSelection"])])}}}));export{Gt as default};
