Commit 7386fe8b by liuwange1

消防,安防

parent 17ec92e6
......@@ -180,17 +180,17 @@ export default {
this.params.isAi = "NO";
}
this.getMonitorList();
// this.$axios
// .post("/osc/sendInt", {
// arg: 11,
// name: "/YJ",
// })
// .then(() => {
// this.$axios.post("/osc/sendInt", {
// arg: index + 1,
// name: this.oscName,
// });
// });
this.$axios
.post("/osc/sendInt", {
arg: index + 1,
name: "/EZ_AF",
})
.then(() => {
this.$axios.post("/osc/sendInt", {
arg: index + 1,
name: this.oscName,
});
});
},
roadClick(index) {
this.roadActiveIndex = index;
......
......@@ -57,24 +57,24 @@ export default {
osc: 11,
options: [
{
label: "防火门",
key: "FIRE_DOUBLE_DOOR",
label: "感烟探测器",
key: "FIRE_SMOKE",
},
{
label: "防火卷帘",
key: "FIRE_ROLLER_BLIND",
label: "感温探测器",
key: "FIRE_WARM",
},
{
label: "消防水泵",
key: "FIRE_HYDRANT_PUMP_UNIT",
},
{
label: "感烟探测器",
key: "FIRE_SMOKE",
label: "防火卷帘",
key: "FIRE_ROLLER_BLIND",
},
{
label: "感温探测器",
key: "FIRE_WARM",
label: "防火门",
key: "FIRE_DOUBLE_DOOR",
},
],
optionActiveIndex: -1,
......
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