fix: 移除信令接口查询
This commit is contained in:
@@ -2,7 +2,6 @@ import { defineStore } from 'pinia';
|
|||||||
import { RESULT_CODE_SUCCESS } from '@/constants/result-constants';
|
import { RESULT_CODE_SUCCESS } from '@/constants/result-constants';
|
||||||
import { listAllNeInfo } from '@/api/ne/neInfo';
|
import { listAllNeInfo } from '@/api/ne/neInfo';
|
||||||
import { parseDataToOptions } from '@/utils/parse-tree-utils';
|
import { parseDataToOptions } from '@/utils/parse-tree-utils';
|
||||||
import { getNeTraceInterfaceAll } from '@/api/trace/task';
|
|
||||||
import { getNePerformanceList } from '@/api/perfManage/taskManage';
|
import { getNePerformanceList } from '@/api/perfManage/taskManage';
|
||||||
|
|
||||||
/**网元信息类型 */
|
/**网元信息类型 */
|
||||||
@@ -13,8 +12,6 @@ type NeInfo = {
|
|||||||
neCascaderOptions: Record<string, any>[];
|
neCascaderOptions: Record<string, any>[];
|
||||||
/**选择器单级父类型 */
|
/**选择器单级父类型 */
|
||||||
neSelectOtions: Record<string, any>[];
|
neSelectOtions: Record<string, any>[];
|
||||||
/**跟踪接口列表 */
|
|
||||||
traceInterfaceList: Record<string, any>[];
|
|
||||||
/**性能测量数据集 */
|
/**性能测量数据集 */
|
||||||
perMeasurementList: Record<string, any>[];
|
perMeasurementList: Record<string, any>[];
|
||||||
};
|
};
|
||||||
@@ -24,7 +21,6 @@ const useNeInfoStore = defineStore('neinfo', {
|
|||||||
neList: [],
|
neList: [],
|
||||||
neCascaderOptions: [],
|
neCascaderOptions: [],
|
||||||
neSelectOtions: [],
|
neSelectOtions: [],
|
||||||
traceInterfaceList: [],
|
|
||||||
perMeasurementList: [],
|
perMeasurementList: [],
|
||||||
}),
|
}),
|
||||||
getters: {
|
getters: {
|
||||||
@@ -79,24 +75,6 @@ const useNeInfoStore = defineStore('neinfo', {
|
|||||||
}
|
}
|
||||||
return res;
|
return res;
|
||||||
},
|
},
|
||||||
// 刷新跟踪接口列表
|
|
||||||
async fnRefreshNeTraceInterface() {
|
|
||||||
this.traceInterfaceList = [];
|
|
||||||
const res = await this.fnNeTraceInterface();
|
|
||||||
return res;
|
|
||||||
},
|
|
||||||
// 获取跟踪接口列表
|
|
||||||
async fnNeTraceInterface() {
|
|
||||||
// 有数据不请求
|
|
||||||
if (this.traceInterfaceList.length > 0) {
|
|
||||||
return { code: 1, data: this.traceInterfaceList, msg: 'success' };
|
|
||||||
}
|
|
||||||
const res = await getNeTraceInterfaceAll();
|
|
||||||
if (res.code === RESULT_CODE_SUCCESS) {
|
|
||||||
this.traceInterfaceList = res.data;
|
|
||||||
}
|
|
||||||
return res;
|
|
||||||
},
|
|
||||||
// 获取性能测量数据集列表
|
// 获取性能测量数据集列表
|
||||||
async fnNeTaskPerformance() {
|
async fnNeTaskPerformance() {
|
||||||
// 有数据不请求
|
// 有数据不请求
|
||||||
|
|||||||
Reference in New Issue
Block a user