From aa4f11bf44a4d122fea4b7b9046f52b41308addf Mon Sep 17 00:00:00 2001 From: lai <371757574@qq.com> Date: Thu, 11 Jul 2024 20:10:46 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A9=BA=E6=97=B6=E9=99=90=E5=88=B6UPF?= =?UTF-8?q?=E5=9B=BE=E7=89=87=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dashboard/overview/components/UPFFlow/index.vue | 1 - src/views/dashboard/overview/hooks/useWS.ts | 1 - src/views/index/tenantIndex.vue | 11 +++++++++-- src/views/index/tenantUPF.vue | 7 ++++--- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/src/views/dashboard/overview/components/UPFFlow/index.vue b/src/views/dashboard/overview/components/UPFFlow/index.vue index 3f4c5b2a..13a9a716 100644 --- a/src/views/dashboard/overview/components/UPFFlow/index.vue +++ b/src/views/dashboard/overview/components/UPFFlow/index.vue @@ -207,7 +207,6 @@ function fnGetInitData() { // 查询10分钟前的 const nowDate: Date = new Date(); const tenMinutesAgo = new Date(nowDate.getTime() - 5 * 60 * 1000); -console.log(upfWhoId.value) listKPIData({ neType: 'UPF', neId: upfWhoId.value, diff --git a/src/views/dashboard/overview/hooks/useWS.ts b/src/views/dashboard/overview/hooks/useWS.ts index 9b7505f7..832d0bab 100644 --- a/src/views/dashboard/overview/hooks/useWS.ts +++ b/src/views/dashboard/overview/hooks/useWS.ts @@ -97,7 +97,6 @@ export default function useWS() { if (!data?.groupId) { return; } - console.log(data?.groupId) switch (data.groupId) { // kpiEvent 指标UPF case '12_' + upfWhoRmUid.value: diff --git a/src/views/index/tenantIndex.vue b/src/views/index/tenantIndex.vue index 7e8803a0..1908409c 100644 --- a/src/views/index/tenantIndex.vue +++ b/src/views/index/tenantIndex.vue @@ -4,8 +4,9 @@ import { PageContainer } from 'antdv-pro-layout'; import useI18n from '@/hooks/useI18n'; import UPFTEST from './tenantUPF.vue'; import MODULE from './moduleInfo.vue'; - +import { upfFlowData } from '../dashboard/overview/hooks/useUPFTotalFlow'; const { t } = useI18n(); +console.log(upfFlowData.value.lineXTime.length); onMounted(() => {}); @@ -16,7 +17,13 @@ onMounted(() => {});
- + +
diff --git a/src/views/index/tenantUPF.vue b/src/views/index/tenantUPF.vue index 1445ba3c..59f8db8a 100644 --- a/src/views/index/tenantUPF.vue +++ b/src/views/index/tenantUPF.vue @@ -22,7 +22,6 @@ import { upfFlowParse, } from '../dashboard/overview/hooks/useUPFTotalFlow'; -import { upfWhoRmUid } from '../dashboard/overview/hooks/useWS'; import useWS from '../dashboard/overview/hooks/useWS'; const { reSendUPF } = useWS(); @@ -265,7 +264,6 @@ watch( onMounted(() => { fnGetInitData(); - // setInterval(() => { // upfFlowData.value.lineXTime.push(parseDateToStr(new Date())); // const upN3 = parseSizeFromKbs(+145452, 5); @@ -298,7 +296,10 @@ onUnmounted(() => {