From 55df1254099224a0208792f83a497ff2d95b0e28 Mon Sep 17 00:00:00 2001 From: jingrow Date: Tue, 29 Jul 2025 21:52:00 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BE=8E=E5=8C=96dashboard=E6=9C=8D=E5=8A=A1?= =?UTF-8?q?=E5=99=A8=E8=AF=A6=E6=83=85=E9=A1=B5=E6=8E=92=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src2/components/JsiteServerOverview.vue | 64 +++++++++---------- 1 file changed, 32 insertions(+), 32 deletions(-) diff --git a/dashboard/src2/components/JsiteServerOverview.vue b/dashboard/src2/components/JsiteServerOverview.vue index 81a5421..321f8cc 100644 --- a/dashboard/src2/components/JsiteServerOverview.vue +++ b/dashboard/src2/components/JsiteServerOverview.vue @@ -34,6 +34,33 @@ + + +
+
+

服务器配置

+
+
+
+
+ CPU: + {{ $jsiteServer.pg.cpu || '未知' }}核 +
+
+ 内存: + {{ $jsiteServer.pg.memory || '未知' }}GB +
+
+ 系统盘: + {{ $jsiteServer.pg.disk_size || '未知' }}GB +
+
+ 带宽: + {{ $jsiteServer.pg.bandwidth || '未知' }}Mbps +
+
+
+
@@ -109,34 +136,7 @@
- - -
-
-

服务器配置

-
-
-
-
- CPU核心: - {{ $jsiteServer.pg.cpu || '未知' }} -
-
- 内存: - {{ $jsiteServer.pg.memory || '未知' }}GB -
-
- 磁盘: - {{ $jsiteServer.pg.disk_size || '未知' }}GB -
-
- 带宽: - {{ $jsiteServer.pg.bandwidth || '未知' }}Mbps -
-
-
-
- +
@@ -505,6 +505,10 @@ export default { computed: { serverInformation() { return [ + { + label: '状态', + value: this.getStatusText(this.$jsiteServer.pg?.status), + }, { label: '服务器名称', value: this.$jsiteServer.pg?.title || this.$jsiteServer.pg?.name, @@ -513,10 +517,6 @@ export default { label: '实例ID', value: this.$jsiteServer.pg?.instance_id || '未分配', }, - { - label: '状态', - value: this.getStatusText(this.$jsiteServer.pg?.status), - }, { label: '区域', value: this.getRegionText(this.$jsiteServer.pg?.region),