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
2.5KB

  1. import{_ as s}from"./index.80af04bf.js";import{d as D,c as F,e as a,I as u,i as d,h as n,f as t,F as c,J as m,k as o}from"./index.7e23eab2.js";const w=D({name:"filesInfo"}),g=Object.assign(w,{props:{detailData:Object,isDownLoadFile:{type:Boolean,default:!0}},setup(e){return(B,b)=>{const r=F("el-descriptions-item"),_=F("el-descriptions");return a(),u(_,{column:2,border:""},{default:d(()=>{var f,p,k;return[n(r,{label:"\u521D\u6B65\u65B9\u6848"},{default:d(()=>[(a(!0),t(c,null,m(e.detailData.preliminaryPlanFile&&JSON.parse(e.detailData.preliminaryPlanFile),(l,i)=>(a(),t("p",{key:i,class:"mb-4"},[n(s,{"file-name":l.originalFileName,"file-id":l.id,"is-down-load":e.isDownLoadFile},null,8,["file-name","file-id","is-down-load"])]))),128))]),_:1}),o("",!0),o("",!0),o("",!0),((f=e.detailData)==null||f.projectType,o("",!0)),((p=e.detailData)==null?void 0:p.projectType)!=="03"?(a(),u(r,{key:4,label:"\u53EF\u884C\u6027\u7814\u7A76\u62A5\u544A"},{default:d(()=>[(a(!0),t(c,null,m(e.detailData.baseResearchReportFile&&JSON.parse(e.detailData.baseResearchReportFile),(l,i)=>(a(),t("p",{key:i,class:"mb-4"},[n(s,{"file-name":l.originalFileName,"file-id":l.id,"is-down-load":e.isDownLoadFile},null,8,["file-name","file-id","is-down-load"])]))),128))]),_:1})):o("",!0),e.detailData.constructionPlanFile&&((k=JSON.parse(e.detailData.constructionPlanFile))==null?void 0:k.length)?(a(),u(r,{key:5,label:"\u5EFA\u8BBE\u65B9\u6848"},{default:d(()=>[(a(!0),t(c,null,m(e.detailData.constructionPlanFile&&JSON.parse(e.detailData.constructionPlanFile),(l,i)=>(a(),t("p",{key:i,class:"mb-4"},[n(s,{"file-name":l.originalFileName,"file-id":l.id,"is-down-load":e.isDownLoadFile},null,8,["file-name","file-id","is-down-load"])]))),128))]),_:1})):o("",!0),n(r,{label:"\u5176\u4ED6\u9644\u4EF6"},{default:d(()=>[(a(!0),t(c,null,m(e.detailData.baseProjOtherFile&&JSON.parse(e.detailData.baseProjOtherFile),(l,i)=>(a(),t("p",{key:i,class:"mb-4"},[n(s,{"file-name":l.originalFileName,"file-id":l.id,"is-down-load":e.isDownLoadFile},null,8,["file-name","file-id","is-down-load"])]))),128))]),_:1}),e.detailData.declareAmount>=1e3?(a(),u(r,{key:6,label:"\u7533\u62A5\u5355\u4F4D\u4E3B\u8981\u804C\u8D23\u6587\u4EF6\uFF08\u5355\u4F4D\u4E09\u5B9A\u804C\u8D23\uFF09"},{default:d(()=>[(a(!0),t(c,null,m(e.detailData.mainAccusationDoc&&JSON.parse(e.detailData.mainAccusationDoc),(l,i)=>(a(),t("p",{key:i,class:"mb-4"},[n(s,{"file-name":l.originalFileName,"file-id":l.id,"is-down-load":e.isDownLoadFile},null,8,["file-name","file-id","is-down-load"])]))),128))]),_:1})):o("",!0)]}),_:1})}}});export{g as default};