import{d as g,p as k}from"./configs.40b3dcc9.js";import{q as y,r as n,o as e,K as s,H as a,n as o,J as x,v as r,I as b,S as h,O as c}from"./index.10c3f8e5.js";const v={key:2},S=y({__name:"index",props:{detail:null},setup(t){return(C,w)=>{const d=n("el-tag"),m=n("el-image"),u=n("el-descriptions-item"),_=n("el-descriptions");return e(),s(_,{column:3,border:"",size:"small"},{default:a(()=>[(e(!0),o(b,null,x(r(g),(l,p)=>(e(),s(u,{label:l.label,key:p},{default:a(()=>[l.field==="status"?(e(),s(d,{key:0},{default:a(()=>{var i;return[h(c((i=r(k).find(f=>f.value===t.detail.status))==null?void 0:i.label),1)]}),_:1})):l.field==="return_img"?(e(),s(m,{key:1,style:{height:"30px"},src:t.detail.return_img,"preview-src-list":[t.detail.return_img]},null,8,["src","preview-src-list"])):(e(),o("span",v,c(t.detail[l.field]),1))]),_:2},1032,["label"]))),128))]),_:1})}}});export{S as default};
