Commit c039c274 by liuwange1

增加关闭功能

parent 9cbc607f
......@@ -245,11 +245,11 @@ export default {
closeHandle() {
this.isShowClose = false;
this.moveToS(190, 695);
// GJTC_MSG_CLOSE
// this.$axios.post("/osc/sendInt", {
// arg: 1,
// name: "/KC",
// });
this.alarmActiveIndex = -1;
this.$axios.post("/osc/sendInt", {
arg: "",
name: "/GJTC_MSG_CLOSE",
});
},
goup() {
if (this.isShowClose) return;
......@@ -350,8 +350,6 @@ export default {
},
// 点击报警事件
alarmClickHandle(index) {
console.log(index);
console.log(this.alarmList[index]);
if (this.alarmActiveIndex == index) {
this.alarmActiveIndex = -1;
this.$axios.post("/osc/sendInt", {
......
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