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
10KB

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