Commit d7eb7d5a by liuwange1

环境设备弹窗

parent b5aa137d
...@@ -109,6 +109,13 @@ export default { ...@@ -109,6 +109,13 @@ export default {
}); });
}, },
equipmentClickHandle(index) { equipmentClickHandle(index) {
if (index == this.activeIndex) {
this.$axios.post("/osc/sendString", {
arg: 12,
name: "/SBTC_CLOSE_OSC",
});
this.activeIndex = -1;
} else {
this.activeIndex = index; this.activeIndex = index;
this.$axios this.$axios
.get("/deviceInfo/getDevicePopup", { .get("/deviceInfo/getDevicePopup", {
...@@ -121,6 +128,7 @@ export default { ...@@ -121,6 +128,7 @@ export default {
name: "/SBTC_OSC", name: "/SBTC_OSC",
}); });
}); });
}
}, },
}, },
}; };
......
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