25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

2 satır
11KB

  1. import{_ as te}from"./index.b8af1d9b.js";import{N as F}from"./index.0c2b3f6e.js";import{i as B}from"./index.f55de596.js";import{d as se,r as g,o as oe,L as ne,c as m,e as d,G as y,i as l,g as r,h as t,f as I,F as x,H as O,j as n,t as i,k as z}from"./index.88314652.js";const pe={class:"pb-24"},ie={class:"pl-24"},ue={class:"font-semibold text-14 mb-16"},re={class:"text-primary"},de={class:"p-16"},fe={class:"collapse-title"},ce=se({name:"finalInfo"}),ge=Object.assign(ce,{props:{detailData:Object,isShowApp:{type:Boolean,default:!0}},setup(E){const L=["1","2","3","4","5","6","7"],c=E,v=g(),T=async()=>{var u,s,b,o;v.value={isCompletedLogCollection:(u=c.detailData)==null?void 0:u.isCompletedLogCollection,beseExpectedResults:((s=c.detailData)==null?void 0:s.beseExpectedResults)&&JSON.parse((b=c.detailData)==null?void 0:b.beseExpectedResults)||[],finalAcceptanceMaterials:c.detailData.finalAcceptanceMaterials?JSON.parse(c.detailData.finalAcceptanceMaterials):void 0,finalIrsApps:(o=c.detailData)==null?void 0:o.finalIrsApps}},$=[{label:"\u5E8F\u53F7",type:"index",width:"60"},{label:"\u6750\u6599\u540D\u79F0",key:"name",prop:"name"},{label:"\u662F\u5426\u6709\u6750\u6599",key:"isHave",slot:"isHave",width:100},{label:"\u9644\u4EF6/\u8BF4\u660E\uFF08\u652F\u6301\u6269\u5C55\u540D\uFF1A.doc .docx .pdf\uFF09",key:"files",slot:"files"}],J=[{label:"\u9879\u76EE\u4E3B\u8981\u5185\u5BB9",prop:"mainContent",key:"mainContent"},{label:"\u4E1A\u52A1\u5BF9\u8C61",prop:"businessObject",key:"businessObject"}],A=g([{name:"\u5E94\u75281",status:"\u8FD0\u884C\u4E2D",memoryRate:11,cpuRate:33,cpRate:44},{name:"\u5E94\u75282",status:"\u8FD0\u884C\u4E2D",memoryRate:68,cpuRate:43,cpRate:30}]),p=g({});let k,D,N;const P=g(),G=g(),W=g(),h=(u,s,b)=>{const o=[s,"rgba(0, 0, 0, 0.1)"];return{legend:{show:!1},graphic:[{type:"text",left:"center",top:"48%",style:{text:`${u}%`,fill:"#333333",fontSize:16,fontWeight:"bold",fontFamily:"DINAlternate-Bold, DINAlternate"}},{type:"text",left:"center",bottom:"0",style:{text:`${b}`,fill:"#333333",fontSize:12}}],series:[{type:"pie",radius:["58%","75%"],center:["50%","50%"],avoidLabelOverlap:!1,data:[{value:u},{value:100-u}],itemStyle:{color:function(f){return o[f.dataIndex]}},labelLine:{show:!1}}]}},q=()=>{k||(k=B(P.value));const u=h(p.value.memoryRate,"#5ADE92","\u8FD1\u4E09\u4E2A\u6708\u5185\u5B58\u5E73\u5747\u4F7F\u7528\u7387");k.setOption(u)},K=()=>{D||(D=B(G.value));const u=h(p.value.cpuRate,"#0967FD","\u8FD1\u4E09\u4E2A\u6708CPU\u5E73\u5747\u4F7F\u7528\u7387");D.setOption(u)},Q=()=>{N||(N=B(W.value));const u=h(p.value.cpRate,"#ffae00","\u8FD1\u4E09\u4E2A\u6708\u78C1\u76D8\u5E73\u5747\u4F7F\u7528\u7387");N.setOption(u)},X=()=>{q(),K(),Q()},w=g(0),Y=u=>{w.value=u,p.value=A.value[u],X()},Z=u=>{console.log(u)};return oe(async()=>{var u;T(),A.value=((u=c==null?void 0:c.detailData.projectApplications)==null?void 0:u.map((s,b)=>({name:s.applicationName||s.relatedExistsApplication,status:"\u8FD0\u884C\u4E2D",finalIrsApps:v.value.finalIrsApps[b]})))||[],p.value=A.value[0],await ne()}),(u,s)=>{const b=m("el-tab-pane"),o=m("el-descriptions-item"),f=m("el-descriptions"),_=m("el-col"),S=m("el-row"),ee=m("el-tabs"),U=m("el-collapse-item"),M=m("table-list"),ae=m("el-collapse");return v.value?(d(),y(ae,{key:0,modelValue:L,"onUpdate:modelValue":s[1]||(s[1]=R=>L=R),onChange:Z},{default:l(()=>{var R;return[E.isShowApp&&((R=A.value)==null?void 0:R.length)?(d(),y(U,{key:0,name:"1",class:"mb-16"},{title:l(()=>s[2]||(s[2]=[r("div",{class:"collapse-title"},"\u5173\u8054\u7684\u5E94\u7528\u4FE1\u606F",-1)])),default:l(()=>[r("div",pe,[t(ee,{modelValue:w.value,"onUpdate:modelValue":s[0]||(s[0]=e=>w.value=e),"tab-position":"left",onTabChange:Y},{default:l(()=>[(d(!0),I(x,null,O(A.value,(e,a)=>(d(),y(b,{key:a,label:e.name,name:a},null,8,["label","name"]))),128)),r("div",ie,[r("p",ue,[s[3]||(s[3]=n("\u5E94\u7528\u72B6\u6001\uFF1A")),r("span",re,i(p.value.status),1)]),s[18]||(s[18]=r("p",{class:"font-semibold text-14"},"\u8D44\u6E90\u6982\u89C8",-1)),r("div",de,[t(S,{class:"mb-16"},{default:l(()=>[t(_,{span:12},{default:l(()=>[s[5]||(s[5]=r("p",{class:"mb-8"},"\u4E91\u8D44\u6E90\u4F7F\u7528\u60C5\u51B5",-1)),t(f,{column:1,border:""},{default:l(()=>[t(o,{label:"\u4E91\u8D44\u6E90\u5B9E\u4F8B\u4F7F\u7528\u6570"},{default:l(()=>{var e,a;return[n(i((a=(e=p.value)==null?void 0:e.finalIrsApps)==null?void 0:a.cloudResourceUsage.instancesNum),1)]}),_:1}),t(o,{label:"\u4E91\u8D44\u6E90\u4EA7\u54C1"},{default:l(()=>s[4]||(s[4]=[n(" \u6682\u65E0 ")])),_:1}),t(o,{label:"\u4E91\u8D44\u6E90\u5229\u7528\u7387"},{default:l(()=>{var e,a;return[n(i((a=(e=p.value)==null?void 0:e.finalIrsApps)==null?void 0:a.cloudResourceUsage.utilizationRate),1)]}),_:1})]),_:1})]),_:1})]),_:1}),t(S,{gutter:24},{default:l(()=>[t(_,{span:12,class:"mb-16"},{default:l(()=>[s[6]||(s[6]=r("p",{class:"mb-8"},"\u6570\u636E\u4F7F\u7528\u60C5\u51B5",-1)),t(f,{column:1,border:""},{default:l(()=>[t(o,{label:"\u6570\u636E\u5171\u4EAB\u7533\u8BF7\u91CF"},{default:l(()=>{var e,a;return[n(i((a=(e=p.value)==null?void 0:e.finalIrsApps)==null?void 0:a.dataUsage.sharedApplicationVolume),1)]}),_:1}),t(o,{label:"\u6570\u636E\u5171\u4EAB\u4F7F\u7528\u91CF"},{default:l(()=>{var e,a;return[n(i((a=(e=p.value)==null?void 0:e.finalIrsApps)==null?void 0:a.dataUsage.sharedUsage),1)]}),_:1})]),_:1})]),_:1}),t(_,{span:12,class:"mb-16"},{default:l(()=>[s[7]||(s[7]=r("p",{class:"mb-31"},null,-1)),t(f,{column:1,border:""},{default:l(()=>[t(o,{label:"\u534F\u540C\u63A5\u53E3\u8C03\u7528\u91CF"},{default:l(()=>{var e,a;return[n(i((a=(e=p.value)==null?void 0:e.finalIrsApps)==null?void 0:a.dataUsage.collaborativeInterfaceCallVolume),1)]}),_:1}),t(o,{label:"\u6570\u636E\u5171\u4EAB\u8C03\u7528\u91CF"},{default:l(()=>{var e,a;return[n(i((a=(e=p.value)==null?void 0:e.finalIrsApps)==null?void 0:a.dataUsage.sharedInterfaceCallVolume),1)]}),_:1})]),_:1})]),_:1}),t(_,{span:12,class:"mb-16"},{default:l(()=>[s[8]||(s[8]=r("p",{class:"mb-8"},"\u7EC4\u4EF6\u4F7F\u7528\u60C5\u51B5",-1)),t(f,{column:1,border:""},{default:l(()=>[t(o,{label:"\u7EC4\u4EF6\u7533\u8BF7\u91CF"},{default:l(()=>{var e,a;return[n(i((a=(e=p.value)==null?void 0:e.finalIrsApps)==null?void 0:a.componentUsage.applicationVolume),1)]}),_:1}),t(o,{label:"\u7EC4\u4EF6\u8C03\u7528\u91CF"},{default:l(()=>{var e,a;return[n(i((a=(e=p.value)==null?void 0:e.finalIrsApps)==null?void 0:a.componentUsage.callVolume),1)]}),_:1}),t(o,{label:"\u7EC4\u4EF6\u4F7F\u7528\u91CF"},{default:l(()=>{var e,a;return[n(i((a=(e=p.value)==null?void 0:e.finalIrsApps)==null?void 0:a.componentUsage.useVolume),1)]}),_:1})]),_:1})]),_:1}),t(_,{span:12,class:"mb-16"},{default:l(()=>[s[11]||(s[11]=r("p",{class:"mb-31"},null,-1)),t(f,{column:1,border:""},{default:l(()=>[t(o,{label:"\u7EDF\u4E00\u7EC4\u4EF6\u8C03\u7528\u91CF"},{default:l(()=>{var e,a;return[n(i((a=(e=p.value)==null?void 0:e.finalIrsApps)==null?void 0:a.componentUsage.unifyCallolVolume),1)]}),_:1}),t(o,{label:"\u4F7F\u7528\u7EC4\u4EF6"},{default:l(()=>s[9]||(s[9]=[n(" \u6682\u65E0 ")])),_:1}),t(o,{label:"\u4F7F\u7528\u5F3A\u5236\u7C7B\u7EC4\u4EF6"},{default:l(()=>s[10]||(s[10]=[n(" \u6682\u65E0 ")])),_:1})]),_:1})]),_:1}),t(_,{span:12,class:"mb-16"},{default:l(()=>[s[13]||(s[13]=r("p",{class:"mb-8"},"\u4EA7\u751F\u6570\u636E",-1)),t(f,{column:1,border:""},{default:l(()=>[t(o,{label:"\u4EA7\u751F\u6570\u636E\u91CF"},{default:l(()=>{var e,a;return[n(i((a=(e=p.value)==null?void 0:e.finalIrsApps)==null?void 0:a.generateData.volume),1)]}),_:1}),t(o,{label:"\u4EA7\u751F\u6570\u636E\u5171\u4EAB\u4F7F\u7528\u91CF"},{default:l(()=>{var e,a;return[n(i((a=(e=p.value)==null?void 0:e.finalIrsApps)==null?void 0:a.generateData.sharedUseVolume),1)]}),_:1}),t(o,{label:"\u6570\u636E\u63A5\u53E3\u88AB\u8C03\u7528\u91CF"},{default:l(()=>{var e,a;return[n(i((a=(e=p.value)==null?void 0:e.finalIrsApps)==null?void 0:a.generateData.dataInterfaceCallsVolume),1)]}),_:1}),t(o,{label:"\u4F7F\u7528\u6279\u91CF\u6570\u636E"},{default:l(()=>s[12]||(s[12]=[n(" \u6682\u65E0 ")])),_:1})]),_:1})]),_:1}),t(_,{span:12,class:"mb-16"},{default:l(()=>[s[15]||(s[15]=r("p",{class:"mb-31"},null,-1)),t(f,{column:1,border:""},{default:l(()=>[t(o,{label:"\u4EA7\u751F\u6570\u636E\u5171\u4EAB\u7533\u8BF7\u91CF"},{default:l(()=>{var e,a;return[n(i((a=(e=p.value)==null?void 0:e.finalIrsApps)==null?void 0:a.generateData.sharedApplicationVolume),1)]}),_:1}),t(o,{label:"\u4EA7\u751F\u6570\u636E\u5BA1\u6279\u901A\u8FC7\u7387"},{default:l(()=>{var e,a;return[n(i((a=(e=p.value)==null?void 0:e.finalIrsApps)==null?void 0:a.generateData.approvalPassRate),1)]}),_:1}),t(o,{label:"\u534F\u540C\u63A5\u53E3\u88AB\u8C03\u7528\u91CF"},{default:l(()=>{var e,a;return[n(i((a=(e=p.value)==null?void 0:e.finalIrsApps)==null?void 0:a.generateData.collaborativeInterfaceCallVolume),1)]}),_:1}),t(o,{label:"\u4F7F\u7528\u5171\u4EAB\u63A5\u53E3"},{default:l(()=>s[14]||(s[14]=[n(" \u6682\u65E0 ")])),_:1})]),_:1})]),_:1}),t(_,{span:12},{default:l(()=>[s[16]||(s[16]=r("p",{class:"mb-8"},"\u8BD5\u8FD0\u884C\u62A5\u544A",-1)),t(f,{column:1,border:""},{default:l(()=>[t(o,{label:"\u8BD5\u8FD0\u884C\u62A5\u544A\u901A\u8FC7\u7387"},{default:l(()=>{var e,a;return[n(i((a=(e=p.value)==null?void 0:e.finalIrsApps)==null?void 0:a.operationReport.passRate),1)]}),_:1})]),_:1})]),_:1})]),_:1})]),z("",!0)])]),_:1},8,["modelValue"])])]),_:1})):z("",!0),t(U,{name:"7",class:"mb-16"},{title:l(()=>s[19]||(s[19]=[r("div",{class:"collapse-title"},"\u5B9E\u65BD\u4FE1\u606F",-1)])),default:l(()=>{var e,a;return[(a=(e=v.value)==null?void 0:e.beseExpectedResults)!=null&&a.length?(d(),y(f,{key:0,column:2,border:"",class:"mb-8"},{default:l(()=>[t(o,{label:"\u662F\u5426\u5B8C\u6210\u65E5\u5FD7\u6570\u636E\u5F52\u96C6",span:2},{default:l(()=>[n(i(v.value.isCompletedLogCollection?"\u662F":"\u5426"),1)]),_:1}),t(o,{label:"\u9879\u76EE\u5185\u5BB9\u4E0E\u9884\u671F\u6210\u6548",span:2},{default:l(()=>[t(M,{pagination:!1,style:{width:"100%"},column:J,data:v.value.beseExpectedResults,"empty-temp":!1},null,8,["data"])]),_:1})]),_:1})):(d(),y(F,{key:1}))]}),_:1}),(d(!0),I(x,null,O(v.value.finalAcceptanceMaterials,(e,a)=>(d(),y(U,{key:e.title,name:a+2+"",class:"mb-16"},{title:l(()=>[r("div",fe,i(e.title),1)]),default:l(()=>[t(M,{ref_for:!0,ref:"tableListRef",column:$,data:e.data,pagination:!1,"empty-temp":!1},{isHave:l(({scope:C})=>[r("span",null,i(C.row.isHave?"\u662F":"\u5426"),1)]),files:l(({scope:C})=>[C.row.isHave?(d(!0),I(x,{key:0},O(C.row.files,(V,le)=>{var j,H;return d(),I("p",{key:le,class:"mb-4"},[t(te,{"file-name":V.name,"file-id":(H=(j=V==null?void 0:V.response)==null?void 0:j.data)==null?void 0:H.id},null,8,["file-name","file-id"])])}),128)):(d(),I(x,{key:1},[n(i(C.row.reason),1)],64))]),_:2},1032,["data"])]),_:2},1032,["name"]))),128))]}),_:1})):(d(),y(F,{key:1}))}}});export{ge as default};