|
1 |
- import{d as q,B as z,b as R,r as S,J as K,o as Q,c as F,e as s,G as b,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,H as P}from"./index.2dada31c.js";import{_ as B}from"./index.820387e5.js";import{t as W}from"./indicatorTemplate.2e739183.js";const X={style:{"word-break":"break-all"}},Z={style:{"word-break":"break-all"}},_=q({name:"basicInfo"}),le=Object.assign(_,{props:{detailData:Object,isDownLoadFile:{type:Boolean,default:!0},dictionaryList:{type:Array,default:()=>[]}},setup(e){const D=e;function M(f){if(f&&f instanceof Array){const w={1:"\u6D59\u91CC\u529E",2:"\u6D59\u653F\u9489",3:"\u5176\u4ED6",4:"\u65E0\u79FB\u52A8\u7AEF"};return f.map(c=>w[c]).join(",")}return"-"}const{statusOptions:V,projectTypeOptions:Y}=z.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"}]),H=[{label:"\u9879\u76EE\u4E3B\u8981\u5185\u5BB9",prop:"mainContent",key:"mainContent"},{label:"\u4E1A\u52A1\u5BF9\u8C61",prop:"businessObject",key:"businessObject"}],T=S([]),U=S(),E=S(),G=async()=>{const f=await W();E.value=f.data};return K(()=>D.detailData,f=>{var w,l,c;f&&(G(),T.value=(c=(l=(w=D.detailData)==null?void 0:w.baseProjBasis)==null?void 0:l.split("\uFF1B"))==null?void 0:c.map((u,C)=>{var g,p,k,L,y;const h=`[${(g=D.detailData)==null?void 0:g.baseProjBasisFile.replace(/}];/g,"}],")}]`;return{title:(L=(k=(p=D.dictionaryList)==null?void 0:p.filter(i=>i.type==="PROJECT_BASIS"))==null?void 0:k.find(i=>i.value===u))==null?void 0:L.label,fileList:(y=D.detailData)!=null&&y.baseProjBasisFile?JSON.parse(h)[C]:[],value:u}}))}),Q(()=>{var f,w,l;T.value=(l=(w=(f=D.detailData)==null?void 0:f.baseProjBasis)==null?void 0:w.split("\uFF1B"))==null?void 0:l.map((c,u)=>{var h,g,p,k,L;const C=`[${(h=D.detailData)==null?void 0:h.baseProjBasisFile.replace(/}];/g,"}],")}]`;return{title:(k=(p=(g=D.dictionaryList)==null?void 0:g.filter(y=>y.type==="PROJECT_BASIS"))==null?void 0:p.find(y=>y.value===c))==null?void 0:k.label,fileList:(L=D.detailData)!=null&&L.baseProjBasisFile?JSON.parse(C)[u]:[],value:c}})}),(f,w)=>{const l=F("el-descriptions-item"),c=F("table-list"),u=F("el-table-column"),C=F("el-table"),h=F("el-descriptions");return s(),b(h,{column:2,border:""},{default:t(()=>{var g,p,k,L,y;return[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(r=>{var j,x;return(x=(j=e.dictionaryList)==null?void 0:j.filter(v=>v.type==="CONTENT_TYPE").find(v=>v.value===r))==null?void 0:x.label}).join("\u3001"))||"-"),1)]}),_:1}),((g=e.detailData)==null?void 0:g.baseProjIsConfidentiality)!=="02"?(s(),b(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}),((p=e.detailData)==null?void 0:p.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(r=>r.type==="BUILD_LEVEL").find(r=>{var j;return r.value===((j=e.detailData)==null?void 0:j.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(r=>r.type==="BUILD_LEVEL").find(r=>{var j;return r.value===((j=e.detailData)==null?void 0:j.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(),b(l,{key:0,label:"\u7ACB\u9879\u4F9D\u636E",span:"2"},{default:t(()=>[a(c,{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,P(i.row.fileList,(o,r)=>(s(),N("p",{key:r,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(),b(l,{key:1,label:"\u7ACB\u9879\u4F9D\u636E",span:2},{default:t(()=>[a(c,{ref_key:"tableListRef",ref:U,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,P(i.row.fileList,(o,r)=>(s(),N("p",{key:r,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(c,{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:"\u7EE9\u6548\u8BC4\u4EF7\u7C7B\u578B"},{default:t(()=>{var i,o;return[n(d(((o=(i=E.value)==null?void 0:i.find(r=>r.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&&e.detailData.projectType!=="04"&&e.detailData.projectType!=="05"?(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(c,{ref:"tableList2",pagination:!1,style:{width:"100%"},column:H,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(),b(l,{key:0,label:"\u4E91\u8D44\u6E90",span:2},{default:t(()=>[a(C,{data:e.detailData.cloudResource,style:{width:"100%"}},{default:t(()=>[a(u,{prop:"cloudResourceType",label:"\u4E91\u8D44\u6E90\u7C7B\u578B"}),a(u,{prop:"baseSpecification",label:"\u57FA\u7840\u89C4\u683C"}),a(u,{prop:"serversCount",label:"\u53F0\u6570"}),a(u,{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(),b(l,{key:1,label:"\u6570\u636E\u5217\u8868",span:2},{default:t(()=>[a(C,{data:e.detailData.produceData,style:{width:"100%"}},{default:t(()=>[a(u,{prop:"dataDirectoryName",label:"\u6570\u636E\u76EE\u5F55\u540D\u79F0"}),a(u,{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(),b(l,{key:2,label:"\u516C\u5171\u7EC4\u4EF6\u5217\u8868",span:2},{default:t(()=>[a(C,{data:e.detailData.commonComponent,style:{width:"100%"}},{default:t(()=>[a(u,{prop:"componentName",label:"\u516C\u5171\u7EC4\u4EF6\u540D\u79F0"}),a(u,{prop:"componentType",label:"\u516C\u5171\u7EC4\u4EF6\u7C7B\u578B"})]),_:1},8,["data"])]),_:1})):m("",!0)],64)):m("",!0),((L=e.detailData)==null?void 0:L.projectApplicationForm)&&((y=JSON.parse(e.detailData.projectApplicationForm))==null?void 0:y.length)?(s(),b(l,{key:3,label:"\u9879\u76EE\u7533\u62A5\u4E66"},{default:t(()=>[(s(!0),N(O,null,P(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(),b(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(),b(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};
|