From 83ee70a1a835601b620ef29211aea2d3dbf41900 Mon Sep 17 00:00:00 2001 From: zhangjunwen Date: Tue, 16 Apr 2024 10:43:54 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E6=A0=B7=E5=BC=8F=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E5=92=8C=E5=B1=95=E7=A4=BA=E9=97=AE=E9=A2=98=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../industrial/domain/IpcAlarmRecord.java | 30 ++++++------- .../impl/IpcAlarmRulesServiceImpl.java | 3 -- zfipc-ui/src/App.vue | 9 ++-- zfipc-ui/src/views/warn/alarm/index.vue | 2 +- zfipc-ui/src/views/warn/record/index.vue | 6 ++- zfipc-ui/src/views/zf/cydg/yxjk.vue | 43 ++++++++++--------- zfipc-ui/src/views/zf/zgdgBottom/index.vue | 15 ++++++- zfipc-ui/src/views/zf/zgdgTop/index.vue | 15 ++++++- 8 files changed, 77 insertions(+), 46 deletions(-) diff --git a/zfipc-server/zfipc-system/src/main/java/com/inspur/industrial/domain/IpcAlarmRecord.java b/zfipc-server/zfipc-system/src/main/java/com/inspur/industrial/domain/IpcAlarmRecord.java index 2722c3c..ff8d9b0 100644 --- a/zfipc-server/zfipc-system/src/main/java/com/inspur/industrial/domain/IpcAlarmRecord.java +++ b/zfipc-server/zfipc-system/src/main/java/com/inspur/industrial/domain/IpcAlarmRecord.java @@ -183,21 +183,21 @@ public class IpcAlarmRecord extends BaseEntity this.alarmLevel = alarmLevel; } -// public IpcEquipInfo getEquipInfo() { -// return equipInfo; -// } -// -// public void setEquipInfo(IpcEquipInfo equipInfo) { -// this.equipInfo = equipInfo; -// } -// -// public IpcAlarmRules getAlarmRules() { -// return alarmRules; -// } -// -// public void setAlarmRules(IpcAlarmRules alarmRules) { -// this.alarmRules = alarmRules; -// } + public IpcEquipInfo getEquipInfo() { + return equipInfo; + } + + public void setEquipInfo(IpcEquipInfo equipInfo) { + this.equipInfo = equipInfo; + } + + public IpcAlarmRules getAlarmRules() { + return alarmRules; + } + + public void setAlarmRules(IpcAlarmRules alarmRules) { + this.alarmRules = alarmRules; + } public String[] getIds() { return ids; diff --git a/zfipc-server/zfipc-system/src/main/java/com/inspur/industrial/service/impl/IpcAlarmRulesServiceImpl.java b/zfipc-server/zfipc-system/src/main/java/com/inspur/industrial/service/impl/IpcAlarmRulesServiceImpl.java index 39d4f9c..af6a5c2 100644 --- a/zfipc-server/zfipc-system/src/main/java/com/inspur/industrial/service/impl/IpcAlarmRulesServiceImpl.java +++ b/zfipc-server/zfipc-system/src/main/java/com/inspur/industrial/service/impl/IpcAlarmRulesServiceImpl.java @@ -47,9 +47,6 @@ public class IpcAlarmRulesServiceImpl implements IIpcAlarmRulesService List equips = ipcEquipInfoService.selectIpcEquipInfoList(null); for (IpcEquipInfo equip : equips) { List rulesByEquipId = selectIpcAlarmRulesByEquipId(equip.getId()); - if(redisCache.getCacheObject(CacheConstants.IPC_RULES_KEY+equip.getId()) != null){ - redisCache.deleteObject(CacheConstants.IPC_RULES_KEY+equip.getId()); - } redisCache.setCacheList((CacheConstants.IPC_RULES_KEY+equip.getId()),rulesByEquipId); } } diff --git a/zfipc-ui/src/App.vue b/zfipc-ui/src/App.vue index b83366c..217338e 100644 --- a/zfipc-ui/src/App.vue +++ b/zfipc-ui/src/App.vue @@ -30,18 +30,19 @@ div.el-table tr { background-color: #0b2d57; } .el-tabs--border-card { - background-color: #124b86; + background-color: #002250; } .el-tabs--border-card > .el-tabs__header .el-tabs__item.is-active { - background-color: #002250; + background-color: #124b86; border-color: white; } .el-tabs--border-card > .el-tabs__header .el-tabs__item { - background-color: #124b86; + background-color: #002250; + border-color: white; } .el-tabs--border-card > .el-tabs__header { - background-color: #124b86; + background-color: #002250; } .pagination-container { height: 30px; diff --git a/zfipc-ui/src/views/warn/alarm/index.vue b/zfipc-ui/src/views/warn/alarm/index.vue index 1a9d21c..a1335f3 100644 --- a/zfipc-ui/src/views/warn/alarm/index.vue +++ b/zfipc-ui/src/views/warn/alarm/index.vue @@ -2,7 +2,7 @@
+
+ > +
+ 4um + >4um {{ yykld4 }} 6um + >6um {{ yykld6 }} 14um + >14um {{ yykld14 }} 21um + >21um {{ yykld21 }} diff --git a/zfipc-ui/src/views/zf/zgdgBottom/index.vue b/zfipc-ui/src/views/zf/zgdgBottom/index.vue index 45528e6..2bb7dcb 100644 --- a/zfipc-ui/src/views/zf/zgdgBottom/index.vue +++ b/zfipc-ui/src/views/zf/zgdgBottom/index.vue @@ -458,12 +458,25 @@ id="dlnd" style="height: 100%" > +
+ > +
+ +
+ > +
+