diff --git a/ALOps_sys_fe/alops-ui/src/views/inMonitoring/devicesState/cardItem.vue b/ALOps_sys_fe/alops-ui/src/views/inMonitoring/devicesState/cardItem.vue index de4e043b..2f32d965 100644 --- a/ALOps_sys_fe/alops-ui/src/views/inMonitoring/devicesState/cardItem.vue +++ b/ALOps_sys_fe/alops-ui/src/views/inMonitoring/devicesState/cardItem.vue @@ -26,26 +26,26 @@ 设备级别 - {{cardData.deviceLevel || '暂无'}}级 + {{cardData.deviceLevel || '暂无'}}级
安装位置 - {{cardData.location || '暂无'}} + {{cardData.location || '暂无'}}
品牌型号 - {{cardData.brand || '暂无'}} + {{cardData.brand || '暂无'}}
带外IP - {{cardData.ip || '暂无'}} + {{cardData.ip || '暂无'}}
@@ -420,6 +420,7 @@ export default { .info-label i { font-size: 12px; + width: 8px; color: #4299e1; } @@ -427,6 +428,12 @@ export default { font-size: 14px; font-weight: 600; color: #2d3748; + padding-left: 14px; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + cursor: help; + width: 90px; } .chart-container { diff --git a/ALOps_sys_fe/alops-ui/src/views/inMonitoring/devicesState/detail.vue b/ALOps_sys_fe/alops-ui/src/views/inMonitoring/devicesState/detail.vue index 343f06e2..e2b30f31 100644 --- a/ALOps_sys_fe/alops-ui/src/views/inMonitoring/devicesState/detail.vue +++ b/ALOps_sys_fe/alops-ui/src/views/inMonitoring/devicesState/detail.vue @@ -26,31 +26,31 @@ 设备编号 - {{details.equNumber || '暂无'}} + {{details.equNumber || '暂无'}}
固件版本 - {{details.version || '暂无'}} + {{details.version || '暂无'}}
设备级别 - {{details.deviceLevel || '暂无'}}级 + {{details.deviceLevel || '暂无'}}级
安装位置 - {{details.location || '暂无'}} + {{details.location || '暂无'}}
品牌型号 - {{details.brand || '暂无'}} + {{details.brand || '暂无'}}
@@ -62,33 +62,33 @@ 生产厂商名称 - {{details.equManuName || '暂无'}} + {{details.equManuName || '暂无'}}
供货商名称 - {{details.supplierName || '暂无'}} + {{details.supplierName || '暂无'}}
供货商联系人 - {{ details.contactBy || '暂无'}} + {{ details.contactBy || '暂无'}}
供货商联系电话 - {{ details.contactWay || '暂无'}} + {{ details.contactWay || '暂无'}}
质保时间 - {{details.warranty || '暂无'}} + {{details.warranty || '暂无'}}
@@ -100,7 +100,7 @@ 带外管理IP - {{details.ip || '暂无'}} + {{details.ip || '暂无'}}
@@ -112,13 +112,13 @@ 安装日期 - {{details.installDate || '暂无'}} + {{details.installDate || '暂无'}}
管理员 - {{details.inCharge || '暂无'}} + {{details.inCharge || '暂无'}}
@@ -129,19 +129,19 @@ 设备持续运行时长 - {{formatDuration(details.contWorkPeriod) || '暂无'}} + {{formatDuration(details.contWorkPeriod) || '暂无'}}
待处理预警数 - {{details.unhandledAlertCount || '暂无'}} + {{details.unhandledAlertCount || '暂无'}}
预警总数 - {{details.alertCount || '暂无'}} + {{details.alertCount || '暂无'}}
@@ -1138,4 +1138,10 @@ mounted() { font-weight: 600; border-bottom: 2px solid #2d3748; } + .info-value { + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + cursor: help; + } \ No newline at end of file