From 6437b6bf351ac66fe415bb453c9d44859a92d91a Mon Sep 17 00:00:00 2001 From: yangsy Date: Wed, 20 May 2026 12:45:54 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E6=9C=8D=E5=8A=A1?= =?UTF-8?q?=E5=99=A8=E7=BD=91=E5=8D=A1=E4=BF=A1=E6=81=AF=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 扩展NdmServerDiagInfo数据类型,新增网卡和IP信息字段,并在服务器诊断面板展示相关网络状态详情 --- .../domain/biz/diag/ndm-server-diag-info.ts | 31 +++++++++++++++++++ .../ndm-server/server-current-diag.vue | 27 +++++++++++++++- 2 files changed, 57 insertions(+), 1 deletion(-) diff --git a/src/apis/domain/biz/diag/ndm-server-diag-info.ts b/src/apis/domain/biz/diag/ndm-server-diag-info.ts index 38d7a26..97c27a5 100644 --- a/src/apis/domain/biz/diag/ndm-server-diag-info.ts +++ b/src/apis/domain/biz/diag/ndm-server-diag-info.ts @@ -6,4 +6,35 @@ export interface NdmServerDiagInfo { 磁盘使用率?: string; 系统运行时间?: string; }; + ethInfo?: { + adminStatus?: string; // '1' + desc?: string; // 'Intel Corporation I350 Gigabit Network Connection' + ifType?: string; // '6' + inDiscards?: string; // '6707634' + inErrors?: string; // '0' + inNUcastPkts?: string; // '8991944' + inOctets?: string; // '4220524983' + inUcastPkts?: string; // '2342740610' + inUnknownProtos?: string; // '0' + index?: string; // '2' + lastChange?: string; // '0:03:15.26' + mTU?: string; // '1500' + macAddress?: string; // 'e8:78:ee:f6:8d:98' + operStatus?: string; // '1' + outDiscards?: string; // '0' + outErrors?: string; // '0' + outNUcastPkts?: string; // '0' + outOctets?: string; // '1415770066' + outQLen?: string; // '0' + outUcastPkts?: string; // '3335494729' + specific?: string; // '0.0' + speed?: string; // '1000000000' + }; + ipInfo?: { + broadcastAddress?: string; // '1' + iPAddress?: string; // '10.14.1.8' + index?: string; // '2' + mASK?: string; // '255.255.255.0' + reasmMaxSize?: string; // '0' + }; } diff --git a/src/components/device/device-card/ndm-server/server-current-diag.vue b/src/components/device/device-card/ndm-server/server-current-diag.vue index e2db05a..62e6950 100644 --- a/src/components/device/device-card/ndm-server/server-current-diag.vue +++ b/src/components/device/device-card/ndm-server/server-current-diag.vue @@ -1,6 +1,6 @@