CustomerCell.b1e0b736.js 3.6 KB

1
  1. import{B as g,a as _}from"./TableImg.4c25b2e4.js";import"./index.2ceeb335.js";import{u as E}from"./useTable.6d62fd16.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.97c70775.js";import{T as f}from"./index.74899dcd.js";import{A as B}from"./index.e017a62f.js";import{d as I}from"./table.f4a7cd46.js";import"./index.27bfa3fd.js";import"./Checkbox.7642e90f.js";import"./index.221d6122.js";import"./index.eb99b34d.js";import"./eagerComputed.a9afdf3f.js";import"./FileOutlined.06e352b5.js";import"./BasicForm.98ee0a61.js";/* empty css *//* empty css */import"./index.376f7d77.js";import"./index.ee15e24a.js";import"./index.cef0d45a.js";import"./get.42ae1097.js";import"./DeleteOutlined.59fb3f3a.js";import"./transButton.231a8ef9.js";import"./index.f22ca87e.js";import"./index.0e29685c.js";import"./Col.2079ddbc.js";import"./useFlexGapSupport.07d6e900.js";import"./index.cae94db2.js";import"./Form.9361f89f.js";import"./_baseIteratee.3a1e7c2b.js";import"./useSize.888c6d90.js";import"./uniqBy.244093b2.js";import"./index.25a01433.js";import"./useWindowSizeFn.bb740ef7.js";import"./FullscreenOutlined.8e7a919a.js";import"./useForm.48550b19.js";import"./index.5d68b2d4.js";import"./index.ec8df927.js";import"./useContentViewHeight.4e0b2e8d.js";import"./ArrowLeftOutlined.5b8718d6.js";import"./index.1292065e.js";import"./FormOutlined.bae14c68.js";import"./index.a7d63c49.js";import"./index.85f4f083.js";import"./useRefs.dcf26156.js";import"./sortable.esm.a0907b1f.js";import"./RedoOutlined.560bd00b.js";import"./index.16ef16a0.js";import"./fromPairs.84aabb58.js";import"./scrollTo.c927ac62.js";import"./index.cea071a6.js";import"./Group.19df0dc0.js";import"./index.cb32f675.js";import"./index.e2c53397.js";import"./download.b0e6596f.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};