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