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