import{c as s,k as a,l as t,p as e,q as l,e as i,z as c,I as n,aZ as o,v as r,F as m,J as d,av as b}from"./base-lib.js?v=1761009159";import{k as u,e as p}from"./utils-lib.js?v=1761009159";import{h as f,j as v,k as x,l as h}from"./useMethod10.js?v=1761009159";import"./__commonjsHelpers__.js?v=1761009159";import"./useMethod2.js?v=1761009159";import"./config.js?v=1761009159";import"./useMethod11.js?v=1761009159";import"./crontab.js?v=1761009159";import"./validator.js?v=1761009159";import"./index106.js?v=1761009159";import"./column.js?v=1761009159";const k={class:"p-2rem"},y={key:0,class:"table-box"},j={key:1,class:"table-box"},g={key:2,class:"table-box"},w={class:"w-full max-h-[96px] overflow-y-auto border-css"},_={key:0},L={key:3,class:"table-box"},q={class:"table-title"},M={key:4,class:"table-box"},I={class:"w-full border-css"},J={class:"check-name text-[#20a53a]"},z={key:5,class:"table-box"},F={class:"w-full border-css"},H={class:"check-name text-[#20a53a]"},N=p(s({__name:"detail-all-table",setup:s=>(s,p)=>{const N=u,O=b;return a(),t("div",k,[e(f).site.length?(a(),t("div",y,[p[0]||(p[0]=l("div",{class:"table-title"},"网站",-1)),i(N,{column:e(v),data:e(f).site,"max-height":404},null,8,["column","data"])])):c("",!0),e(f).mysql.length?(a(),t("div",j,[p[1]||(p[1]=l("div",{class:"table-title"},"数据库",-1)),i(N,{column:e(x),data:e(f).mysql,"max-height":404},null,8,["column","data"])])):c("",!0),e(f).ftp.length?(a(),t("div",g,[p[2]||(p[2]=l("div",{class:"table-title"},"ftp",-1)),l("div",w,[(a(!0),t(n,null,o(e(f).ftp,((s,i)=>(a(),t(n,{key:i},[l("span",{class:m("w-[33.33%] inline-flex items-center check-name ".concat(2===s.status?"text-[#20a53a]":"text-[#ef0808]"))},r(s.name)+" (备份"+r(2===s.status?"成功":"失败")+") ",3),i+1!==0&&(i+1)%3==0&&i+1!==e(f).ftp.length?(a(),t("hr",_)):c("",!0)],64)))),128))])])):c("",!0),"{}"!==JSON.stringify(e(f).crontab)?(a(),t("div",L,[l("div",q,r(e(f).crontab),1),l("div",{class:m("border-css check-name flex justify-start text-".concat(2===e(f).crontab.status?"[#20a53a]":"[#ef0808]"))},"计划任务数据（备份"+r(2===e(f).crontab.status?"成功":"失败")+"）",3)])):c("",!0),e(f).termList.length?(a(),t("div",M,[p[3]||(p[3]=l("div",{class:"table-title"},"终端",-1)),l("div",I,[(a(!0),t(n,null,o(e(f).termList,((s,e)=>(a(),t("span",{key:e,class:"w-[33.33%] inline-flex"},[l("span",J,r(s.name)+" (备份"+r(s.status?"成功":"失败")+")",1)])))),128))])])):c("",!0),e(f).firewallList.length?(a(),t("div",z,[p[4]||(p[4]=l("div",{class:"table-title"},"系统防火墙",-1)),l("div",F,[(a(!0),t(n,null,o(e(f).firewallList,((s,e)=>(a(),t("span",{class:"w-[33.33%] inline-flex",key:e},[l("span",H,r(s.name)+" (备份"+r(s.status?"成功":"失败")+")",1)])))),128))])])):c("",!0),e(h)?(a(),d(O,{key:6})):c("",!0)])}}),[["__scopeId","data-v-cf87d23d"]]);export{N as default};
