From 539ecbc03914fe66edc697ac6908ca8738a7bdfd Mon Sep 17 00:00:00 2001 From: zhongzm Date: Thu, 25 Sep 2025 16:59:41 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E6=8E=A7=E5=88=B6=E5=8F=B0=E6=89=93?= =?UTF-8?q?=E5=8D=B0=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/perfManage/overview/index.vue | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/views/perfManage/overview/index.vue b/src/views/perfManage/overview/index.vue index f99e0daf..9d637d5e 100644 --- a/src/views/perfManage/overview/index.vue +++ b/src/views/perfManage/overview/index.vue @@ -393,26 +393,26 @@ async function fetchMosData(neId: string) { timestamp: timestamp } - console.log('获取MOS数据参数:', params) + // console.log('获取MOS数据参数:', params) const res = await getMosHour(params) - console.log('MOS数据响应:', res) + // console.log('MOS数据响应:', res) if (res.code === 1 && Array.isArray(res.data)) { // 使用当天0点到现在的数据补全功能 mosData.value = generateTodayTimeSeries(res.data, 'mosAvg') - console.log('MOS数据加载完成:', mosData.value) + // console.log('MOS数据加载完成:', mosData.value) // 更新MOS图表 updateMosChart() } else { - console.warn('获取MOS数据失败或数据为空') + // console.warn('获取MOS数据失败或数据为空') mosData.value = null // 确保图表也更新为空状态 updateMosChart() } } catch (error) { - console.error('获取MOS数据出错:', error) + // console.error('获取MOS数据出错:', error) mosData.value = null // 确保图表也更新为空状态 updateMosChart() @@ -435,26 +435,26 @@ async function fetchCctData(neId: string) { timestamp: timestamp } - console.log('获取CCT数据参数:', params) + // console.log('获取CCT数据参数:', params) const res = await getCctHour(params) - console.log('CCT数据响应:', res) + // console.log('CCT数据响应:', res) if (res.code === 1 && Array.isArray(res.data)) { // 使用当天0点到现在的数据补全功能 cctData.value = generateTodayTimeSeries(res.data, 'cctAvg') - console.log('CCT数据加载完成:', cctData.value) + // console.log('CCT数据加载完成:', cctData.value) // 更新CCT图表 updateCctChart() } else { - console.warn('获取CCT数据失败或数据为空') + // console.warn('获取CCT数据失败或数据为空') cctData.value = null // 确保图表也更新为空状态 updateCctChart() } } catch (error) { - console.error('获取CCT数据出错:', error) + // console.error('获取CCT数据出错:', error) cctData.value = null // 确保图表也更新为空状态 updateCctChart()