CustomerCell.d74dd0e9.js 3.6 KB

1
  1. import{B as g,a as _}from"./TableImg.597584e6.js";import"./index.8dc260b3.js";import{u as E}from"./useTable.b17172ac.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.e732a6c4.js";import{T as f}from"./index.fe26b69e.js";import{A as B}from"./index.131a0cf6.js";import{d as I}from"./table.604fc0d2.js";import"./index.52a860e2.js";import"./Checkbox.cd11793f.js";import"./index.67c9fd33.js";import"./index.48dc9414.js";import"./eagerComputed.d8debd6e.js";import"./FileOutlined.a9bd2925.js";import"./BasicForm.fe571845.js";/* empty css *//* empty css */import"./index.7a5d609f.js";import"./index.f3ce990d.js";import"./index.aeafc823.js";import"./get.cddfc9f0.js";import"./DeleteOutlined.9453861b.js";import"./transButton.9d7d2b69.js";import"./index.40d1aea5.js";import"./index.9abce0d5.js";import"./Col.f597069f.js";import"./useFlexGapSupport.b687f8e8.js";import"./index.676f2157.js";import"./Form.31f13834.js";import"./_baseIteratee.9ce959b8.js";import"./useSize.251fd95d.js";import"./uniqBy.1074b370.js";import"./index.c44e7998.js";import"./useWindowSizeFn.ef03f01e.js";import"./FullscreenOutlined.67299bdd.js";import"./useForm.d622c54a.js";import"./index.3b7c359a.js";import"./index.5f78f2da.js";import"./useContentViewHeight.b55f3b98.js";import"./ArrowLeftOutlined.ed827216.js";import"./index.edd35c1d.js";import"./FormOutlined.07da32a7.js";import"./index.bc95baf4.js";import"./index.cc5ad1da.js";import"./useRefs.c7c3b4e2.js";import"./sortable.esm.a0907b1f.js";import"./RedoOutlined.2f084204.js";import"./index.f193ab6e.js";import"./fromPairs.84aabb58.js";import"./scrollTo.41659aa7.js";import"./index.bd4bde1e.js";import"./Group.94ed732f.js";import"./index.87a8710f.js";import"./index.2b4dfc13.js";import"./download.23a01323.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};