From a46a1f6db894715e6dc82c7f679175b35ffe1930 Mon Sep 17 00:00:00 2001 From: jingrow Date: Sat, 9 Aug 2025 19:29:30 +0800 Subject: [PATCH] =?UTF-8?q?dashboard=E6=9C=8D=E5=8A=A1=E5=99=A8=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E9=A1=B5=E5=A2=9E=E5=8A=A0=E9=98=B2=E7=81=AB=E5=A2=99?= =?UTF-8?q?=E6=A0=87=E7=AD=BE=E9=A1=B5=E5=B9=B6=E5=AE=9E=E7=8E=B0=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/JsiteServerFirewallRules.vue | 606 ++++++++++++++++++ dashboard/src2/objects/jsite_server.js | 9 + 2 files changed, 615 insertions(+) create mode 100644 dashboard/src2/components/JsiteServerFirewallRules.vue diff --git a/dashboard/src2/components/JsiteServerFirewallRules.vue b/dashboard/src2/components/JsiteServerFirewallRules.vue new file mode 100644 index 0000000..645a37c --- /dev/null +++ b/dashboard/src2/components/JsiteServerFirewallRules.vue @@ -0,0 +1,606 @@ + + + \ No newline at end of file diff --git a/dashboard/src2/objects/jsite_server.js b/dashboard/src2/objects/jsite_server.js index b82bccb..71760df 100644 --- a/dashboard/src2/objects/jsite_server.js +++ b/dashboard/src2/objects/jsite_server.js @@ -272,6 +272,15 @@ export default { props: jsiteServer => { return { server: jsiteServer.pg?.name }; } + }, + { + label: '防火墙', + route: 'firewall', + type: 'Component', + component: defineAsyncComponent(() => import('../components/JsiteServerFirewallRules.vue')), + props: jsiteServer => { + return { server: jsiteServer.pg?.name }; + } } ], fields: [