CustomerCell.fb0f265e.js 3.6 KB

1
  1. import{B as g,a as _}from"./TableImg.9ce43c8c.js";import"./index.db9b952c.js";import{u as E}from"./useTable.79d7c35e.js";import{aw as k,a as T,w as r,o as t,h as l,n as y,z as a,F as A,B as m,t as p,j as i,k as B}from"./index.7e08ba81.js";import{T as C}from"./index.673e5955.js";import{A as f}from"./index.3132743a.js";import{d as I}from"./table.999fe072.js";import"./index.a9463ec3.js";import"./Checkbox.2b7c666a.js";import"./index.0d1117cf.js";import"./index.0e13704b.js";import"./eagerComputed.41f917f7.js";import"./FileOutlined.1ba59fec.js";import"./BasicForm.09fa6853.js";/* empty css *//* empty css */import"./index.0fba574f.js";import"./index.e102b091.js";import"./index.7e5abc0c.js";import"./get.06058cdc.js";import"./DeleteOutlined.12ba33eb.js";import"./transButton.38e068f8.js";import"./index.20008ed6.js";import"./index.51fe0c69.js";import"./Col.dccd6464.js";import"./useFlexGapSupport.ba88ba25.js";import"./index.7bbcc8f3.js";import"./Form.0777dffc.js";import"./_baseIteratee.cd40e9ab.js";import"./useSize.1210be5f.js";import"./uniqBy.e8d75d01.js";import"./index.aef1b210.js";import"./useWindowSizeFn.9cd1b73f.js";import"./FullscreenOutlined.3ea9a56b.js";import"./useForm.e12ea52c.js";import"./index.334036fa.js";import"./index.ea1692d3.js";import"./useContentViewHeight.eee5bfce.js";import"./ArrowLeftOutlined.8453d1a8.js";import"./index.492f2ae6.js";import"./FormOutlined.8ec71e0a.js";import"./index.756c7042.js";import"./index.1016abaf.js";import"./useRefs.9e0a4abb.js";import"./sortable.esm.7d5432c3.js";import"./RedoOutlined.2794d90f.js";import"./index.01b7ee47.js";import"./fromPairs.84aabb58.js";import"./scrollTo.f658bbdc.js";import"./index.828a2959.js";import"./Group.ea437422.js";import"./index.7fe36cdd.js";import"./index.821e0528.js";import"./download.ef0c06e3.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=T({components:{BasicTable:g,TableImg:_,Tag:C,Avatar:f},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 w(u,D,v,L,z,$){const s=r("Tag"),c=r("Avatar"),n=r("TableImg"),F=r("BasicTable");return t(),l("div",h,[y(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)):B("",!0)]),_:1},8,["onRegister"])])}var St=k(x,[["render",w]]);export{St as default};