SelectTableDemo-BKjs8Ti9.js 2.9 KB

1
  1. var f=Object.defineProperty,g=Object.defineProperties;var k=Object.getOwnPropertyDescriptors;var m=Object.getOwnPropertySymbols;var x=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable;var p=(e,t,o)=>t in e?f(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o,a=(e,t)=>{for(var o in t||(t={}))x.call(t,o)&&p(e,o,t[o]);if(m)for(var o of m(t))w.call(t,o)&&p(e,o,t[o]);return e},n=(e,t)=>g(e,k(t));import{d as c,aq as S,ar as h,k as s,aD as y,u as r}from"./vue-vendor-Be68asQ6.js";import"./index-D2G57Sln.js";import{useListPage as C}from"./useListPage-aOfrd-Tw.js";import{Q as R}from"./componentMap-BUTAcOmo.js";import I from"./BasicTable-CuSLkXEu.js";import"./index-BFfnEkVs.js";import"./antd-vue-vendor-DcqS7Wvq.js";import"./vxe-table-vendor-DHF2TRpV.js";import"./index-D68l__AG.js";import"./BasicForm-Cv-dsB-e.js";import"./index-BZ_MXCtW.js";import"./index-BIPzXG41.js";import"./index-CXEQnmRq.js";import"./useTimeout-Ca5eqGu-.js";import"./useIntersectionObserver-Bl62RIZ4.js";import"./index-CETWS1o0.js";import"./BasicModal-D4gc2R81.js";import"./useWindowSizeFn-BTSGGcie.js";import"./useForm-kcRIHoe0.js";import"./JAreaLinkage-BNOKwn5l.js";import"./areaDataUtil-Cik-Rc_P.js";import"./JSelectUser-DCwPqRxp.js";import"./props-BPxWJPuD.js";import"./JSelectBiz-Be8KsC5j.js";import"./JSelectDept-DT6g7V5M.js";import"./index-BNFwynfr.js";import"./bem-BvvqSl-N.js";import"./props-Cw7AfxGV.js";import"./useContextMenu-BDwmjIwb.js";import"./JCodeEditor-CSivhUhT.js";import"./useFormItem-CtGMPcLp.js";import"./htmlmixed-DNSd26j0.js";import"./vue-DbzutmLn.js";/* empty css */import"./JAddInput-BBXQvvpq.js";import"./index-BOEzG86y.js";import"./depart.api-CDwTvdwQ.js";import"./JPopup-DKJW27Yk.js";import"./EasyCronInput-wCv2YMHn.js";import"./JEllipsis-C04xKxcI.js";import"./download-CjoX0_mR.js";import"./base64Conver-24EVOS6V.js";import"./index-D1703ozz.js";import"./index-Bi7PIj53.js";import"./useCountdown-B7iR27pS.js";import"./useFormItemSingle-nLM0QlcI.js";import"./JUpload-cB_Qj2H2.js";import"./index-iuayQczx.js";import"./index-DJQB4_Pr.js";import"./injectionKey-DPVn4AgL.js";const B={class:"p-4"},E=c({name:"basic-table-demo"}),Pt=c(n(a({},E),{setup(e){const t=[{title:"姓名",dataIndex:"name",key:"name",resizable:!0},{title:"年龄",dataIndex:"age",key:"age"},{title:"住址",dataIndex:"address",key:"address"}],{tableContext:o}=C({designScope:"basic-table-demo",tableProps:{title:"可选择表格",dataSource:[{id:"1",name:"胡歌",age:32,address:"朝阳区林萃路1号"},{id:"2",name:"刘诗诗",age:32,address:"昌平区白沙路1号"}],columns:t,rowSelection:{type:"checkbox"},useSearchForm:!1}}),[d,{reload:K},{rowSelection:l,selectedRows:P,selectedRowKeys:T}]=o;function u(i){return[{label:"编辑",onClick:_.bind(null,i)}]}function _(i){}return(i,q)=>(h(),S("div",B,[s(r(I),{onRegister:r(d),rowSelection:r(l)},{action:y(({record:b})=>[s(r(R),{actions:u(b)},null,8,["actions"])]),_:1},8,["onRegister","rowSelection"])]))}}));export{Pt as default};