fix: 总览数值累加/基站跳转页面修改

This commit is contained in:
TsMask
2025-03-11 15:50:09 +08:00
parent ea2ce56e52
commit 3363e36669
2 changed files with 12 additions and 6 deletions

View File

@@ -30,6 +30,8 @@ import {
import { RESULT_CODE_SUCCESS } from '@/constants/result-constants';
import saveAs from 'file-saver';
import { readSheet, writeSheet } from '@/utils/execl-utils';
import { useRoute } from 'vue-router';
const route = useRoute();
// 异步加载组件
const HistoryModal = defineAsyncComponent(
() => import('./components/history.vue')
@@ -666,7 +668,8 @@ onMounted(() => {
});
neCascaderOptions.value = arr;
// 无查询参数neType时 默认选择AMF
const item = arr.find(s => s.value === 'AMF');
const queryNeType = (route.query.neType as string) || 'AMF';
const item = arr.find(s => s.value === queryNeType);
if (item && item.children) {
const info = item.children[0];
neTypeAndId.value = [info.neType, info.neId];