import{_ as k}from"./index-33a0e6e3.js";import{b as l,c as t,L as n,h as p,d as s,F as m,H as c,e as _,t as d,j as o,k as w}from"./index-dd5fae99.js";const B={key:0,class:"mb-4"},F={key:1,class:"mb-4"},L={key:2,class:"mb-4"},N=w({name:"customModule"}),x=Object.assign(N,{props:{moduleNum:Number,data:Object,isDownLoadFile:{type:Boolean,default:!0}},setup(a){return(j,v)=>{const u=l("el-descriptions-item"),f=l("el-descriptions");return t(),n(f,{column:2,border:""},{default:p(()=>{var r;return[(t(!0),s(m,null,c((r=a.data)==null?void 0:r.formList,(e,y)=>(t(),n(u,{key:y,label:e.name},{default:p(()=>[e.props.type==="单选"||e.props.type==="输入"||e.props.type==="数值输入"?(t(),s("p",B,[_("span",null,d(e.value),1)])):o("",!0),e.props.type==="多选"?(t(),s("p",F,[_("span",null,d(e.value.join(",")),1)])):o("",!0),e.props.type==="文件上传"?(t(),s("p",L,[(t(!0),s(m,null,c(e.value,(i,b)=>(t(),n(k,{key:b,"file-name":i.originalFileName,"file-id":i.id,"is-down-load":a.isDownLoadFile},null,8,["file-name","file-id","is-down-load"]))),128))])):o("",!0)]),_:2},1032,["label"]))),128))]}),_:1})}}});export{x as default};