Files
qhmes/deploy-qhmes/frontend/js/CustomerCell-D8LwCF_r.js
2026-05-15 11:34:12 +08:00

2 lines
3.6 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import{d as g,ah as r,ar as u,as as n,k as o,aF as e,G as a,av as m,aC as _,ag as T}from"./vue-vendor-C7Zq48Yl.js";import{T as f,u as I}from"./index-BgJbdjPf.js";import{a3 as x,X as b}from"./antd-vue-vendor-BPnV8VqP.js";import{d as h}from"./table-Y4znvuno.js";import v from"./BasicTable-DfLkrEeh.js";import{d as w}from"./index-BI6CMai0.js";import"./componentMap-BBZeqR-K.js";import"./useFormItem-BdW6EoZe.js";import"./index-Du0A3ksf.js";import"./BasicModal-0sAdFEk_.js";import"./ModalHeader-keHdAHWH.js";import"./useTimeout-DDl4l82I.js";import"./vxe-table-vendor-B88kchpX.js";import"./index-DeEq83Ov.js";import"./useWindowSizeFn-PRZSD86C.js";import"./index-pxs5MULf.js";import"./index-BgYCgfME.js";import"./index-f8O7TghW.js";import"./useIntersectionObserver-BMxdTqP3.js";import"./download-UE0L9Rfp.js";import"./base64Conver-24EVOS6V.js";import"./index-CIBZG4nR.js";import"./index-BhQEwnQQ.js";import"./useCountdown-DqnNWBp6.js";import"./useFormItemSingle-BbRhswfn.js";import"./JSelectUser-B71zikzw.js";import"./props-DAezUTeZ.js";import"./JSelectBiz-CnEaVMUF.js";import"./JAddInput-D6qcyZjQ.js";import"./areaDataUtil-CbYCy3Ig.js";import"./index-CNkz_PUv.js";import"./index-CUdllngZ.js";import"./bem-EhXRi4nW.js";import"./props-D4vdsy3J.js";import"./useContextMenu-Cwx1lIOK.js";import"./depart.api-DeMNV8zW.js";import"./TreeIcon-DE4jdeZV.js";import"./JSelectDept-DRDVeruW.js";import"./JPopup-Bva6u6tk.js";import"./usePopBiz-CG0vVpgI.js";import"./useMethods-DVip17X8.js";import"./index-Dg4HCEvo.js";import"./JEllipsis-DqRFTSm0.js";import"./JUpload-Cz9HN61B.js";import"./index-MGIrEF-A.js";import"./index-MREkPhsT.js";import"./index-Di-j2gt4.js";import"./BasicForm-BJnSRkIE.js";import"./useForm-BZtHZyx2.js";import"./JAreaLinkage-BeRUFHSB.js";import"./JCodeEditor-CLVZA7Uj.js";import"./htmlmixed-NhwyF9-q.js";import"./vue-CgbRSACy.js";/* empty css */import"./EasyCronInput-7xfJ3nBh.js";import"./injectionKey-DPVn4AgL.js";const C=[{title:"ID",dataIndex:"id",slots:{customRender:"id"}},{title:"头像",dataIndex:"avatar",width:100,slots:{customRender:"avatar"}},{title:"分类",dataIndex:"category",width:80,align:"center",defaultHidden:!0,slots:{customRender:"category"}},{title:"姓名",dataIndex:"name",width:120},{title:"图片列表1",dataIndex:"imgArr",helpMessage:["这是简单模式的图片列表","只会显示一张在表格中","但点击可预览多张图片"],width:140,slots:{customRender:"img"}},{title:"照片列表2",dataIndex:"imgs",width:160,slots:{customRender:"imgs"}},{title:"地址",dataIndex:"address"},{title:"编号",dataIndex:"no",slots:{customRender:"no"}},{title:"开始时间",dataIndex:"beginTime"},{title:"结束时间",dataIndex:"endTime"}],R=g({components:{BasicTable:v,TableImg:f,Tag:b,Avatar:x},setup(){const[i]=I({title:"自定义列内容",titleHelpMessage:"表格中所有头像、图片均为mock生成仅用于演示图片占位",api:h,columns:C,bordered:!0,showTableSetting:!0});return{registerTable:i}}}),k={class:"p-4"};function y(i,B,A,L,z,$){const s=r("Tag"),d=r("Avatar"),p=r("TableImg"),l=r("BasicTable");return n(),u("div",k,[o(l,{onRegister:i.registerTable},{id:e(({record:t})=>[a(" ID: "+m(t.id),1)]),no:e(({record:t})=>[o(s,{color:"green"},{default:e(()=>[a(m(t.no),1)]),_:2},1024)]),bodyCell:e(({column:t,record:c})=>[t.key==="avatar"?(n(),_(d,{key:0,size:60,src:c.avatar},null,8,["src"])):T("",!0)]),img:e(({text:t})=>[o(p,{size:60,simpleShow:!0,imgList:t},null,8,["imgList"])]),imgs:e(({text:t})=>[o(p,{size:60,imgList:t},null,8,["imgList"])]),category:e(({record:t})=>[o(s,{color:"green"},{default:e(()=>[a(m(t.no),1)]),_:2},1024)]),_:1},8,["onRegister"])])}const St=w(R,[["render",y]]);export{St as default};