feat: 黄金指标实时数据非对应网元类型

This commit is contained in:
TsMask
2024-02-07 10:26:06 +08:00
parent 08b63ac454
commit abe5595fa7

View File

@@ -537,7 +537,7 @@ function wsMessage(res: Record<string, any>) {
if (data.groupId === '10') {
const kpiEvent = data.data;
// 非对应网元类型
if (kpiEvent.neType !== state.neType[0]) return;
if (kpiEvent.neType !== queryParams.neType) return;
for (const key of Object.keys(data.data)) {
const v = kpiEvent[key];
@@ -680,7 +680,11 @@ onBeforeUnmount(() => {
<a-col :lg="2" :md="12" :xs="24">
<a-form-item>
<a-space :size="8">
<a-button type="primary" @click.prevent="fnGetListTitle()">
<a-button
type="primary"
:loading="tableState.loading"
@click.prevent="fnGetListTitle()"
>
<template #icon><SearchOutlined /></template>
{{ t('common.search') }}
</a-button>
@@ -709,6 +713,7 @@ onBeforeUnmount(() => {
</a-button>
<a-button
type="dashed"
:loading="tableState.loading"
@click.prevent="fnRecordExport()"
v-show="tableState.showTable"
>