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()