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

  1. import{_ as c}from"./index-33a0e6e3.js";import{b as w,c as l,L as u,h as d,f as n,d as t,F as r,H as m,j as o,k as y}from"./index-dd5fae99.js";const N=y({name:"filesInfo"}),j=Object.assign(N,{props:{detailData:Object,isDownLoadFile:{type:Boolean,default:!0}},setup(e){return(B,g)=>{const s=w("el-descriptions-item"),b=w("el-descriptions");return l(),u(b,{column:2,border:""},{default:d(()=>{var f,p,D,F,k;return[n(s,{label:"项目申报书"},{default:d(()=>[(l(!0),t(r,null,m(e.detailData.preliminaryPlanFile&&JSON.parse(e.detailData.preliminaryPlanFile),(a,i)=>(l(),t("p",{key:i,class:"mb-4"},[n(c,{"file-name":a.originalFileName,"file-id":a.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?void 0:f.projectType)!=="04"&&((p=e.detailData)==null?void 0:p.projectType)!=="05"?(l(),u(s,{key:3,label:"可行性研究报告"},{default:d(()=>[(l(!0),t(r,null,m(e.detailData.baseResearchReportFile&&JSON.parse(e.detailData.baseResearchReportFile),(a,i)=>(l(),t("p",{key:i,class:"mb-4"},[n(c,{"file-name":a.originalFileName,"file-id":a.id,"is-down-load":e.isDownLoadFile},null,8,["file-name","file-id","is-down-load"])]))),128))]),_:1})):o("",!0),((D=e.detailData)==null?void 0:D.projectType)==="04"||((F=e.detailData)==null?void 0:F.projectType)==="05"?(l(),u(s,{key:4,label:"运维方案"},{default:d(()=>[(l(!0),t(r,null,m(e.detailData.operationPlan&&JSON.parse(e.detailData.operationPlan),(a,i)=>(l(),t("p",{key:i,class:"mb-4"},[n(c,{"file-name":a.originalFileName,"file-id":a.id,"is-down-load":e.isDownLoadFile},null,8,["file-name","file-id","is-down-load"])]))),128))]),_:1})):o("",!0),e.detailData.projectType!=="03"&&e.detailData.projectType!=="04"&&e.detailData.projectType!=="05"?(l(),t(r,{key:5},[e.detailData.constructionPlanFile&&((k=JSON.parse(e.detailData.constructionPlanFile))!=null&&k.length)?(l(),u(s,{key:0,label:"建设方案"},{default:d(()=>[(l(!0),t(r,null,m(e.detailData.constructionPlanFile&&JSON.parse(e.detailData.constructionPlanFile),(a,i)=>(l(),t("p",{key:i,class:"mb-4"},[n(c,{"file-name":a.originalFileName,"file-id":a.id,"is-down-load":e.isDownLoadFile},null,8,["file-name","file-id","is-down-load"])]))),128))]),_:1})):o("",!0)],64)):o("",!0),n(s,{label:"其他附件"},{default:d(()=>[(l(!0),t(r,null,m(e.detailData.baseProjOtherFile&&JSON.parse(e.detailData.baseProjOtherFile),(a,i)=>(l(),t("p",{key:i,class:"mb-4"},[n(c,{"file-name":a.originalFileName,"file-id":a.id,"is-down-load":e.isDownLoadFile},null,8,["file-name","file-id","is-down-load"])]))),128))]),_:1}),e.detailData.declareAmount>=1e3?(l(),u(s,{key:6,label:"申报单位主要职责文件(单位三定职责)"},{default:d(()=>[(l(!0),t(r,null,m(e.detailData.mainAccusationDoc&&JSON.parse(e.detailData.mainAccusationDoc),(a,i)=>(l(),t("p",{key:i,class:"mb-4"},[n(c,{"file-name":a.originalFileName,"file-id":a.id,"is-down-load":e.isDownLoadFile},null,8,["file-name","file-id","is-down-load"])]))),128))]),_:1})):o("",!0)]}),_:1})}}});export{j as default};