From 8b53b3620e3305e97ec85afdc71ec0065de47a12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BA=B7=E5=86=89=E5=86=89?= Date: Fri, 30 Jan 2026 18:10:03 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=BE=E5=BD=A2=E7=9B=91=E6=8E=A7=E4=B8=8A?= =?UTF-8?q?=E6=96=B9=E5=8E=BB=E6=8E=89=E9=80=89=E6=8B=A9=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E5=A4=8D=E9=80=89=E6=A1=86=E3=80=81=E6=8E=A2=E6=B5=8B=E7=AD=96?= =?UTF-8?q?=E7=95=A5=E8=A1=A8=E5=8D=95=E7=9A=84=E9=A2=91=E7=8E=87=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E6=94=B9=E4=B8=BA=E4=B8=8B=E6=8B=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1、tcpdump探测策略表单的频率字段改为下拉 2、虚拟网卡信息列表添加ping丢包率字段 3、服务器管理详情图形监控上方去掉选择时间复选框 4、HDD磁盘空间去掉HDD、图表单位改为大写 5、硬盘设备监控列表的读/写速率单位KB改为MB --- src/views/resource/serverRegister/details.vue | 15 ++-- .../resource/serverRegister/flowForm.vue | 86 +++++++++++++++---- src/views/resource/serverRegister/table.vue | 5 +- .../resource/serverRegister/tabsChart.vue | 10 ++- 4 files changed, 84 insertions(+), 32 deletions(-) diff --git a/src/views/resource/serverRegister/details.vue b/src/views/resource/serverRegister/details.vue index 80e4bda..b78d21a 100644 --- a/src/views/resource/serverRegister/details.vue +++ b/src/views/resource/serverRegister/details.vue @@ -129,7 +129,7 @@ {name: '带宽', num: 0, unit: 'Mbps', imgUrl: bandWImg}, {name: 'CPU', num: 0, unit: '核', imgUrl: cpuImg}, {name: '内存', num: 0, unit: 'G', imgUrl: memoryImg}, - {name: '磁盘容量(HDD)', num: 0, unit: 'GB', imgUrl: diskSizeImg}, + {name: '磁盘容量', num: 0, imgUrl: diskSizeImg}, ], activeName: '网卡流量监控', echartList: {}, @@ -466,7 +466,7 @@ '网卡信息': {title: '网卡信息', toTitle: '网卡', clientId: this.paramsData.clientId, echartList: []}, 'CPU使用率': {title: 'CPU使用率(%)', titleTo: 'CPU使用率(%)', clientId: this.paramsData.clientId}, '内存使用率': {title: '内存使用率(%)', titleTo: '内存使用率(%)', clientId: this.paramsData.clientId}, - 'HDD磁盘空间': {title: 'HDD磁盘空间', titleTo: 'HDD磁盘空间使用情况', clientId: this.paramsData.clientId}, + '磁盘空间': {title: '磁盘空间', titleTo: '磁盘空间使用情况', clientId: this.paramsData.clientId}, 'CPU温度': {title: 'CPU温度', titleTo: 'CPU温度(℃)', clientId: this.paramsData.clientId}, }); // this.getMonitorData(); @@ -575,7 +575,7 @@ await this.getCpuLoadData(time, keyVal, keyName) } else if (keyName === '内存使用率') { await this.getMemoryUtilizationData(time, keyVal, keyName) - } else if (keyName === 'HDD磁盘空间') { + } else if (keyName === '磁盘空间') { await this.fnUsedSpaceCharts(time, keyVal, keyName); } else if (keyName === 'CPU温度') { this.fnCpuTemperatureCharts(time, keyVal, keyName); @@ -866,7 +866,7 @@ return true; }); }, - // HDD磁盘空间使用情况 + // 磁盘空间使用情况 fnUsedSpaceCharts(times, keyVal, titleName,interCardName, unitData) { let chartData = JSON.parse(JSON.stringify(this.resultData[1])); chartData['fnEvent'] = 'fnUsedSpaceCharts'; @@ -874,7 +874,7 @@ if (res && res.data) { if (res.data.unit) { chartData.dataVal['unitModel'] = res.data.unit || ''; - chartData.dataVal['unitSelList'] = [{label: 'Kb', value: 'Kb'},{label: 'Mb', value: 'Mb'}, {label: 'Gb', value: 'Gb'}]; + chartData.dataVal['unitSelList'] = [{label: 'KB', value: 'KB'},{label: 'MB', value: 'MB'}, {label: 'GB', value: 'GB'}]; } chartData.dataVal.lineXData = res && res.data && res.data['xData'] && res.data['xData'].length > 0 ? res.data['xData'] : this.firstChartTrans && this.firstChartTrans['timeList'] && this.firstChartTrans['timeList'].length > 0 ? this.firstChartTrans['timeList'] : []; @@ -931,9 +931,10 @@ if (this.mapDataList[this.activeName][val.key] && !(this.mapDataList[this.activeName][val.key].echartList[0] && this.mapDataList[this.activeName][val.key].echartList[0].title)) { if (this.activeName === '挂载文件系统监控' && !this.eventKeyName[val.key]) { this.getSpaceRate(val.currTimeList, this.activeName, val.key); - } else if (this.activeName === '硬盘设备监控' && !this.eventKeyName[val.key]) { - this.getSpeedEcharts(val.currTimeList, this.activeName, val.key); } + // else if (this.activeName === '硬盘设备监控' && !this.eventKeyName[val.key]) { + // this.getSpeedEcharts(val.currTimeList, this.activeName, val.key); + // } } } } diff --git a/src/views/resource/serverRegister/flowForm.vue b/src/views/resource/serverRegister/flowForm.vue index a55c6ad..cb8b279 100644 --- a/src/views/resource/serverRegister/flowForm.vue +++ b/src/views/resource/serverRegister/flowForm.vue @@ -7,12 +7,12 @@ {{tag}} -