← Back
Editing: index45.js
import{L as e,K as l,al as a}from"./utils-lib.js?v=1765440387";import{_ as s}from"./index107.js?v=1765440387";import{c as t,r as i,k as r,p as n,q as o,v as m,x as u,y as p,e as d,P as c,M as _,am as f}from"./base-lib.js?v=1765440387";import{g}from"./useStore4.js?v=1765440387";import{o as w}from"./firewall.js?v=1765440387";import{d as v}from"./useMethod5.js?v=1765440387";import"./__commonjsHelpers__.js?v=1765440387";import"./validator.js?v=1765440387";import"./index94.js?v=1765440387";import"./column.js?v=1765440387";const b={key:0,class:"flex flex-col"},j={class:"tab-header-operate"},y=t({__name:"index",setup(t){const{refs:{reinforceStatus:y}}=g(),x=i({}),I=i("reinforceConfig"),P=r({title:"系统加固-功能介绍",ps:"提供灵活的系统加固功能,防止系统被植入木马,支持服务器日志审计功能",source:102,desc:["阻止系统被植入木马","加固系统安全配置"],tabImgs:[{title:"防护配置",imgSrc:"https://www.bt.cn/Public/new/plugin/introduce/firewall/system_1.png"},{title:"封锁IP",imgSrc:"https://www.bt.cn/Public/new/plugin/introduce/firewall/system_2.png"},{title:"操作日志",imgSrc:"https://www.bt.cn/Public/new/plugin/introduce/firewall/system_3.png"}],isInstall:!1,pluginInfo:{}}),V=[{label:"防护配置",name:"reinforceConfig",lazy:!0,render:()=>e(()=>import("./index285.js?v=1765440387"),__vite__mapDeps([]),import.meta.url)},{label:"封锁IP",lazy:!0,name:"reinforceBlockIp",render:()=>e(()=>import("./index286.js?v=1765440387"),__vite__mapDeps([]),import.meta.url)},{label:"操作日志",lazy:!0,name:"reinforceLog",render:()=>e(()=>import("./index287.js?v=1765440387"),__vite__mapDeps([]),import.meta.url)}],h=async e=>{y.value=!e,await l({loading:"正在"+(e?"开启":"关闭")+"系统加固,请稍后...",request:w(),message:!0}),y.value=e};return n(async()=>{x.value=await v("syssafe"),P.isInstall=x.value.endtime>=0,P.pluginInfo=x.value}),(e,l)=>{var t,i;const r=f,n=a,g=s;return o(),m("div",null,[(null==(t=u(x))?void 0:t.setup)&&(null==(i=u(x))?void 0:i.endtime)>=0?(o(),m("div",b,[p("div",j,[l[2]||(l[2]=p("div",{class:"mr-4"},"系统加固开关",-1)),p("div",null,[d(r,{modelValue:u(y),"onUpdate:modelValue":l[0]||(l[0]=e=>c(y)?y.value=e:null),width:36,onChange:h},null,8,["modelValue"])])]),d(n,{type:"card",modelValue:u(I),"onUpdate:modelValue":l[1]||(l[1]=e=>c(I)?I.value=e:null),options:V},null,8,["modelValue"])])):(o(),_(g,{key:1,data:u(P),class:"px-[20%] py-[2rem]"},null,8,["data"]))])}}});export{y as default}; function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { __vite__mapDeps.viteFileDeps = [] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) }
Save File
Cancel