diff --git a/ruoyi-ui/src/views/base/baseInfo/index.vue b/ruoyi-ui/src/views/base/baseInfo/index.vue
index adc0c61..9a0e7cb 100644
--- a/ruoyi-ui/src/views/base/baseInfo/index.vue
+++ b/ruoyi-ui/src/views/base/baseInfo/index.vue
@@ -249,7 +249,7 @@
-
+
-
-
+
+
@@ -311,7 +311,7 @@
{{dict.label}}
@@ -467,7 +467,7 @@ export default {
// 遮罩层
loadingBusbar: true,
- loadingAlarm: true,
+ loadingAlarm: false,
// 选中数组
idsBusbar: [],
idsAlarm: [],
@@ -609,7 +609,6 @@ export default {
},
/** 查询报警信息列表 */
getListAlarm() {
- this.loadingAlarm = true;
this.queryParamsAlarm.params = {};
if (null != this.daterangeCreatedTimeAlarm && '' != this.daterangeCreatedTimeAlarm) {
this.queryParamsAlarm.params["beginCreatedTime"] = this.daterangeCreatedTimeAlarm[0];
@@ -665,7 +664,7 @@ export default {
},
/** 修改按钮操作 */
handleUpdateBusbar(row) {
- const id = row.id || this.idsBusbar.length === 1 ? this.idsBusbar[0] : "";
+ const id = row.objId || this.ids
getBaseBusbarInfo(id).then(response => {
this.formBusbar = response.data;
this.openBusbar = true;
@@ -673,7 +672,7 @@ export default {
});
},
handleUpdateAlarm(row) {
- const id = row.id || this.idsAlarm.length === 1 ? this.idsAlarm[0] : "";
+ const id = row.objId || this.ids
getBaseAlarmInfo(id).then(response => {
this.formAlarm = response.data;
this.openAlarm = true;