feat: 添加服务类型适配不同的显示菜单内容

This commit is contained in:
TsMask
2025-08-21 19:49:56 +08:00
parent 7916cc5a54
commit 2319cdf36b
69 changed files with 821 additions and 296 deletions

View File

@@ -5,7 +5,7 @@ import { Modal, message } from 'ant-design-vue/es';
import { SizeType } from 'ant-design-vue/es/config-provider';
import { MenuInfo } from 'ant-design-vue/es/menu/src/interface';
import { ColumnsType } from 'ant-design-vue/es/table';
import useNeListStore from '@/store/modules/ne_list';
import useNeStore from '@/store/modules/ne';
import useI18n from '@/hooks/useI18n';
import {
RESULT_CODE_ERROR,
@@ -23,7 +23,7 @@ import dayjs, { type Dayjs } from 'dayjs';
import { useClipboard } from '@vueuse/core';
const { copy } = useClipboard({ legacy: true });
const { t } = useI18n();
const neListStore = useNeListStore();
const neStore = useNeStore();
const ws = new WS();
const queue = new PQueue({ concurrency: 1, autoStart: true });
@@ -503,7 +503,7 @@ function wsMessage(res: Record<string, any>) {
onMounted(() => {
// 获取网元网元列表
neListStore.neCascaderOptions.forEach(item => {
neStore.neCascaderOptions.forEach(item => {
if (item.value === 'SMF') {
neOtions.value = JSON.parse(JSON.stringify(item.children));
}