CustomerCell.d3f0a215.js 3.6 KB

1
  1. import{B as g,a as _}from"./TableImg.6b99eb73.js";import"./index.c3e0a369.js";import{u as E}from"./useTable.3fccb17f.js";import{av as k,a as y,a_ as r,o as t,h as l,n as T,y as a,F as A,z as m,t as p,j as i,k as C}from"./index.3f97cc33.js";import{T as f}from"./index.309e8a99.js";import{A as B}from"./index.e9945251.js";import{d as I}from"./table.40e5cb0a.js";import"./index.9f019cdd.js";import"./Checkbox.d22129d5.js";import"./index.cde36067.js";import"./index.bfa19e2c.js";import"./eagerComputed.ab644b1a.js";import"./FileOutlined.eac4c93b.js";import"./BasicForm.2ae13259.js";/* empty css *//* empty css */import"./index.222f0459.js";import"./index.6757786b.js";import"./index.ade181eb.js";import"./get.7e5a4802.js";import"./DeleteOutlined.9e5fb76b.js";import"./transButton.54be5ef0.js";import"./index.a54fbaf1.js";import"./index.872d0787.js";import"./Col.a5c4aef2.js";import"./useFlexGapSupport.a62ab4b7.js";import"./index.137cd5fa.js";import"./Form.e8d8d176.js";import"./_baseIteratee.74621dd5.js";import"./useSize.029b57c4.js";import"./uniqBy.66af1ece.js";import"./index.48fd6577.js";import"./useWindowSizeFn.63c1b6a0.js";import"./FullscreenOutlined.79df86c0.js";import"./useForm.8deaf95d.js";import"./index.e8c88e99.js";import"./index.0abd0285.js";import"./useContentViewHeight.1983ed20.js";import"./ArrowLeftOutlined.5c21fff9.js";import"./index.2b936b77.js";import"./FormOutlined.abb32020.js";import"./index.6ecec018.js";import"./index.b35c80c0.js";import"./useRefs.428779fe.js";import"./sortable.esm.a0907b1f.js";import"./RedoOutlined.fe1eaec0.js";import"./index.4e54ae7e.js";import"./fromPairs.84aabb58.js";import"./scrollTo.073f007f.js";import"./index.5b650468.js";import"./Group.ae7e47e2.js";import"./index.4ffbbda4.js";import"./index.f3e20199.js";import"./download.ab58da56.js";import"./base64Conver.08b9f4ec.js";const b=[{title:"ID",dataIndex:"id"},{title:"\u5934\u50CF",dataIndex:"avatar",width:100},{title:"\u5206\u7C7B",dataIndex:"category",width:80,align:"center",defaultHidden:!0},{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},{title:"\u7167\u7247\u5217\u88682",dataIndex:"imgs",width:160},{title:"\u5730\u5740",dataIndex:"address"},{title:"\u7F16\u53F7",dataIndex:"no"},{title:"\u5F00\u59CB\u65F6\u95F4",dataIndex:"beginTime"},{title:"\u7ED3\u675F\u65F6\u95F4",dataIndex:"endTime"}],x=y({components:{BasicTable:g,TableImg:_,Tag:f,Avatar:B},setup(){const[u]=E({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:I,columns:b,bordered:!0,showTableSetting:!0});return{registerTable:u}}}),h={class:"p-4"};function v(u,D,w,L,z,$){const s=r("Tag"),c=r("Avatar"),n=r("TableImg"),F=r("BasicTable");return t(),l("div",h,[T(F,{onRegister:u.registerTable},{bodyCell:a(({column:e,record:o,text:d})=>[e.key==="id"?(t(),l(A,{key:0},[m(" ID: "+p(o.id),1)],64)):e.key==="no"?(t(),i(s,{key:1,color:"green"},{default:a(()=>[m(p(o.no),1)]),_:2},1024)):e.key==="avatar"?(t(),i(c,{key:2,size:60,src:o.avatar},null,8,["src"])):e.key==="imgArr"?(t(),i(n,{key:3,size:60,simpleShow:!0,imgList:d},null,8,["imgList"])):e.key==="imgs"?(t(),i(n,{key:4,size:60,imgList:d},null,8,["imgList"])):e.key==="category"?(t(),i(s,{key:5,color:"green"},{default:a(()=>[m(p(o.no),1)]),_:2},1024)):C("",!0)]),_:1},8,["onRegister"])])}var St=k(x,[["render",v]]);export{St as default};