mirror of
https://gitee.com/niucloud-team/niucloud-admin.git
synced 2026-01-04 12:18:14 +00:00
2 lines
4.4 KiB
JavaScript
2 lines
4.4 KiB
JavaScript
import{g as S,r as k,a4 as C,aa as x,m as n,n as p,F as e,E as r,q as s,L as _,u as t,a1 as u,D as v,T as E,G as B}from"./base-45eb5090.js";/* empty css *//* empty css */import"./index-341914e3.js";/* empty css *//* empty css *//* empty css */import"./el-tooltip-58212670.js";import{t as a}from"./index-047041cb.js";import{h as z}from"./tools-85b80347.js";import{u as D}from"./vue-router-fcbaaf02.js";import{a as N,E as T}from"./index-cbbcd330.js";import{E as V}from"./index-fc3020f4.js";import{v as I}from"./directive-9f485fe5.js";import"./el-overlay-616d6124.js";import"./event-4977bef7.js";import"./index-cd1661d3.js";import"./focus-trap-318ae2e0.js";/* empty css *//* empty css */import"./el-radio-2719e44c.js";import"./storage-4159d1ed.js";import"./index-9670e877.js";import"./index-25c37860.js";import"./index-4ce9333e.js";import"./index-3be486d3.js";import"./_plugin-vue_export-helper-c27b6911.js";import"./el-avatar-bc58ad46.js";import"./index-aef37b98.js";import"./common-af78c857.js";import"./common-2cf17469.js";import"./_Uint8Array-e584e472.js";import"./_initCloneObject-983ff8c8.js";import"./index-c0090d79.js";import"./isEqual-f877b6c1.js";import"./flatten-0fc8b7eb.js";import"./_isIterateeCall-104f1f93.js";const L={key:0,class:"main-container attachment-container"},j={class:"flex justify-between items-center"},q={class:"text-[20px]"},A={class:"bg-[#fff] pb-[20px] mb-3"},F={class:"pt-[20px] pb-[10px] text-sm"},G={class:"text-[14px]"},R={class:"bg-[#fff] pb-[20px] mb-3"},H={class:"py-[20px] text-sm"},J={class:"text-[14px]"},K={class:"bg-[#fff] pb-[20px] mb-3"},M={class:"py-[20px] text-sm"},O={class:"text-[14px]"},P={key:0},Q={key:1},U={class:"bg-[#fff] pb-[20px] mb-3"},W={class:"py-[20px] text-sm"},X={class:"text-[14px]"},Y={key:0},Z={key:1},Re=S({__name:"detection",setup($){const y=D().meta.title,i=k([]);let o=C({server_load:!0,server_version_load:!0,system_variables_load:!0,process_load:!0});return(()=>{o.server_load=!0,o.server_version_load=!0,o.system_variables_load=!0,o.process_load=!0,z().then(b=>{i.value=b.data,o.server_load=!1,o.server_version_load=!1,o.system_variables_load=!1,o.process_load=!1})})(),(b,ae)=>{const l=N,d=T,h=x("Select"),m=B,g=x("CloseBold"),w=V,c=I;return i.value?(n(),p("div",L,[e(w,{class:"box-card !border-none",shadow:"never"},{default:r(()=>[s("div",j,[s("span",q,_(t(y)),1)]),s("div",A,[s("p",F,_(t(a)("serverInformation")),1),s("div",G,[u((n(),v(d,{data:i.value.server,size:"large"},{default:r(()=>[e(l,{prop:"name",label:t(a)("environment"),align:"left","min-width":"200"},null,8,["label"]),e(l,{prop:"server",label:t(a)("version"),align:"left","min-width":"140"},null,8,["label"])]),_:1},8,["data"])),[[c,t(o).server_load]])])]),s("div",R,[s("p",H,_(t(a)("systemDemand")),1),s("div",J,[u((n(),v(d,{data:i.value.server_version,size:"large"},{default:r(()=>[e(l,{prop:"name",label:t(a)("environment"),align:"left","min-width":"200"},null,8,["label"]),e(l,{prop:"demand",label:t(a)("demand"),align:"left","min-width":"140"},null,8,["label"]),e(l,{prop:"server",label:t(a)("version"),align:"left","min-width":"140"},null,8,["label"])]),_:1},8,["data"])),[[c,t(o).server_version_load]])])]),s("div",K,[s("p",M,_(t(a)("authorityStatus")),1),s("div",O,[u((n(),v(d,{data:i.value.system_variables,size:"large"},{default:r(()=>[e(l,{prop:"name",label:t(a)("name"),align:"left","min-width":"200"},null,8,["label"]),e(l,{prop:"need",label:t(a)("demand"),align:"left","min-width":"140"},null,8,["label"]),e(l,{label:t(a)("status"),align:"left","min-width":"140"},{default:r(({row:f})=>[f.status?(n(),p("span",P,[e(m,{color:"green"},{default:r(()=>[e(h)]),_:1})])):(n(),p("span",Q,[e(m,{color:"red"},{default:r(()=>[e(g)]),_:1})]))]),_:1},8,["label"])]),_:1},8,["data"])),[[c,t(o).system_variables_load]])])]),s("div",U,[s("p",W,_(t(a)("process")),1),s("div",X,[u((n(),v(d,{data:i.value.process,size:"large"},{default:r(()=>[e(l,{prop:"name",label:t(a)("name"),align:"left","min-width":"200"},null,8,["label"]),e(l,{prop:"need",label:t(a)("demand"),align:"left","min-width":"140"},null,8,["label"]),e(l,{label:t(a)("status"),align:"left","min-width":"140"},{default:r(({row:f})=>[f.status?(n(),p("span",Y,[e(m,{color:"green"},{default:r(()=>[e(h)]),_:1})])):(n(),p("span",Z,[e(m,{color:"red"},{default:r(()=>[e(g)]),_:1})]))]),_:1},8,["label"])]),_:1},8,["data"])),[[c,t(o).process_load]])])])]),_:1})])):E("",!0)}}});export{Re as default};
|