import{_ as w,d as _,c as F,e as i,I as u,j as r,i as n,f as t,F as d,J as c,h as o}from"./index.2939355b.js";import{A as m}from"./index.744a6f8f.js";const B=_({name:"filesInfo"}),b=Object.assign(B,{props:{detailData:Object,isDownLoadFile:{type:Boolean,default:!0}},setup(e){return(y,N)=>{const s=F("el-descriptions-item"),D=F("el-descriptions");return i(),u(D,{column:2,border:""},{default:r(()=>{var f,p,k;return[n(s,{label:"\u521D\u6B65\u65B9\u6848"},{default:r(()=>[(i(!0),t(d,null,c(e.detailData.preliminaryPlanFile&&JSON.parse(e.detailData.preliminaryPlanFile),(l,a)=>(i(),t("p",{key:a,class:"mb-4"},[n(m,{"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("v-if",!0),o("v-if",!0),o("v-if",!0),((f=e.detailData)==null||f.projectType,o("v-if",!0)),((p=e.detailData)==null?void 0:p.projectType)!=="03"?(i(),u(s,{key:4,label:"\u53EF\u884C\u6027\u7814\u7A76\u62A5\u544A"},{default:r(()=>[(i(!0),t(d,null,c(e.detailData.baseResearchReportFile&&JSON.parse(e.detailData.baseResearchReportFile),(l,a)=>(i(),t("p",{key:a,class:"mb-4"},[n(m,{"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("v-if",!0),e.detailData.constructionPlanFile&&((k=JSON.parse(e.detailData.constructionPlanFile))==null?void 0:k.length)?(i(),u(s,{key:5,label:"\u5EFA\u8BBE\u65B9\u6848"},{default:r(()=>[(i(!0),t(d,null,c(e.detailData.constructionPlanFile&&JSON.parse(e.detailData.constructionPlanFile),(l,a)=>(i(),t("p",{key:a,class:"mb-4"},[n(m,{"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("v-if",!0),n(s,{label:"\u5176\u4ED6\u9644\u4EF6"},{default:r(()=>[(i(!0),t(d,null,c(e.detailData.baseProjOtherFile&&JSON.parse(e.detailData.baseProjOtherFile),(l,a)=>(i(),t("p",{key:a,class:"mb-4"},[n(m,{"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?(i(),u(s,{key:6,label:"\u7533\u62A5\u5355\u4F4D\u4E3B\u8981\u804C\u8D23\u6587\u4EF6\uFF08\u5355\u4F4D\u4E09\u5B9A\u804C\u8D23\uFF09"},{default:r(()=>[(i(!0),t(d,null,c(e.detailData.mainAccusationDoc&&JSON.parse(e.detailData.mainAccusationDoc),(l,a)=>(i(),t("p",{key:a,class:"mb-4"},[n(m,{"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("v-if",!0)]}),_:1})}}}),L=w(b,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/projectStoreManage/projectStore/projectDetail/components/filesInfo.vue"]]);export{L as default};
