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-LwlFn7Y4.js";import{useListPage as A}from"./useListPage-BEtybUiF.js";import{h as D}from"./index-B_2CoVdl.js";import{Q as X}from"./componentMap-CzCGDP7x.js";import B from"./BasicTable-Clbg3fHx.js";import"./antd-vue-vendor-CDWW6V_M.js";import"./index-ARbUvvsq.js";import"./useForm-CcjrODHR.js";import"./index-DAURrYyA.js";import"./index-D2AmS0aU.js";import"./BasicModal-D3g2CFhF.js";import"./ModalHeader-C-C0dUi_.js";import"./useTimeout-CB9F1PLu.js";import"./vxe-table-vendor-B5h3MVdD.js";import"./useWindowSizeFn-C3WExEpc.js";import"./index-Dz2zbQB_.js";import"./index-exs4VcBw.js";import"./index-ByLO0zSl.js";import"./useIntersectionObserver-FVRzwlSd.js";import"./JAreaLinkage-CSgDAlrn.js";import"./areaDataUtil-DFHnz1wu.js";import"./china-area-data-vendor-D0sJ9kfX.js";import"./JSelectUser-BQIJUcBR.js";import"./props-BCVPj-bG.js";import"./JSelectBiz-CJyWq5s2.js";import"./JSelectDept-wKz_Qtmc.js";import"./index-BKs2x_To.js";import"./bem-C6eT35UB.js";import"./props-BLY2qIO5.js";import"./useContextMenu-CSt5a1-F.js";import"./JCodeEditor-esTLnfS3.js";import"./useFormItem-CWa0w7fA.js";import"./htmlmixed-DRe7JlAp.js";import"./vue-B0b3nX1K.js";/* empty css             */import"./JAddInput-YFlAniYT.js";import"./index-CkL00Q0a.js";import"./depart.api-0qTriT9h.js";import"./JPopup-BJBYqoWe.js";import"./EasyCronInput-DclSHT47.js";import"./JEllipsis-Cn7GCKHR.js";import"./JDictSelectTag-CxpDdimB.js";import"./download-2tYEzlDW.js";import"./base64Conver-24EVOS6V.js";import"./index-Cgt544dC.js";import"./index-BZ9ST2iq.js";import"./useCountdown-ImUE7YaG.js";import"./useFormItemSingle-DM34aWgK.js";import"./JUpload-DzM-D4DX.js";import"./index-khU3p_On.js";import"./index-DPEnuI0R.js";import"./index-Cnb8BkwG.js";import"./injectionKey-DPVn4AgL.js";const K={class:"p-4"},L=b({name:"basic-table-demo"}),Ft=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{Ft as default};
