ref: v3变更,,完成整合,同步v2.2508.4 -250902

This commit is contained in:
TsMask
2025-09-06 11:27:57 +08:00
parent e943b4dedc
commit 6470ed5bc1
90 changed files with 1724 additions and 1361 deletions

View File

@@ -16,8 +16,12 @@ import { CanvasRenderer } from 'echarts/renderers';
import { markRaw } from 'vue';
import useI18n from '@/hooks/useI18n';
import { RESULT_CODE_SUCCESS } from '@/constants/result-constants';
import { upfFlowData, upfFlowParse } from '../../hooks/useUPFTotalFlow';
import { upfWhoId } from '../../hooks/useWS';
import {
upfNeUId,
upfFlowData,
upfFlowParse,
} from '../../hooks/useUPFTotalFlow';
import { currentCoreUid } from '@/hooks/useCoreUid';
const { t } = useI18n();
@@ -207,8 +211,9 @@ function fnGetInitData() {
const nowDate = new Date().getTime();
listKPIData({
coreUid: currentCoreUid(),
neUid: upfNeUId.value,
neType: 'UPF',
neId: '001',
beginTime: nowDate - 5 * 60 * 1000,
endTime: nowDate,
interval: 5, // 5秒
@@ -251,7 +256,9 @@ watch(
);
onMounted(() => {
fnGetInitData();
setTimeout(() => {
fnGetInitData();
}, 1000);
// setInterval(() => {
// upfFlowData.value.lineXTime.push(parseDateToStr(new Date()));