feat: 拓扑架构图状态

This commit is contained in:
TsMask
2024-01-09 18:25:26 +08:00
parent a9930e999d
commit 913d60d785
4 changed files with 608 additions and 7 deletions

View File

@@ -10,11 +10,16 @@ import useNeInfoStore from '@/store/modules/neinfo';
import useI18n from '@/hooks/useI18n';
import { Modal, message } from 'ant-design-vue/lib';
import saveAs from 'file-saver';
import { useRoute } from 'vue-router';
const neInfoStore = useNeInfoStore();
const { t } = useI18n();
const route = useRoute();
// 获取地址栏参数
const routeParams = route.query as Record<string, any>;
/**网元参数 */
let neType = ref([]);
let neType = ref<string[]>([]);
/**下载触发等待 */
let loading = ref(false);
/**访问路径 */
@@ -244,6 +249,9 @@ onMounted(() => {
content: t('common.noData'),
duration: 2,
});
} else if (routeParams.neType) {
neType.value = [routeParams.neType, routeParams.neId]
fnNeChange(neType.value, undefined);
}
}
});