var g=Object.defineProperty,_=Object.defineProperties;var S=Object.getOwnPropertyDescriptors;var n=Object.getOwnPropertySymbols;var b=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable;var a=(r,o,e)=>o in r?g(r,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[o]=e,l=(r,o)=>{for(var e in o||(o={}))b.call(o,e)&&a(r,e,o[e]);if(n)for(var e of n(o))C.call(o,e)&&a(r,e,o[e]);return r},s=(r,o)=>_(r,S(o));import{d,a2 as k,a3 as x,k as c,af as y,u as p}from"./vue-vendor-CxLCUzY4.js";import"./index-KOQNKxnC.js";import{useListPage as I}from"./useListPage-CevWQ3ci.js";import{Q as w}from"./componentMap-DpsJvoqz.js";import $ from"./BasicTable-DUJWN3yz.js";import"./index-CLZzJyTP.js";import"./antd-vue-vendor-CahNzUUa.js";import"./vxe-table-vendor-Cdi8WfTx.js";import"./index-ByX9XNkE.js";import"./useForm-Dx3lJ3DG.js";import"./index-DvqyyN77.js";import"./index-XZKTTfG1.js";import"./BasicModal-B8XmAOm7.js";import"./ModalHeader-DIFQSP_0.js";import"./useTimeout-KpZCXEcl.js";import"./useWindowSizeFn-D9PllI8g.js";import"./index-DS3utcig.js";import"./index-BZbg0EjM.js";import"./index-CrdW4fN1.js";import"./useIntersectionObserver-FVRzwlSd.js";import"./JAreaLinkage-M9TGy8nY.js";import"./areaDataUtil-Dk3xkGfK.js";import"./china-area-data-vendor-ByvEpbzN.js";import"./JSelectUser-CfAGgHjD.js";import"./props-BtZrRNiI.js";import"./JSelectBiz-CLnJTMe2.js";import"./JSelectDept-CaEHrQp6.js";import"./index-44tRnyoF.js";import"./bem-DT3DdmOs.js";import"./props-CG-jAkbI.js";import"./useContextMenu-BGU2vdqV.js";import"./JCodeEditor-CR57XeIe.js";import"./useFormItem-IOFWTdED.js";import"./htmlmixed-DoVLO6sG.js";import"./vue-DY75b9GC.js";/* empty css             */import"./JAddInput-B36c3B5x.js";import"./index-C7yPiS0L.js";import"./depart.api-DHG2p2Yd.js";import"./JPopup-BvqhHpPl.js";import"./EasyCronInput-CWOTSpxK.js";import"./JEllipsis-C_gT_vEQ.js";import"./JDictSelectTag-CfF54ALX.js";import"./JImageUpload-BFwNYdm5.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"./JUpload-DgDEmizw.js";import"./index-Bn2zmO2L.js";import"./index-CEznvAVZ.js";import"./index-CfAukas3.js";import"./injectionKey-DPVn4AgL.js";const P={class:"p-4"},R=d({name:"basic-table-demo"}),Tt=d(s(l({},R),{setup(r){const o=[{title:"名称",dataIndex:"name",customCell:(i,t,m)=>({colSpan:t<4?1:5}),customRender:({text:i,record:t,index:m,column:A})=>m<4?i:`${t.name}/${t.age}/${t.address}/${t.phone}`},{title:"年龄",dataIndex:"age",customCell:(i,t,m)=>{if(t==4)return{colSpan:0}}},{title:"家庭住址",dataIndex:"address",customCell:(i,t,m)=>{if(t==4)return{colSpan:0}}},{title:"联系电话",colSpan:2,dataIndex:"tel",customCell:(i,t,m)=>{if(t===2)return{rowSpan:2};if(t===3)return{rowSpan:0};if(t===4)return{colSpan:0}}},{title:"Phone",colSpan:0,dataIndex:"phone",customCell:(i,t,m)=>{if(t===4)return{colSpan:0}}}],{tableContext:e}=I({designScope:"basic-table-demo",tableProps:{title:"合并行列",dataSource:[{key:"1",name:"尹嘉乐",age:32,tel:"0319-5972018",phone:17600080009,address:"北京市昌平区"},{key:"2",name:"龙佳钰",tel:"0319-5972018",phone:17600060007,age:42,address:"北京市海淀区"},{key:"3",name:"贺泽惠",age:32,tel:"0319-5972018",phone:17600040005,address:"北京市门头沟区"},{key:"4",name:"沈勇",age:18,tel:"0319-5972018",phone:17600010003,address:"北京市朝阳区"},{key:"5",name:"白佳毅",age:18,tel:"0319-5972018",phone:17600010002,address:"北京市丰台区"}],columns:o,showActionColumn:!1,useSearchForm:!1}}),[u]=e;function f(i){return[{label:"编辑",onClick:h.bind(null,i)}]}function h(i){}return(i,t)=>(k(),x("div",P,[c(p($),{onRegister:p(u)},{action:y(({record:m})=>[c(p(w),{actions:f(m)},null,8,["actions"])]),_:1},8,["onRegister"])]))}}));export{Tt as default};
