import{d as z,D as G,b as R,r as P,L as K,o as Q,c as F,e as s,I as c,i as t,h as a,j as n,t as d,u as J,k as m,f as N,F as O,g as A,J as S}from"./index.5bb861d3.js";import{_ as B}from"./index.3f9c5e64.js";import{t as W}from"./indicatorTemplate.dbd53ead.js";const X={style:{"word-break":"break-all"}},Z={style:{"word-break":"break-all"}},_=z({name:"basicInfo"}),le=Object.assign(_,{props:{detailData:Object,isDownLoadFile:{type:Boolean,default:!0},dictionaryList:{type:Array,default:()=>[]}},setup(e){const D=e;function M(b){if(b&&b instanceof Array){const w={1:"\u6D59\u91CC\u529E",2:"\u6D59\u653F\u9489",3:"\u5176\u4ED6",4:"\u65E0\u79FB\u52A8\u7AEF"};return b.map(f=>w[f]).join(",")}return"-"}const{statusOptions:V,projectTypeOptions:Y}=G.dictStore.globalDicts||{},I=R([{label:"\u5E8F\u53F7",type:"index",width:"80"},{label:"\u4F9D\u636E\u9879",slot:"title"},{label:"\u4F9D\u636E\u6587\u4EF6\u540D",slot:"fileName"},{label:"\u9644\u4EF6",slot:"file"}]),$=R([{label:"\u5E8F\u53F7",type:"index",width:60},{label:"\u9879\u76EE\u540D\u79F0",prop:"baseProjName",key:"baseProjName"},{label:"\u9884\u7B97\u5E74\u5EA6",prop:"baseProjSetYear",key:"baseProjSetYear"}]),U=[{label:"\u9879\u76EE\u4E3B\u8981\u5185\u5BB9",prop:"mainContent",key:"mainContent"},{label:"\u4E1A\u52A1\u5BF9\u8C61",prop:"businessObject",key:"businessObject"}],T=P([]),H=P(),E=P(),q=async()=>{const b=await W();E.value=b.data};return K(()=>D.detailData,b=>{var w,l,f;b&&(q(),T.value=(f=(l=(w=D.detailData)==null?void 0:w.baseProjBasis)==null?void 0:l.split("\uFF1B"))==null?void 0:f.map((r,j)=>{var g,L,k,p,y;const h=`[${(g=D.detailData)==null?void 0:g.baseProjBasisFile.replace(/}];/g,"}],")}]`;return{title:(p=(k=(L=D.dictionaryList)==null?void 0:L.filter(i=>i.type==="PROJECT_BASIS"))==null?void 0:k.find(i=>i.value===r))==null?void 0:p.label,fileList:(y=D.detailData)!=null&&y.baseProjBasisFile?JSON.parse(h)[j]:[],value:r}}))}),Q(()=>{var b,w,l;T.value=(l=(w=(b=D.detailData)==null?void 0:b.baseProjBasis)==null?void 0:w.split("\uFF1B"))==null?void 0:l.map((f,r)=>{var h,g,L,k,p;const j=`[${(h=D.detailData)==null?void 0:h.baseProjBasisFile.replace(/}];/g,"}],")}]`;return{title:(k=(L=(g=D.dictionaryList)==null?void 0:g.filter(y=>y.type==="PROJECT_BASIS"))==null?void 0:L.find(y=>y.value===f))==null?void 0:k.label,fileList:(p=D.detailData)!=null&&p.baseProjBasisFile?JSON.parse(j)[r]:[],value:f}})}),(b,w)=>{const l=F("el-descriptions-item"),f=F("table-list"),r=F("el-table-column"),j=F("el-table"),h=F("el-descriptions");return s(),c(h,{column:2,border:""},{default:t(()=>{var g,L,k,p,y;return[a(l,{label:"\u662F\u5426\u6D89\u5BC6"},{default:t(()=>[n(d(e.detailData.baseProjIsConfidentiality==="02"?"\u662F":"\u5426"),1)]),_:1}),a(l,{label:"\u9879\u76EEID"},{default:t(()=>[n(d(e.detailData.projectCode||"-"),1)]),_:1}),a(l,{label:"\u9879\u76EE\u540D\u79F0"},{default:t(()=>[n(d(e.detailData.projectName||"-"),1)]),_:1}),a(l,{label:"\u9879\u76EE\u7C7B\u578B"},{default:t(()=>{var i,o;return[n(d(((i=e.detailData)==null?void 0:i.projectType)&&J(Y)[(o=e.detailData)==null?void 0:o.projectType]),1)]}),_:1}),a(l,{label:"\u5185\u5BB9\u7C7B\u522B"},{default:t(()=>{var i,o;return[n(d(((o=(i=e.detailData)==null?void 0:i.baseConstructionType)==null?void 0:o.split("\uFF1B").map(u=>{var C,x;return(x=(C=e.dictionaryList)==null?void 0:C.filter(v=>v.type==="CONTENT_TYPE").find(v=>v.value===u))==null?void 0:x.label}).join("\u3001"))||"-"),1)]}),_:1}),((g=e.detailData)==null?void 0:g.baseProjIsConfidentiality)!=="02"?(s(),c(l,{key:0,label:"\u662F\u5426\u9996\u6B21\u65B0\u5EFA"},{default:t(()=>[n(d(e.detailData.isFirst?"\u662F":"\u5426"),1)]),_:1})):m("",!0),a(l,{label:"\u884C\u653F\u533A\u5212\u7F16\u7801"},{default:t(()=>[n(d(e.detailData.areaCode||"-"),1)]),_:1}),a(l,{label:"\u884C\u653F\u533A\u5212\u540D\u79F0"},{default:t(()=>[n(d(e.detailData.area||"-"),1)]),_:1}),a(l,{label:"\u9879\u76EE\u8D1F\u8D23\u4EBA"},{default:t(()=>[n(d(e.detailData.responsibleMan||"-"),1)]),_:1}),a(l,{label:"\u9879\u76EE\u8D1F\u8D23\u4EBA\u624B\u673A\u53F7\u7801"},{default:t(()=>[n(d(e.detailData.responsibleManMobile||"-"),1)]),_:1}),a(l,{label:"\u9879\u76EE\u8054\u7CFB\u4EBA"},{default:t(()=>[n(d(e.detailData.contactName||"-"),1)]),_:1}),a(l,{label:"\u9879\u76EE\u8054\u7CFB\u4EBA\u624B\u673A\u53F7\u7801"},{default:t(()=>[n(d(e.detailData.contactPhone||"-"),1)]),_:1}),a(l,{label:"\u4E0A\u7EA7\u4E1A\u52A1\u4E3B\u7BA1\u5355\u4F4D"},{default:t(()=>[n(d(e.detailData.higherSuperOrg||"-"),1)]),_:1}),a(l,{label:"\u4E0A\u7EA7\u4E1A\u52A1\u4E3B\u7BA1\u5355\u4F4D\u6D59\u653F\u9489ID"},{default:t(()=>[n(d(e.detailData.higherSuperOrgCode||"-"),1)]),_:1}),a(l,{label:"\u672C\u7EA7\u4E3B\u7BA1\u90E8\u95E8\u5355\u4F4D"},{default:t(()=>[n(d(e.detailData.superOrg||"-"),1)]),_:1}),a(l,{label:"\u672C\u7EA7\u4E3B\u7BA1\u5355\u4F4D\u6D59\u653F\u9489ID"},{default:t(()=>[n(d(e.detailData.superOrgCode||"-"),1)]),_:1}),a(l,{label:"\u672C\u7EA7\u4E3B\u7BA1\u5355\u4F4D\u7EDF\u4E00\u793E\u4F1A\u4FE1\u7528\u4EE3\u7801"},{default:t(()=>[n(d(e.detailData.superOrgCreditCode||"-"),1)]),_:1}),a(l,{label:"\u5EFA\u8BBE\u5355\u4F4D\uFF1A"},{default:t(()=>[n(d(e.detailData.buildOrgName||"-"),1)]),_:1}),a(l,{label:"\u5EFA\u8BBE\u5355\u4F4D\u6D59\u653F\u9489ID"},{default:t(()=>[n(d(e.detailData.buildOrgCode||"-"),1)]),_:1}),a(l,{label:"\u5EFA\u8BBE\u5355\u4F4D\u7EDF\u4E00\u4FE1\u7528\u4EE3\u7801"},{default:t(()=>[n(d(e.detailData.orgCreditCode||"-"),1)]),_:1}),a(l,{label:"\u4E3B\u7BA1\u5355\u4F4D"},{default:t(()=>[n(d(e.detailData.superOrg||"-"),1)]),_:1}),a(l,{label:"\u4E0A\u7EA7\u4E3B\u7BA1\u5355\u4F4D\u7C7B\u578B"},{default:t(()=>[n(d(e.detailData.baseProvManDeprtType===1?"\u7701\u7EA7":e.detailData.baseProvManDeprtType===2?"\u975E\u7701\u7EA7":"-"),1)]),_:1}),a(l,{label:"\u4E0A\u7EA7\u6761\u7EBF\u4E3B\u7BA1\u5355\u4F4D"},{default:t(()=>[n(d(e.detailData.higherSuperOrg||"-"),1)]),_:1}),a(l,{label:"\u9879\u76EE\u72B6\u6001"},{default:t(()=>{var i;return[n(d(((i=J(V)[e.detailData.status])==null?void 0:i.name)||"-"),1)]}),_:1}),a(l,{label:"\u9884\u7B97\u5E74\u5EA6"},{default:t(()=>[n(d(e.detailData.projectYear||"-"),1)]),_:1}),((L=e.detailData)==null?void 0:L.baseProjIsConfidentiality)!=="02"?(s(),N(O,{key:1},[a(l,{label:"\u5EFA\u8BBE\u8D77\u6B62\u5E74\u9650"},{default:t(()=>[n(d(e.detailData.beginTime)+"~"+d(e.detailData.endTime),1)]),_:1}),a(l,{label:"\u5EFA\u8BBE\u5C42\u7EA7"},{default:t(()=>{var i,o;return[n(d(((o=(i=e.dictionaryList)==null?void 0:i.filter(u=>u.type==="BUILD_LEVEL").find(u=>{var C;return u.value===((C=e.detailData)==null?void 0:C.buildLevel)}))==null?void 0:o.label)||"-"),1)]}),_:1}),a(l,{label:"\u8D2F\u901A\u5C42\u7EA7",span:"2"},{default:t(()=>{var i,o;return[n(d(((o=(i=e.dictionaryList)==null?void 0:i.filter(u=>u.type==="BUILD_LEVEL").find(u=>{var C;return u.value===((C=e.detailData)==null?void 0:C.lowestLevel)}))==null?void 0:o.label)||"-"),1)]}),_:1}),a(l,{label:"\u9879\u76EE\u6982\u8FF0",span:"2"},{default:t(()=>[A("span",X,d(e.detailData.projectOverview||"-"),1)]),_:1}),e.detailData.buildBasis&&((k=JSON.parse(e.detailData.buildBasis))==null?void 0:k.length)?(s(),c(l,{key:0,label:"\u7ACB\u9879\u4F9D\u636E",span:"2"},{default:t(()=>[a(f,{column:I,data:e.detailData.buildBasis&&JSON.parse(e.detailData.buildBasis),pagination:!1,"empty-temp":!1,style:{width:"98%"}},{title:t(({scope:i})=>[n(d(i.row.title),1)]),fileName:t(({scope:i})=>[n(d(i.row.fileName),1)]),file:t(({scope:i})=>[(s(!0),N(O,null,S(i.row.fileList,(o,u)=>(s(),N("p",{key:u,class:"mb-4"},[a(B,{"file-name":o.originalFileName,"file-id":o.id,"is-down-load":e.isDownLoadFile},null,8,["file-name","file-id","is-down-load"])]))),128))]),_:1},8,["column","data"])]),_:1})):(s(),c(l,{key:1,label:"\u7ACB\u9879\u4F9D\u636E",span:2},{default:t(()=>[a(f,{ref_key:"tableListRef",ref:H,pagination:!1,style:{width:"100%"},column:I,data:T.value},{title:t(({scope:i})=>[n(d(i.row.title),1)]),fileName:t(({scope:i})=>[n(d(i.row.fileList[0].originalFileName),1)]),file:t(({scope:i})=>[(s(!0),N(O,null,S(i.row.fileList,(o,u)=>(s(),N("p",{key:u,class:"mb-4"},[a(B,{"file-name":o.originalFileName,"file-id":o.id},null,8,["file-name","file-id"])]))),128))]),_:1},8,["column","data"])]),_:1})),a(l,{label:"\u7ACB\u9879\u4F9D\u636E\u8BF4\u660E",span:"2"},{default:t(()=>[A("span",Z,d(e.detailData.baseBasisEstablish||"-"),1)]),_:1}),a(l,{label:"\u5386\u5E74\u9879\u76EE\u540D\u79F0",span:2},{default:t(()=>{var i;return[a(f,{column:$,data:((i=e.detailData)==null?void 0:i.baseHistorProjs)||[],pagination:!1,"empty-temp":!1,style:{width:"98%"}},null,8,["column","data"])]}),_:1}),a(l,{label:"\u53D1\u6539\u7F16\u7801"},{default:t(()=>[n(d(e.detailData.developCode||"-"),1)]),_:1}),a(l,{label:"\u8D22\u653F\u7F16\u7801"},{default:t(()=>[n(d(e.detailData.financialCode||"-"),1)]),_:1}),a(l,{label:"\u7EE9\u6548\u8BC4\u4EF7\u7C7B\u578B"},{default:t(()=>{var i,o;return[n(d(((o=(i=E.value)==null?void 0:i.find(u=>u.id===e.detailData.templateType))==null?void 0:o.name)||"-"),1)]}),_:1}),a(l,{label:"\u662F\u5426\u4E34\u65F6\u589E\u8865\u9879\u76EE",span:2},{default:t(()=>[n(d(e.detailData.isTemporaryAugment?"\u662F":"\u5426"),1)]),_:1}),e.detailData.status>10011?(s(),N(O,{key:2},[a(l,{label:"\u9879\u76EE\u5185\u5BB9\u4E0E\u9884\u671F\u6210\u6548",span:2},{default:t(()=>{var i,o;return[a(f,{ref:"tableList2",pagination:!1,style:{width:"100%"},column:U,data:((i=e.detailData)==null?void 0:i.beseExpectedResults)&&JSON.parse((o=e.detailData)==null?void 0:o.beseExpectedResults),"empty-temp":!1},null,8,["data"])]}),_:1}),a(l,{label:"\u79FB\u52A8\u7AEF\u5165\u53E3",span:2},{default:t(()=>[n(d(M(e.detailData.mobileTerminalEntry)),1)]),_:1}),a(l,{label:"\u662F\u5426\u4F7F\u7528\u4E91\u8D44\u6E90",span:2},{default:t(()=>[n(d(e.detailData.isCloudResource===1?"\u662F":"\u5426"),1)]),_:1}),e.detailData.isCloudResource===1?(s(),c(l,{key:0,label:"\u4E91\u8D44\u6E90",span:2},{default:t(()=>[a(j,{data:e.detailData.cloudResource,style:{width:"100%"}},{default:t(()=>[a(r,{prop:"cloudResourceType",label:"\u4E91\u8D44\u6E90\u7C7B\u578B"}),a(r,{prop:"baseSpecification",label:"\u57FA\u7840\u89C4\u683C"}),a(r,{prop:"serversCount",label:"\u53F0\u6570"}),a(r,{prop:"description",label:"\u63CF\u8FF0"})]),_:1},8,["data"])]),_:1})):m("",!0),a(l,{label:"\u662F\u5426\u4EA7\u751F\u6570\u636E",span:2},{default:t(()=>[n(d(e.detailData.isProduceData===1?"\u662F":"\u5426"),1)]),_:1}),e.detailData.isProduceData===1?(s(),c(l,{key:1,label:"\u6570\u636E\u5217\u8868",span:2},{default:t(()=>[a(j,{data:e.detailData.produceData,style:{width:"100%"}},{default:t(()=>[a(r,{prop:"dataDirectoryName",label:"\u6570\u636E\u76EE\u5F55\u540D\u79F0"}),a(r,{prop:"dataItem",label:"\u6570\u636E\u9879"})]),_:1},8,["data"])]),_:1})):m("",!0),a(l,{label:"\u662F\u5426\u4F7F\u7528\u516C\u5171\u7EC4\u4EF6",span:2},{default:t(()=>[n(d(e.detailData.isCommonComponent===1?"\u662F":"\u5426"),1)]),_:1}),e.detailData.isCommonComponent===1?(s(),c(l,{key:2,label:"\u516C\u5171\u7EC4\u4EF6\u5217\u8868",span:2},{default:t(()=>[a(j,{data:e.detailData.commonComponent,style:{width:"100%"}},{default:t(()=>[a(r,{prop:"componentName",label:"\u516C\u5171\u7EC4\u4EF6\u540D\u79F0"}),a(r,{prop:"componentType",label:"\u516C\u5171\u7EC4\u4EF6\u7C7B\u578B"})]),_:1},8,["data"])]),_:1})):m("",!0)],64)):m("",!0),((p=e.detailData)==null?void 0:p.projectApplicationForm)&&((y=JSON.parse(e.detailData.projectApplicationForm))==null?void 0:y.length)?(s(),c(l,{key:3,label:"\u9879\u76EE\u7533\u62A5\u4E66"},{default:t(()=>[(s(!0),N(O,null,S(e.detailData.projectApplicationForm&&JSON.parse(e.detailData.projectApplicationForm),(i,o)=>(s(),N("p",{key:o,class:"mb-4"},[a(B,{"file-name":i.originalFileName,"file-id":i.id,"is-down-load":e.isDownLoadFile},null,8,["file-name","file-id","is-down-load"])]))),128))]),_:1})):m("",!0),e.detailData.pretrialFileId?(s(),c(l,{key:4,label:"\u9884\u5BA1\u7533\u8BF7\u5355",span:"2"},{default:t(()=>[a(B,{"file-name":e.detailData.pretrialFileName,"file-id":e.detailData.pretrialFileId,"is-down-load":e.isDownLoadFile},null,8,["file-name","file-id","is-down-load"])]),_:1})):m("",!0),m("",!0),e.detailData.constructFileId?(s(),c(l,{key:6,label:"\u5EFA\u8BBE\u65B9\u6848\u5BA1\u67E5\u610F\u89C1\u6587\u4EF6",span:"2"},{default:t(()=>[a(B,{"file-name":e.detailData.constructFileName,"file-id":e.detailData.constructFileId,"is-down-load":e.isDownLoadFile},null,8,["file-name","file-id","is-down-load"])]),_:1})):m("",!0)],64)):m("",!0)]}),_:1})}}});export{le as default};