CustomerCell.fb504b61.js 3.6 KB

1
  1. import{B as d,T as l}from"./TableImg.0cd3291c.js";import"./BasicForm.d58d202f.js";import{u as c}from"./useTable.578ae310.js";import{j as g,a as F,O as i,o as _,e as E,i as o,x as e,y as u,z as a}from"./index.ae52ebae.js";import{T}from"./index.4040b11d.js";import{A as f}from"./index.ddcc0e35.js";import{d as x}from"./table.9a93c948.js";import"./index.e3129508.js";import"./eagerComputed.94e91cab.js";import"./css.bcd121de.js";import"./index.adbf62a5.js";import"./index.52c33256.js";import"./index.0321d0be.js";import"./Checkbox.919eb32a.js";import"./index.beed4ab5.js";import"./scrollTo.d4c332b7.js";import"./useForm.e55162bc.js";import"./index.11cb8430.js";import"./index.c4be8493.js";import"./onMountedOrActivated.c176aad3.js";import"./useWindowSizeFn.d176b3a5.js";import"./useContentViewHeight.2a59a8a3.js";import"./ArrowLeftOutlined.0f7d1b9e.js";import"./index.a995b471.js";import"./index.14e14872.js";import"./index.0c29338b.js";import"./index.0fe57a5b.js";import"./_baseIteratee.432be787.js";import"./get.0b1c6ac7.js";import"./DeleteOutlined.707204c0.js";import"./index.87b4cc3a.js";import"./useRefs.fe3bdf15.js";import"./Form.1cc72784.js";import"./Col.605699c9.js";import"./useFlexGapSupport.3240d255.js";import"./useSize.9b10dc05.js";import"./index.3ccc18ac.js";import"./FullscreenOutlined.b9fd5be6.js";import"./index.c1d6a1f9.js";import"./sortable.esm.c20789c1.js";import"./RedoOutlined.80b8c01a.js";import"./index.5d87e81e.js";import"./index.95f887db.js";import"./index.9e0f8a6b.js";/* empty css */import"./index.37fc506d.js";import"./index.5c0d538f.js";import"./uniqBy.7b5fdd96.js";import"./index.3eedf359.js";import"./index.3b88ad02.js";import"./useContextMenu.6088df26.js";import"./index.5e5e8ba1.js";const A=[{title:"ID",dataIndex:"id",slots:{customRender:"id"}},{title:"\u5934\u50CF",dataIndex:"avatar",width:100,slots:{customRender:"avatar"}},{title:"\u5206\u7C7B",dataIndex:"category",width:80,align:"center",defaultHidden:!0,slots:{customRender:"category"}},{title:"\u59D3\u540D",dataIndex:"name",width:120},{title:"\u56FE\u7247\u5217\u88681",dataIndex:"imgArr",helpMessage:["\u8FD9\u662F\u7B80\u5355\u6A21\u5F0F\u7684\u56FE\u7247\u5217\u8868","\u53EA\u4F1A\u663E\u793A\u4E00\u5F20\u5728\u8868\u683C\u4E2D","\u4F46\u70B9\u51FB\u53EF\u9884\u89C8\u591A\u5F20\u56FE\u7247"],width:140,slots:{customRender:"img"}},{title:"\u7167\u7247\u5217\u88682",dataIndex:"imgs",width:160,slots:{customRender:"imgs"}},{title:"\u5730\u5740",dataIndex:"address"},{title:"\u7F16\u53F7",dataIndex:"no",slots:{customRender:"no"}},{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"beginTime"},{title:"\u7ED3\u675F\u65F6\u95F4",dataIndex:"endTime"}],I=F({components:{BasicTable:d,TableImg:l,Tag:T,Avatar:f},setup(){const[r]=c({title:"\u81EA\u5B9A\u4E49\u5217\u5185\u5BB9",titleHelpMessage:"\u8868\u683C\u4E2D\u6240\u6709\u5934\u50CF\u3001\u56FE\u7247\u5747\u4E3Amock\u751F\u6210\uFF0C\u4EC5\u7528\u4E8E\u6F14\u793A\u56FE\u7247\u5360\u4F4D",api:x,columns:A,bordered:!0,showTableSetting:!0});return{registerTable:r}}}),B={class:"p-4"};function C(r,b,h,v,D,w){const m=i("Tag"),p=i("Avatar"),s=i("TableImg"),n=i("BasicTable");return _(),E("div",B,[o(n,{onRegister:r.registerTable},{id:e(({record:t})=>[u(" ID: "+a(t.id),1)]),no:e(({record:t})=>[o(m,{color:"green"},{default:e(()=>[u(a(t.no),1)]),_:2},1024)]),avatar:e(({record:t})=>[o(p,{size:60,src:t.avatar},null,8,["src"])]),img:e(({text:t})=>[o(s,{size:60,simpleShow:!0,imgList:t},null,8,["imgList"])]),imgs:e(({text:t})=>[o(s,{size:60,imgList:t},null,8,["imgList"])]),category:e(({record:t})=>[o(m,{color:"green"},{default:e(()=>[u(a(t.no),1)]),_:2},1024)]),_:1},8,["onRegister"])])}var Dt=g(I,[["render",C]]);export{Dt as default};