From 21621c20562517d51d675876491c6d7437e9004e Mon Sep 17 00:00:00 2001 From: lai <371757574@qq.com> Date: Fri, 5 Jul 2024 19:18:53 +0800 Subject: [PATCH] =?UTF-8?q?=E9=BB=98=E8=AE=A4=E5=80=BC=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/dashboard/overview/components/UPFFlow/index.vue | 5 +++-- src/views/dashboard/overview/index.vue | 2 +- src/views/tenant/base5G/index.vue | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/views/dashboard/overview/components/UPFFlow/index.vue b/src/views/dashboard/overview/components/UPFFlow/index.vue index ddac7060..3f4c5b2a 100644 --- a/src/views/dashboard/overview/components/UPFFlow/index.vue +++ b/src/views/dashboard/overview/components/UPFFlow/index.vue @@ -18,6 +18,7 @@ import useI18n from '@/hooks/useI18n'; import { parseDateToStr } from '@/utils/date-utils'; import { RESULT_CODE_SUCCESS } from '@/constants/result-constants'; import { upfFlowData, upfFlowParse } from '../../hooks/useUPFTotalFlow'; +import { upfWhoId } from '../../hooks/useWS'; const { t } = useI18n(); @@ -206,10 +207,10 @@ 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: '001', + neId: upfWhoId.value, startTime: parseDateToStr(tenMinutesAgo), endTime: parseDateToStr(nowDate), // startTime: '2024-03-20 19:50:00', diff --git a/src/views/dashboard/overview/index.vue b/src/views/dashboard/overview/index.vue index fb6bf986..76a1db50 100644 --- a/src/views/dashboard/overview/index.vue +++ b/src/views/dashboard/overview/index.vue @@ -231,7 +231,7 @@ onMounted(() => { if (arr.length > 0) { queryParams.neRealId = arr[0].value; - + upfWhoId.value = arr[0].value; reSendUPF(arr[0].rmUid); } } diff --git a/src/views/tenant/base5G/index.vue b/src/views/tenant/base5G/index.vue index 6bd15619..d095779d 100644 --- a/src/views/tenant/base5G/index.vue +++ b/src/views/tenant/base5G/index.vue @@ -298,7 +298,7 @@ onMounted(() => { :options="[ { label: '4G', value: '4g' }, { label: '5G', value: '5g' }, - { label: '45G', value: '45g' }, + { label: '4/5G', value: '45g' }, ]" :allow-clear="false" :placeholder="t('common.selectPlease')"