mirror of
https://gitee.com/niucloud-team/niucloud-admin.git
synced 2026-01-04 12:18:14 +00:00
2 lines
4.5 KiB
JavaScript
2 lines
4.5 KiB
JavaScript
import{E as S}from"./base-962c0c23.js";/* empty css *//* empty css */import"./index-6ef4c1c3.js";/* empty css *//* empty css *//* empty css */import"./el-tooltip-58212670.js";/* empty css */import{t as o}from"./index-e4761856.js";import{h as C}from"./tools-e5e6f927.js";import{u as k}from"./vue-router-79053937.js";import{a as E,E as B}from"./index-92e1b5d5.js";import{E as z}from"./index-69523418.js";import{v as N}from"./directive-c0c3e9a3.js";import{d as D,r as V,M as I,Q as x,b as i,e as p,q as e,p as r,f as a,x as d,u as t,L as u,m as f,C as L}from"./runtime-core.esm-bundler-dc7a07d7.js";import"./el-overlay-60700377.js";import"./event-ff03ec12.js";import"./index-5d86eb33.js";import"./focus-trap-b8b5a003.js";/* empty css *//* empty css */import"./el-radio-bfd4b1ad.js";import"./storage-abe718b1.js";import"./index-8bcaafa6.js";import"./index-bba9e58c.js";import"./index-93f2c618.js";import"./index-7a123a20.js";import"./_plugin-vue_export-helper-c27b6911.js";import"./el-avatar-3bb47ce2.js";import"./index-d57cc47d.js";import"./common-6291c908.js";import"./common-2cf17469.js";import"./_Uint8Array-6ff3cafa.js";import"./_initCloneObject-28e6bdaa.js";import"./index-df51d91a.js";import"./isEqual-c7d5e6d9.js";import"./flatten-d5d1dc97.js";import"./_isIterateeCall-c579b126.js";const T={key:0,class:"main-container attachment-container"},j={class:"flex justify-between items-center"},q={class:"text-[24px]"},A={class:"bg-[#fff] pb-[20px] mb-3"},M={class:"pt-[20px] pb-[10px]"},Q={class:"text-[14px]"},R={class:"bg-[#fff] pb-[20px] mb-3"},F={class:"py-[20px]"},G={class:"text-[14px]"},H={class:"bg-[#fff] pb-[20px] mb-3"},J={class:"py-[20px]"},K={class:"text-[14px]"},O={key:0},P={key:1},U={class:"bg-[#fff] pb-[20px] mb-3"},W={class:"py-[20px]"},X={class:"text-[14px]"},Y={key:0},Z={key:1},Ge=D({__name:"detection",setup($){const y=k().meta.title,n=V([]);let s=I({server_load:!0,server_version_load:!0,system_variables_load:!0,process_load:!0});return(()=>{s.server_load=!0,s.server_version_load=!0,s.system_variables_load=!0,s.process_load=!0,C().then(b=>{n.value=b.data,s.server_load=!1,s.server_version_load=!1,s.system_variables_load=!1,s.process_load=!1})})(),(b,oe)=>{const l=E,_=B,h=x("Select"),m=S,g=x("CloseBold"),w=z,c=N;return n.value?(i(),p("div",T,[e(w,{class:"box-card !border-none",shadow:"never"},{default:r(()=>[a("div",j,[a("span",q,d(t(y)),1)]),a("div",A,[a("p",M,d(t(o)("serverInformation")),1),a("div",Q,[u((i(),f(_,{data:n.value.server,size:"large"},{default:r(()=>[e(l,{prop:"name",label:t(o)("environment"),align:"left","min-width":"200"},null,8,["label"]),e(l,{prop:"server",label:t(o)("version"),align:"left","min-width":"140"},null,8,["label"])]),_:1},8,["data"])),[[c,t(s).server_load]])])]),a("div",R,[a("p",F,d(t(o)("systemDemand")),1),a("div",G,[u((i(),f(_,{data:n.value.server_version,size:"large"},{default:r(()=>[e(l,{prop:"name",label:t(o)("environment"),align:"left","min-width":"200"},null,8,["label"]),e(l,{prop:"demand",label:t(o)("demand"),align:"left","min-width":"140"},null,8,["label"]),e(l,{prop:"server",label:t(o)("version"),align:"left","min-width":"140"},null,8,["label"])]),_:1},8,["data"])),[[c,t(s).server_version_load]])])]),a("div",H,[a("p",J,d(t(o)("authorityStatus")),1),a("div",K,[u((i(),f(_,{data:n.value.system_variables,size:"large"},{default:r(()=>[e(l,{prop:"name",label:t(o)("name"),align:"left","min-width":"200"},null,8,["label"]),e(l,{prop:"need",label:t(o)("demand"),align:"left","min-width":"140"},null,8,["label"]),e(l,{label:t(o)("status"),align:"left","min-width":"140"},{default:r(({row:v})=>[v.status?(i(),p("span",O,[e(m,{color:"green"},{default:r(()=>[e(h)]),_:1})])):(i(),p("span",P,[e(m,{color:"red"},{default:r(()=>[e(g)]),_:1})]))]),_:1},8,["label"])]),_:1},8,["data"])),[[c,t(s).system_variables_load]])])]),a("div",U,[a("p",W,d(t(o)("process")),1),a("div",X,[u((i(),f(_,{data:n.value.process,size:"large"},{default:r(()=>[e(l,{prop:"name",label:t(o)("name"),align:"left","min-width":"200"},null,8,["label"]),e(l,{prop:"need",label:t(o)("demand"),align:"left","min-width":"140"},null,8,["label"]),e(l,{label:t(o)("status"),align:"left","min-width":"140"},{default:r(({row:v})=>[v.status?(i(),p("span",Y,[e(m,{color:"green"},{default:r(()=>[e(h)]),_:1})])):(i(),p("span",Z,[e(m,{color:"red"},{default:r(()=>[e(g)]),_:1})]))]),_:1},8,["label"])]),_:1},8,["data"])),[[c,t(s).process_load]])])])]),_:1})])):L("",!0)}}});export{Ge as default};
|