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

  1. import{d as z,D as G,b as R,r as v,L as K,c as j,e as s,I as f,i as t,h as a,j as n,t as d,u as J,k as c,f as y,F,g as A,J as S}from"./index.2e17f00f.js";import{_ as O}from"./index.d2f9af39.js";import{t as Q}from"./indicatorTemplate.0d3b9c94.js";const W={style:{"word-break":"break-all"}},X={style:{"word-break":"break-all"}},Z=z({name:"basicInfo"}),te=Object.assign(Z,{props:{detailData:Object,isDownLoadFile:{type:Boolean,default:!0},dictionaryList:{type:Array,default:()=>[]}},setup(e){const w=e;function V(m){if(m&&m instanceof Array){const g={1:"\u6D59\u91CC\u529E",2:"\u6D59\u653F\u9489",3:"\u5176\u4ED6",4:"\u65E0\u79FB\u52A8\u7AEF"};return m.map(b=>g[b]).join(",")}return"-"}const{statusOptions:M,projectTypeOptions:Y}=G.dictStore.globalDicts||{},P=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"}],I=v([]),H=v(),E=v(),q=async()=>{const m=await Q();E.value=m.data};return K(()=>w.detailData,m=>{var g,l,b;m&&(q(),I.value=(b=(l=(g=w.detailData)==null?void 0:g.baseProjBasis)==null?void 0:l.split("\uFF1B"))==null?void 0:b.map((r,k)=>{var C,L,N,h,p;const T=`[${(C=w.detailData)==null?void 0:C.baseProjBasisFile.replace(/}];/g,"}],")}]`;return{title:(h=(N=(L=w.dictionaryList)==null?void 0:L.filter(i=>i.type==="PROJECT_BASIS"))==null?void 0:N.find(i=>i.value===r))==null?void 0:h.label,fileList:(p=w.detailData)!=null&&p.baseProjBasisFile?JSON.parse(T)[k]:[],value:r}}))}),(m,g)=>{const l=j("el-descriptions-item"),b=j("table-list"),r=j("el-table-column"),k=j("el-table"),T=j("el-descriptions");return s(),f(T,{column:2,border:""},{default:t(()=>{var C,L,N,h,p;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 D,x;return(x=(D=e.dictionaryList)==null?void 0:D.filter(B=>B.type==="CONTENT_TYPE").find(B=>B.value===u))==null?void 0:x.label}).join("\u3001"))||"-"),1)]}),_:1}),((C=e.detailData)==null?void 0:C.baseProjIsConfidentiality)!=="02"?(s(),f(l,{key:0,label:"\u662F\u5426\u9996\u6B21\u65B0\u5EFA"},{default:t(()=>[n(d(e.detailData.isFirst?"\u662F":"\u5426"),1)]),_:1})):c("",!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(M)[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(),y(F,{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 D;return u.value===((D=e.detailData)==null?void 0:D.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 D;return u.value===((D=e.detailData)==null?void 0:D.lowestLevel)}))==null?void 0:o.label)||"-"),1)]}),_:1}),a(l,{label:"\u9879\u76EE\u6982\u8FF0",span:"2"},{default:t(()=>[A("span",W,d(e.detailData.projectOverview||"-"),1)]),_:1}),e.detailData.buildBasis&&((N=JSON.parse(e.detailData.buildBasis))==null?void 0:N.length)?(s(),f(l,{key:0,label:"\u7ACB\u9879\u4F9D\u636E",span:"2"},{default:t(()=>[a(b,{column:P,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),y(F,null,S(i.row.fileList,(o,u)=>(s(),y("p",{key:u,class:"mb-4"},[a(O,{"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(),f(l,{key:1,label:"\u7ACB\u9879\u4F9D\u636E",span:2},{default:t(()=>[a(b,{ref_key:"tableListRef",ref:H,pagination:!1,style:{width:"100%"},column:P,data:I.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),y(F,null,S(i.row.fileList,(o,u)=>(s(),y("p",{key:u,class:"mb-4"},[a(O,{"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",X,d(e.detailData.baseBasisEstablish||"-"),1)]),_:1}),a(l,{label:"\u5386\u5E74\u9879\u76EE\u540D\u79F0",span:2},{default:t(()=>{var i;return[a(b,{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(),y(F,{key:2},[a(l,{label:"\u9879\u76EE\u5185\u5BB9\u4E0E\u9884\u671F\u6210\u6548",span:2},{default:t(()=>{var i,o;return[a(b,{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(V(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(),f(l,{key:0,label:"\u4E91\u8D44\u6E90",span:2},{default:t(()=>[a(k,{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})):c("",!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(),f(l,{key:1,label:"\u6570\u636E\u5217\u8868",span:2},{default:t(()=>[a(k,{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})):c("",!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(),f(l,{key:2,label:"\u516C\u5171\u7EC4\u4EF6\u5217\u8868",span:2},{default:t(()=>[a(k,{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})):c("",!0)],64)):c("",!0),((h=e.detailData)==null?void 0:h.projectApplicationForm)&&((p=JSON.parse(e.detailData.projectApplicationForm))==null?void 0:p.length)?(s(),f(l,{key:3,label:"\u9879\u76EE\u7533\u62A5\u4E66"},{default:t(()=>[(s(!0),y(F,null,S(e.detailData.projectApplicationForm&&JSON.parse(e.detailData.projectApplicationForm),(i,o)=>(s(),y("p",{key:o,class:"mb-4"},[a(O,{"file-name":i.originalFileName,"file-id":i.id,"is-down-load":e.isDownLoadFile},null,8,["file-name","file-id","is-down-load"])]))),128))]),_:1})):c("",!0),e.detailData.pretrialFileId?(s(),f(l,{key:4,label:"\u9884\u5BA1\u7533\u8BF7\u5355",span:"2"},{default:t(()=>[a(O,{"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})):c("",!0),c("",!0),e.detailData.constructFileId?(s(),f(l,{key:6,label:"\u5EFA\u8BBE\u65B9\u6848\u5BA1\u67E5\u610F\u89C1\u6587\u4EF6",span:"2"},{default:t(()=>[a(O,{"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})):c("",!0)],64)):c("",!0)]}),_:1})}}});export{te as default};