import{_ as h,a as v,b as y}from"./close-d81f4a2b.js";import{d as k,r as G,j as i,o as l,c,b as e,t as p,e as r,w as m,F as B,v as C,h as w,P as d}from"./index-90c78f99.js";const N={class:"application-indicator-info"},V={class:"tags px-[209px] mb-[32px]"},S={class:"tag-item all relative flex items-center"},A=e("span",{class:"mr-[16px] text-[14px]"},"全部指标",-1),j={class:"text-[28px] font-bold"},D=e("img",{class:"absolute right-[0px] top-[0px] w-[48px] h-[48px]",src:h,alt:""},null,-1),F={class:"tag-item success relative flex items-center"},I=e("span",{class:"mr-[16px] text-[14px]"},"正常指标",-1),L={class:"text-[28px] font-bold"},O=e("img",{class:"absolute right-[0px] top-[0px] w-[48px] h-[48px]",src:v,alt:""},null,-1),$={class:"tag-item close relative flex items-center"},E=e("span",{class:"mr-[16px] text-[14px]"},"预警指标",-1),P={class:"text-[28px] font-bold"},R=e("img",{class:"absolute right-[0px] top-[0px] w-[48px] h-[48px]",src:y,alt:""},null,-1),U={key:1},J=k({__name:"application-indicator-info",props:{data:{type:Object}},setup(t){const n=G(!1),_=[{label:"应用名称",prop:"irsAppName",key:"irsAppName",render:s=>d("span",s.irsAppName||"-")},{label:"cpu（核数）",prop:"cpuCores",key:"cpuCores",render:s=>d("span",s.cpuCores||"-")},{label:" 内存（GB）",prop:"memoryGb",key:"memoryGb",render:s=>d("span",s.memoryGb||"-")},{label:"储存空间（GB）",prop:"storageSpaceGb",key:"storageSpaceGb",render:s=>d("span",s.storageSpaceGb||"-")}];return(s,a)=>{const x=i("el-descriptions-item"),u=i("el-descriptions"),b=i("table-list"),f=i("el-dialog");return l(),c("div",N,[e("div",V,[e("div",S,[A,e("span",j,p(t.data&&t.data.total),1),D]),e("div",F,[I,e("span",L,p(t.data&&t.data.common),1),O]),e("div",$,[E,e("span",P,p(t.data&&t.data.warning),1),R])]),r(u,{column:2,class:"custom-desc-list"},{default:m(()=>[(l(!0),c(B,null,C(t.data&&t.data.indexes,(o,g)=>(l(),w(x,{key:g,label:o.indexName+"："},{default:m(()=>[["cpu（核数）","内存（GB）","储存空间（GB）"].includes(o.indexName)?(l(),c("a",{key:0,class:"cursor-pointer",onClick:a[0]||(a[0]=q=>n.value=!0)},"点击查看")):(l(),c("span",U,p(o.indexValue||"-"),1))]),_:2},1032,["label"]))),128))]),_:1}),r(f,{modelValue:n.value,"onUpdate:modelValue":a[1]||(a[1]=o=>n.value=o),width:"580px",onClose:a[2]||(a[2]=o=>n.value=!1)},{default:m(()=>[r(b,{ref:"tableListRef",column:_,data:t.data&&t.data.devOpsDtos||[],pagination:!1},null,8,["data"])]),_:1},8,["modelValue"])])}}});export{J as _};
