Commit 97c9cfd4 by liuwange1

修复

parent f27bfd29
......@@ -186,12 +186,13 @@ export default {
this.activeIndex = index;
}
});
this.menuCode = this.navList[this.activeIndex].menuCode;
this.getAlarmList();
}
},
// 左侧列表内的告警数量
getAlarmMsgByMenu() {
this.$axios.get("/alarmMsg/msgCountByMenu").then((e) => {
console.log(e);
e.data.forEach((item) => {
this.navList.forEach((item2) => {
if (item2.menuCode == item.menuCode) {
......@@ -301,7 +302,6 @@ export default {
name: "/KC",
})
.then(() => {
console.log("showPop");
this.showPop = true;
});
},
......@@ -435,7 +435,6 @@ export default {
});
} else {
this.alarmActiveIndex = index;
console.log("type", this.alarmList[index].noPoint);
if (this.alarmList[index].noPoint) {
this.$axios.post("/osc/sendString", {
arg: JSON.stringify({ data: this.alarmList[index] }),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment