Commit c039c274 by liuwange1

增加关闭功能

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