Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

2 строки
12KB

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