You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
1.1KB

  1. import{_ as k}from"./index.6288621d.js";import{d as w,c as l,e as t,G as n,i as p,f as s,F as m,H as c,g as _,t as d,k as o}from"./index.b0d60c48.js";const B={key:0,class:"mb-4"},F={key:1,class:"mb-4"},N={key:2,class:"mb-4"},g=w({name:"customModule"}),x=Object.assign(g,{props:{moduleNum:Number,data:Object,isDownLoadFile:{type:Boolean,default:!0}},setup(a){return(v,C)=>{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==="\u5355\u9009"||e.props.type==="\u8F93\u5165"||e.props.type==="\u6570\u503C\u8F93\u5165"?(t(),s("p",B,[_("span",null,d(e.value),1)])):o("",!0),e.props.type==="\u591A\u9009"?(t(),s("p",F,[_("span",null,d(e.value.join("\uFF0C")),1)])):o("",!0),e.props.type==="\u6587\u4EF6\u4E0A\u4F20"?(t(),s("p",N,[(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};