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