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')"