Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

2 linhas
12KB

  1. import{_ as st}from"./backIcon.f4f9a5f4.js";import{s as tt,d as et,B as lt,r as c,o as at,c as ot,e as o,f as n,g as s,P as nt,t as l,u as Xs,h as it,F as rt,H as ut,k as p,x as dt,n as ct}from"./index.0018c8ef.js";import{d as pt}from"./projectCollectionEnter.0d56ed7b.js";const vt="/assets/title.193f0dd1.png",mt="/assets/centerImg.915b9a88.png",ft="/assets/rotaBase.369a2bb5.png",gt="/assets/rotaBg.3a39e35a.png",bt="/assets/bigBottom.5543bfb5.png",_="/assets/smallCir.0b2f41ca.png",x="/assets/bigCir.66a4e296.png",_t="/assets/bgWave.e275108a.png",m="/assets/tabContentIcon.f6296934.png",xt=j=>tt.get(`/api/v1/dashboard/project-portrait/${j}`);const jt={class:"portraitScreen"},It={class:"content"},Ct={class:"top"},yt={class:"box3"},kt={class:"tit"},Ot={class:"main"},Vt={class:"info flex flex-wrap"},St={class:"info-item w-[100%] flex items-start"},Tt=["title"],Ut={class:"flex w-full"},wt={class:"flex-1"},Dt={class:"info-item w-[100%] flex items-start"},Bt={class:"flex-1"},Rt={class:"w-[100%] flex justify-between"},$t={class:"info-item flex"},Nt={key:0},Pt={key:1},At={class:"flex-1"},zt={class:"w-[100%] flex justify-between"},Et={class:"info-item flex"},Ft={key:0},Jt={key:1},Lt={class:"info-item w-[100%] flex items-start"},Mt={class:"flex-1"},Wt={key:0,class:"customMask"},qt={class:"customDialog customDialog1"},Ht={key:0,class:"box1"},Gt={class:"tag"},Kt={key:0,class:"div15"},Qt={key:1,class:"box2"},Xt={class:"main"},Yt={key:2,class:"box5"},Zt={class:"main"},ht={class:"tabContent"},se={class:"value"},te={class:"value"},ee={class:"value"},le={class:"value"},ae={class:"value"},oe={class:"value"},ne={class:"value"},ie={class:"value"},re={class:"value"},ue={class:"value"},de={class:"value"},ce={class:"value"},pe={class:"value"},ve={class:"value"},me={class:"value"},fe={class:"value"},ge=et({name:"portraitScreen"}),je=Object.assign(ge,{setup(j){const Ys=dt(),{statusOptions:I}=lt.dictStore.globalDicts||{};c(0);const e=c(),Zs=c(),hs=async()=>{var t,r;const i=await xt(Ys.query.projectCode);e.value=i.data,Zs.value=(r=(t=i.data)==null?void 0:t.projectInfo)==null?void 0:r.statusSituation.reverse()},f=c([]),d=c([!1,!1,!1]),g=c(!1),b=i=>{g.value=!0,d.value.forEach((t,r)=>{r===i?d.value[r]=!0:d.value[r]=!1}),console.log(d.value)};return at(async()=>{var i;hs(),f.value=(await pt()).data,console.log((i=f.value)==null?void 0:i.filter(t=>t.type==="PROJECT_STATUS"))}),(i,t)=>{var C,y,k,O,V,S,T,U,w,D,B,R,$,N,P,A,z,E,F,J,L,M,W,q,H,G,K,Q,X,Y,Z,h,ss,ts,es,ls,as,os,ns,is,rs,us,ds,cs,ps,vs,ms,fs,gs,bs,_s,xs,js,Is,Cs,ys,ks,Os,Vs,Ss,Ts,Us,ws,Ds,Bs,Rs,$s,Ns,Ps,As,zs,Es,Fs,Js,Ls,Ms,Ws,qs,Hs,Gs,Ks,Qs;const r=ot("svg-icon");return o(),n("div",jt,[t[42]||(t[42]=s("div",{class:"head"},[s("img",{src:vt,class:"mx-auto"})],-1)),s("div",It,[s("div",Ct,[s("p",{class:"back flex items-center",onClick:t[0]||(t[0]=a=>i.$router.go(-1))},t[7]||(t[7]=[s("img",{src:st,class:"backIcon"},null,-1),s("span",null,"\u8FD4\u56DE\u9996\u9875",-1)])),t[16]||(t[16]=nt('<div class="center"><img src="'+mt+'" class="centerBoxImg"><img src="'+ft+'" class="rotaBaseImg"><img src="'+gt+'" class="rotaBgImg"><img src="'+bt+'" class="bigBottomImg"></div>',1)),s("div",yt,[s("div",kt,l((y=(C=e.value)==null?void 0:C.projectInfo)==null?void 0:y.projectName),1),s("div",Ot,[s("div",Vt,[s("div",St,[t[8]||(t[8]=s("span",{class:"label flex items-center flex-shrink-0"},"\u7CFB\u7EDF\u5B9A\u4F4D\uFF1A",-1)),s("span",{class:"flex-1 ellipsis",title:((O=(k=e.value)==null?void 0:k.projectInfo)==null?void 0:O.systemPosition)||((S=(V=e.value)==null?void 0:V.projectInfo)==null?void 0:S.projectIntroduction)},l(((U=(T=e.value)==null?void 0:T.projectInfo)==null?void 0:U.systemPosition)||((D=(w=e.value)==null?void 0:w.projectInfo)==null?void 0:D.projectIntroduction)||"-"),9,Tt)]),s("div",Ut,[s("div",wt,[s("div",Dt,[t[9]||(t[9]=s("span",{class:"label flex items-center flex-shrink-0"},"\u6295\u8D44\u91D1\u989D\uFF1A",-1)),s("span",Bt,l(((R=(B=e.value)==null?void 0:B.projectInfo)==null?void 0:R.approvalAmount)||"-")+"\u4E07\u5143",1)]),s("div",Rt,[s("div",$t,[t[10]||(t[10]=s("span",{class:"label flex items-center flex-shrink-0"},"\u9879\u76EE\u72B6\u6001\uFF1A",-1)),((N=($=e.value)==null?void 0:$.projectInfo)==null?void 0:N.status)*1>100?(o(),n("span",Nt,l(((z=Xs(I)[((A=(P=e.value)==null?void 0:P.projectInfo)==null?void 0:A.status)*1])==null?void 0:z.name)||"-"),1)):(o(),n("span",Pt,l(((F=(E=f.value)==null?void 0:E.filter(a=>a.type==="PROJECT_STATUS").find(a=>{var u,v;return a.value===((v=(u=e.value)==null?void 0:u.projectInfo)==null?void 0:v.status)}))==null?void 0:F.label)||"-"),1))])])]),s("div",At,[s("div",zt,[s("div",Et,[t[11]||(t[11]=s("span",{class:"label flex items-center flex-shrink-0"},"\u9879\u76EE\u72B6\u6001\uFF1A",-1)),((L=(J=e.value)==null?void 0:J.projectInfo)==null?void 0:L.status)*1>100?(o(),n("span",Ft,l(((q=Xs(I)[((W=(M=e.value)==null?void 0:M.projectInfo)==null?void 0:W.status)*1])==null?void 0:q.name)||"-"),1)):(o(),n("span",Jt,l(((G=(H=f.value)==null?void 0:H.filter(a=>a.type==="PROJECT_STATUS").find(a=>{var u,v;return a.value===((v=(u=e.value)==null?void 0:u.projectInfo)==null?void 0:v.status)}))==null?void 0:G.label)||"-"),1))])]),s("div",Lt,[t[12]||(t[12]=s("span",{class:"label flex items-center flex-shrink-0"},"\u90E8\u95E8\uFF1A",-1)),s("span",Mt,l(((Q=(K=e.value)==null?void 0:K.projectInfo)==null?void 0:Q.buildOrgName)||"-"),1)])])])])])]),s("div",{class:"boxCircle1 flex flex-col items-center justify-center cursor-pointer z-10",onClick:t[1]||(t[1]=a=>b(0))},t[13]||(t[13]=[s("img",{src:_,class:"smallCirImg"},null,-1),s("img",{src:x,class:"bigCirImg"},null,-1),s("p",null,"\u9879\u76EE",-1),s("p",null,"\u7B80\u4ECB",-1)])),s("div",{class:"boxCircle2 flex flex-col items-center justify-center cursor-pointer z-10",onClick:t[2]||(t[2]=a=>b(1))},t[14]||(t[14]=[s("img",{src:_,class:"smallCirImg"},null,-1),s("img",{src:x,class:"bigCirImg"},null,-1),s("p",null,"\u7279\u5F81",-1),s("p",null,"\u6807\u7B7E",-1)])),s("div",{class:"boxCircle3 flex flex-col items-center justify-center cursor-pointer z-10",onClick:t[3]||(t[3]=a=>b(2))},t[15]||(t[15]=[s("img",{src:_,class:"smallCirImg"},null,-1),s("img",{src:x,class:"bigCirImg"},null,-1),s("p",null,"\u4EA7\u51FA",-1),s("p",null,"\u6807\u7B7E",-1)]))])]),t[43]||(t[43]=s("div",{class:"bgWave"},[s("img",{src:_t,class:"img"})],-1)),g.value?(o(),n("div",Wt,[s("div",qt,[it(r,{name:"dialogClose",class:"closeIcon",onClick:t[4]||(t[4]=a=>g.value=!1)}),d.value[1]?(o(),n("div",Ht,[t[18]||(t[18]=s("div",{class:"mid"},null,-1)),(o(!0),n(rt,null,ut((Y=(X=e.value)==null?void 0:X.projectFeatures)==null?void 0:Y.slice(0,14),(a,u)=>(o(),n("div",{key:u,class:ct(`div${u+1}`)},[s("p",Gt,l(a.name),1)],2))),128)),((h=(Z=e.value)==null?void 0:Z.projectFeatures)==null?void 0:h.length)>14?(o(),n("div",Kt,t[17]||(t[17]=[s("p",{class:"tag"},"......",-1)]))):p("",!0)])):p("",!0),d.value[0]?(o(),n("div",Qt,[s("div",Xt,l((ts=(ss=e.value)==null?void 0:ss.projectInfo)==null?void 0:ts.projectIntroduction),1)])):p("",!0),d.value[2]?(o(),n("div",Yt,[s("div",Zt,[p("",!0),s("div",ht,[t[37]||(t[37]=s("div",{class:"tableTit flex items-center"},[s("img",{src:m,alt:""}),s("span",null,"\u4E91\u8D44\u6E90\u4F7F\u7528\u60C5\u51B5")],-1)),s("table",null,[s("tr",null,[t[19]||(t[19]=s("td",{class:"label"},"\u4E91\u8D44\u6E90\u5B9E\u4F8B\u4F7F\u7528\u6570",-1)),s("td",se,l((as=(ls=(es=e.value)==null?void 0:es.projectOutput)==null?void 0:ls.\u9879\u76EE\u4F53\u5F81)==null?void 0:as.cloudResourceUsage.instancesNum),1),t[20]||(t[20]=s("td",{class:"label"},"\u4E91\u8D44\u6E90\u5229\u7528\u7387",-1)),s("td",te,l((is=(ns=(os=e.value)==null?void 0:os.projectOutput)==null?void 0:ns.\u9879\u76EE\u4F53\u5F81)==null?void 0:is.cloudResourceUsage.utilizationRate),1)])]),t[38]||(t[38]=s("div",{class:"tableTit flex items-center"},[s("img",{src:m,alt:""}),s("span",null,"\u6570\u636E\u4F7F\u7528\u60C5\u51B5")],-1)),s("table",null,[s("tr",null,[t[21]||(t[21]=s("td",{class:"label"},"\u6570\u636E\u5171\u4EAB\u7533\u8BF7\u91CF",-1)),s("td",ee,l((ds=(us=(rs=e.value)==null?void 0:rs.projectOutput)==null?void 0:us.\u9879\u76EE\u4F53\u5F81)==null?void 0:ds.dataUsage.sharedApplicationVolume),1),t[22]||(t[22]=s("td",{class:"label"},"\u6570\u636E\u5171\u4EAB\u4F7F\u7528\u91CF",-1)),s("td",le,l((vs=(ps=(cs=e.value)==null?void 0:cs.projectOutput)==null?void 0:ps.\u9879\u76EE\u4F53\u5F81)==null?void 0:vs.dataUsage.sharedUsage),1)]),s("tr",null,[t[23]||(t[23]=s("td",{class:"label"},"\u6570\u636E\u5171\u4EAB\u63A5\u53E3\u8C03\u7528\u91CF",-1)),s("td",ae,l((gs=(fs=(ms=e.value)==null?void 0:ms.projectOutput)==null?void 0:fs.\u9879\u76EE\u4F53\u5F81)==null?void 0:gs.dataUsage.sharedInterfaceCallVolume),1),t[24]||(t[24]=s("td",{class:"label"},"\u534F\u540C\u63A5\u53E3\u8C03\u7528\u91CF",-1)),s("td",oe,l((xs=(_s=(bs=e.value)==null?void 0:bs.projectOutput)==null?void 0:_s.\u9879\u76EE\u4F53\u5F81)==null?void 0:xs.dataUsage.collaborativeInterfaceCallVolume),1)])]),t[39]||(t[39]=s("div",{class:"tableTit flex items-center"},[s("img",{src:m,alt:""}),s("span",null,"\u7EC4\u4EF6\u4F7F\u7528\u60C5\u51B5")],-1)),s("table",null,[s("tr",null,[t[25]||(t[25]=s("td",{class:"label"},"\u7EC4\u4EF6\u7533\u8BF7\u91CF",-1)),s("td",ne,l((Cs=(Is=(js=e.value)==null?void 0:js.projectOutput)==null?void 0:Is.\u9879\u76EE\u4F53\u5F81)==null?void 0:Cs.componentUsage.applicationVolume),1),t[26]||(t[26]=s("td",{class:"label"},"\u7EC4\u4EF6\u4F7F\u7528\u91CF",-1)),s("td",ie,l((Os=(ks=(ys=e.value)==null?void 0:ys.projectOutput)==null?void 0:ks.\u9879\u76EE\u4F53\u5F81)==null?void 0:Os.componentUsage.useVolume),1)]),s("tr",null,[t[27]||(t[27]=s("td",{class:"label"},"\u7EC4\u4EF6\u8C03\u7528\u91CF",-1)),s("td",re,l(((Ts=(Ss=(Vs=e.value)==null?void 0:Vs.projectOutput)==null?void 0:Ss.\u9879\u76EE\u4F53\u5F81)==null?void 0:Ts.componentUsage.unifyCallolVolume)||"\u6682\u65E0"),1),t[28]||(t[28]=s("td",{class:"label"},"\u7EDF\u4E00\u7EC4\u4EF6\u8C03\u7528\u91CF",-1)),t[29]||(t[29]=s("td",{class:"value"},"\u6682\u65E0",-1))])]),t[40]||(t[40]=s("div",{class:"tableTit flex items-center"},[s("img",{src:m,alt:""}),s("span",null,"\u4EA7\u751F\u6570\u636E")],-1)),s("table",null,[s("tr",null,[t[30]||(t[30]=s("td",{class:"label"},"\u4EA7\u751F\u6570\u636E\u91CF",-1)),s("td",ue,l(((Ds=(ws=(Us=e.value)==null?void 0:Us.projectOutput)==null?void 0:ws.\u9879\u76EE\u4F53\u5F81)==null?void 0:Ds.generateData.volume)||"\u6682\u65E0"),1),t[31]||(t[31]=s("td",{class:"label"},"\u4EA7\u751F\u6570\u636E\u5171\u4EAB\u7533\u8BF7\u91CF",-1)),s("td",de,l((($s=(Rs=(Bs=e.value)==null?void 0:Bs.projectOutput)==null?void 0:Rs.\u9879\u76EE\u4F53\u5F81)==null?void 0:$s.generateData.sharedApplicationVolume)||"\u6682\u65E0"),1)]),s("tr",null,[t[32]||(t[32]=s("td",{class:"label"},"\u4EA7\u751F\u6570\u636E\u5171\u4EAB\u4F7F\u7528\u91CF",-1)),s("td",ce,l(((As=(Ps=(Ns=e.value)==null?void 0:Ns.projectOutput)==null?void 0:Ps.\u9879\u76EE\u4F53\u5F81)==null?void 0:As.generateData.sharedUseVolume)||"\u6682\u65E0"),1),t[33]||(t[33]=s("td",{class:"label"},"\u4EA7\u751F\u6570\u636E\u5BA1\u6279\u901A\u8FC7\u7387",-1)),s("td",pe,l(((Fs=(Es=(zs=e.value)==null?void 0:zs.projectOutput)==null?void 0:Es.\u9879\u76EE\u4F53\u5F81)==null?void 0:Fs.generateData.approvalPassRate)||"\u6682\u65E0"),1)]),s("tr",null,[t[34]||(t[34]=s("td",{class:"label"},"\u6570\u636E\u63A5\u53E3\u88AB\u8C03\u7528\u91CF",-1)),s("td",ve,l(((Ms=(Ls=(Js=e.value)==null?void 0:Js.projectOutput)==null?void 0:Ls.\u9879\u76EE\u4F53\u5F81)==null?void 0:Ms.generateData.dataInterfaceCallsVolume)||"\u6682\u65E0"),1),t[35]||(t[35]=s("td",{class:"label"},"\u534F\u540C\u63A5\u53E3\u88AB\u8C03\u7528\u91CF",-1)),s("td",me,l(((Hs=(qs=(Ws=e.value)==null?void 0:Ws.projectOutput)==null?void 0:qs.\u9879\u76EE\u4F53\u5F81)==null?void 0:Hs.generateData.collaborativeInterfaceCallVolume)||"\u6682\u65E0"),1)])]),t[41]||(t[41]=s("div",{class:"tableTit flex items-center"},[s("img",{src:m,alt:""}),s("span",null,"\u8BD5\u8FD0\u884C\u62A5\u544A")],-1)),s("table",null,[s("tr",null,[t[36]||(t[36]=s("td",{class:"label"},"\u8BD5\u8FD0\u884C\u62A5\u544A\u901A\u8FC7\u7387",-1)),s("td",fe,l(((Qs=(Ks=(Gs=e.value)==null?void 0:Gs.projectOutput)==null?void 0:Ks.\u9879\u76EE\u4F53\u5F81)==null?void 0:Qs.operationReport.passRate)||"\u6682\u65E0"),1)])])])])])):p("",!0)])])):p("",!0)])}}});export{je as default};