From 199607e32217e43b27acb46ed3971a2a7c678f92 Mon Sep 17 00:00:00 2001
From: TsMask <340112800@qq.com>
Date: Mon, 17 Jun 2024 11:35:11 +0800
Subject: [PATCH] =?UTF-8?q?style:=20=E5=91=8A=E8=AD=A6=E7=BD=91=E5=85=83?=
=?UTF-8?q?=E7=B1=BB=E5=9E=8B=E4=B8=8B=E6=8B=89=E8=87=AA=E5=8A=A8=E6=8F=90?=
=?UTF-8?q?=E7=A4=BA=E8=BE=93=E5=85=A5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/faultManage/active-alarm/index.vue | 20 ++++++++++++++-----
src/views/faultManage/event/index.vue | 16 +++++++++++----
src/views/faultManage/history-alarm/index.vue | 10 ++++++++--
3 files changed, 35 insertions(+), 11 deletions(-)
diff --git a/src/views/faultManage/active-alarm/index.vue b/src/views/faultManage/active-alarm/index.vue
index 9f35c3d5..7b746ead 100644
--- a/src/views/faultManage/active-alarm/index.vue
+++ b/src/views/faultManage/active-alarm/index.vue
@@ -16,12 +16,14 @@ import {
exportAll,
} from '@/api/faultManage/actAlarm';
import useI18n from '@/hooks/useI18n';
+import useNeInfoStore from '@/store/modules/neinfo';
import useDictStore from '@/store/modules/dict';
import saveAs from 'file-saver';
import TableColumnsDnd from '@/components/TableColumnsDnd/index.vue';
import { writeSheet } from '@/utils/execl-utils';
import { RESULT_CODE_SUCCESS } from '@/constants/result-constants';
import { readLoalXlsx } from '@/utils/execl-utils';
+const neInfoStore = useNeInfoStore();
const { getDict } = useDictStore();
const { t, currentLocale } = useI18n();
@@ -741,6 +743,8 @@ onMounted(() => {
dict.activeAlarmSeverity = resArr[3].value;
}
});
+ // 获取网元网元列表
+ useNeInfoStore().fnNelist();
fnGetList();
});
@@ -758,9 +762,14 @@ onMounted(() => {
-
+
@@ -1286,11 +1295,12 @@ onMounted(() => {
:label="t('views.faultManage.activeAlarm.neType')"
name="neType"
>
-
-
+ :placeholder="t('common.inputPlease')"
+ />
diff --git a/src/views/faultManage/event/index.vue b/src/views/faultManage/event/index.vue
index 7ea562b2..95231a49 100644
--- a/src/views/faultManage/event/index.vue
+++ b/src/views/faultManage/event/index.vue
@@ -8,13 +8,14 @@ import { ColumnsType } from 'ant-design-vue/lib/table';
import { listAct, exportAll } from '@/api/faultManage/eventAlarm';
import useI18n from '@/hooks/useI18n';
import useDictStore from '@/store/modules/dict';
+import useNeInfoStore from '@/store/modules/neinfo';
import saveAs from 'file-saver';
import TableColumnsDnd from '@/components/TableColumnsDnd/index.vue';
import { writeSheet } from '@/utils/execl-utils';
import { RESULT_CODE_SUCCESS } from '@/constants/result-constants';
-import { readLoalXlsx } from '@/utils/execl-utils';
+const neInfoStore = useNeInfoStore();
const { getDict } = useDictStore();
-const { t, currentLocale } = useI18n();
+const { t } = useI18n();
/**字典数据 */
let dict: {
@@ -431,6 +432,8 @@ onMounted(() => {
dict.activeAlarmSeverity = resArr[3].value;
}
});
+ // 获取网元网元列表
+ useNeInfoStore().fnNelist();
fnGetList();
});
@@ -448,9 +451,14 @@ onMounted(() => {
-
+
diff --git a/src/views/faultManage/history-alarm/index.vue b/src/views/faultManage/history-alarm/index.vue
index d1ca70a7..9fee5908 100644
--- a/src/views/faultManage/history-alarm/index.vue
+++ b/src/views/faultManage/history-alarm/index.vue
@@ -13,9 +13,11 @@ import {
} from '@/api/faultManage/historyAlarm';
import useI18n from '@/hooks/useI18n';
import useDictStore from '@/store/modules/dict';
+import useNeInfoStore from '@/store/modules/neinfo';
import saveAs from 'file-saver';
import { writeSheet } from '@/utils/execl-utils';
import { RESULT_CODE_SUCCESS } from '@/constants/result-constants';
+const neInfoStore = useNeInfoStore();
const { getDict } = useDictStore();
const { t } = useI18n();
@@ -555,6 +557,8 @@ onMounted(() => {
dict.activeAlarmSeverity = resArr[3].value;
}
});
+ // 获取网元网元列表
+ useNeInfoStore().fnNelist();
fnGetList();
});
@@ -574,10 +578,12 @@ onMounted(() => {
:label="t('views.faultManage.activeAlarm.neType')"
name="ne_type"
>
-
+ :placeholder="t('common.inputPlease')"
+ />