import{_ as g}from"./index.vue_vue_type_style_index_0_lang-f807b015.js";import{d as T,j as p,o as n,c as t,v as d,e as y,w as c,b as w,t as u,F as i,h as m,i as b,f as B,O as F,P as o}from"./index-90c78f99.js";const v={class:"card-tit mb-16"},O={key:1},A={key:2},$=T({__name:"project-info",props:{detailData:{type:Object},isDownLoad:{type:Boolean,default:!0}},setup(a){const k=[{title:"项目基本信息",infoField:[{label:"项目名称",prop:"projectName",key:"projectName",span:2},{label:"项目类型",prop:"projectType",key:"projectType"},{label:"申报金额",prop:"projectAmount",key:"projectAmount",render:e=>o("span",`${e.projectAmount||0} 万元`)},{label:"批复金额",prop:"approvedAmount",key:"approvedAmount",render:e=>o("span",`${e.approvedAmount||0} 万元`)},{label:"项目预算年度",prop:"projectYear",key:"projectYear"},{label:"项目开始时间",prop:"beginTime",key:"beginTime",render:e=>o("span",`${e.beginTime}`)},{label:"项目结束时间",prop:"endTime",key:"endTime",render:e=>o("span",`${e.endTime}`)},{label:"建设类型",prop:"buildType",key:"buildType",render:e=>o("span",e.buildType||"-")},{label:"项目立项依据",prop:"declaredBasis",key:"declaredBasis",render:e=>o("span",e.declaredBasis||"-")},{label:"资金来源",prop:"amountSource",key:"amountSource",render:e=>o("span",e.amountSource||"-")}]},{title:"单位及联系人信息",infoField:[{label:"项目负责人",prop:"responsibleMan",key:"responsibleMan"},{label:"项目负责人联系方式",prop:"responsibleManMobile",key:"responsibleManMobile"},{label:"项目联系人",prop:"contactName",key:"contactName"},{label:"项目负责人联系方式",prop:"contactPhone",key:"contactPhone"},{label:"申报单位",prop:"buildOrgName",key:"buildOrgName"},{label:"主管单位",prop:"superOrg",key:"superOrg"}]},{title:"项目材料信息",infoField:[{label:"项目申报表",slot:"file",key:"projectPdf",span:2},{label:"运维方案文件",slot:"file",key:"constructionFile",span:2},{label:"预审意见书",slot:"file",key:"ysyjs",span:2},{label:"专家意见",slot:"file",key:"zjyj",span:2},{label:"立项批复附件",slot:"file",key:"projectApprovalFile",span:2},{label:"立项依据附件",slot:"file",key:"declaredBasisFile",span:2}]}];return(e,_)=>{const f=p("el-descriptions-item"),j=p("el-descriptions"),D=p("el-card");return n(),t(i,null,d(k,r=>y(D,{key:r&&r.title,class:"my-card mb-16 min-y-padding",shadow:"never"},{default:c(()=>[w("div",v,u(r&&r.title),1),y(j,{border:"",column:2},{default:c(()=>[(n(!0),t(i,null,d(r&&r.infoField,(l,h)=>(n(),t(i,{key:l.key},[!l.hidden&&a.detailData&&a.detailData[l.key]?(n(),m(f,{key:0,label:`${l.label}`,span:l.span||1},{default:c(()=>[l.slot?(n(),t(i,{key:0},[l.slot==="file"?(n(),t(i,{key:0},[a.detailData&&a.detailData[l.key]&&JSON.parse(a.detailData&&a.detailData[l.key]).length?(n(!0),t(i,{key:0},d(JSON.parse(a.detailData&&a.detailData[l.key]),(s,N)=>(n(),m(g,{key:N,"file-url":s.fileUrl,"file-name":s.fileName,"file-id":s.id,"is-down-load":a.isDownLoad},null,8,["file-url","file-name","file-id","is-down-load"]))),128)):(n(),t("span",O,"-"))],64)):b("",!0)],64)):l.render?(n(),m(B(F),{key:1,column:l,row:a.detailData,render:l.render,index:h},null,8,["column","row","render","index"])):(n(),t("span",A,u(a.detailData&&a.detailData[l.key]),1))]),_:2},1032,["label","span"])):b("",!0)],64))),128))]),_:2},1024)]),_:2},1024)),64)}}});export{$ as _};
