mirror of
https://gitee.com/niucloud-team/niucloud-admin.git
synced 2025-12-30 10:10:16 +00:00
2 lines
4.4 KiB
JavaScript
2 lines
4.4 KiB
JavaScript
/* empty css *//* empty css *//* empty css */import"./index-7eafba5f.js";/* empty css *//* empty css *//* empty css */import"./el-tooltip-4ed993c7.js";/* empty css */import{t as o}from"./index-0ca94763.js";import{u as y}from"./tools-0bac40a4.js";import{u as w}from"./vue-router-48fdc1e3.js";import{a as S,E as k}from"./index-fe3867fe.js";import{E as C}from"./index-cf9a2dd7.js";import{E}from"./index-9ecd3f93.js";import{v as B}from"./directive-64fb15dc.js";import{d as z,r as N,O as D,$ as b,M as V,u as t,e as n,f as m,v as I,x as l,g as a,B as p,y as e,H as T}from"./plugin-vue_export-helper-85a4d40b.js";import"./common-c3be41fd.js";import"./index-bcd7a424.js";import"./index-e513479b.js";import"./el-main-86eb724f.js";import"./_plugin-vue_export-helper-c27b6911.js";import"./index-b9e5f5cb.js";import"./el-overlay-08181e74.js";import"./event-f85d77b0.js";import"./index-313cd2ce.js";import"./focus-trap-64c402c5.js";import"./index-1ad115d7.js";import"./index-de1d3b53.js";/* empty css */import"./el-form-item-1b16c9fc.js";import"./_baseClone-3dbf39d6.js";/* empty css */import"./index-d469ae66.js";import"./index-e27c3bb0.js";import"./index-c5914bde.js";import"./index-4d8f36c6.js";import"./index-ebc73046.js";import"./index-95b00894.js";import"./isEqual-0b9509fd.js";import"./flatten-749195f8.js";import"./_isIterateeCall-47526406.js";import"./debounce-6c3123a6.js";import"./index-bd04154b.js";const j={class:"main-container attachment-container min-h-[80vh]"},A={class:"flex justify-between items-center"},H={class:"text-[20px]"},L={class:"bg-[#fff] pb-[20px] mb-3"},M={class:"pt-[20px] pb-[10px] text-sm"},O={class:"text-[14px]"},R={class:"bg-[#fff] pb-[20px] mb-3"},$={class:"py-[20px] text-sm"},q={class:"text-[14px]"},F={class:"bg-[#fff] pb-[20px] mb-3"},G={class:"py-[20px] text-sm"},J={class:"text-[14px]"},K={key:0},P={key:1},Q={class:"bg-[#fff] pb-[20px] mb-3"},U={class:"py-[20px] text-sm"},W={class:"text-[14px]"},X={key:0},Y={key:1},Pe=z({__name:"detection",setup(Z){const h=w().meta.title,i=N([]);let r=D({server_load:!0});return(()=>{r.server_load=!0,y().then(f=>{i.value=f.data,r.server_load=!1}).catch(()=>{r.server_load=!1})})(),(f,oe)=>{const s=S,d=k,u=b("Select"),c=C,v=b("CloseBold"),g=E,x=B;return V((n(),m("div",j,[i.value&&!t(r).server_load?(n(),I(g,{key:0,class:"box-card !border-none",shadow:"never"},{default:l(()=>[a("div",A,[a("span",H,p(t(h)),1)]),a("div",L,[a("p",M,p(t(o)("serverInformation")),1),a("div",O,[e(d,{data:i.value.server,size:"large"},{default:l(()=>[e(s,{prop:"name",label:t(o)("environment"),align:"left","min-width":"200"},null,8,["label"]),e(s,{prop:"server",label:t(o)("version"),align:"left","min-width":"140"},null,8,["label"])]),_:1},8,["data"])])]),a("div",R,[a("p",$,p(t(o)("systemDemand")),1),a("div",q,[e(d,{data:i.value.server_version,size:"large"},{default:l(()=>[e(s,{prop:"name",label:t(o)("environment"),align:"left","min-width":"200"},null,8,["label"]),e(s,{prop:"demand",label:t(o)("demand"),align:"left","min-width":"140"},null,8,["label"]),e(s,{prop:"server",label:t(o)("version"),align:"left","min-width":"140"},null,8,["label"])]),_:1},8,["data"])])]),a("div",F,[a("p",G,p(t(o)("authorityStatus")),1),a("div",J,[e(d,{data:i.value.system_variables,size:"large"},{default:l(()=>[e(s,{prop:"name",label:t(o)("name"),align:"left","min-width":"200"},null,8,["label"]),e(s,{prop:"need",label:t(o)("demand"),align:"left","min-width":"140"},null,8,["label"]),e(s,{label:t(o)("status"),align:"left","min-width":"140"},{default:l(({row:_})=>[_.status?(n(),m("span",K,[e(c,{color:"green"},{default:l(()=>[e(u)]),_:1})])):(n(),m("span",P,[e(c,{color:"red"},{default:l(()=>[e(v)]),_:1})]))]),_:1},8,["label"])]),_:1},8,["data"])])]),a("div",Q,[a("p",U,p(t(o)("process")),1),a("div",W,[e(d,{data:i.value.process,size:"large"},{default:l(()=>[e(s,{prop:"name",label:t(o)("name"),align:"left","min-width":"200"},null,8,["label"]),e(s,{prop:"need",label:t(o)("demand"),align:"left","min-width":"140"},null,8,["label"]),e(s,{label:t(o)("status"),align:"left","min-width":"140"},{default:l(({row:_})=>[_.status?(n(),m("span",X,[e(c,{color:"green"},{default:l(()=>[e(u)]),_:1})])):(n(),m("span",Y,[e(c,{color:"red"},{default:l(()=>[e(v)]),_:1})]))]),_:1},8,["label"])]),_:1},8,["data"])])])]),_:1})):T("",!0)])),[[x,t(r).server_load]])}}});export{Pe as default};
|