Commit 8e8f99fc by liuwange1

停车关闭

parent 83fad1db
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
placeholder="请输入文案" placeholder="请输入文案"
/> />
<div class="btn1 active" @click="search">查询</div> <div class="btn1 active" @click="search">查询</div>
<div class="btn1" @click="value = ''">取消</div> <div class="btn1" @click="closeT">取消</div>
</div> </div>
</div> </div>
<section> <section>
...@@ -71,7 +71,7 @@ export default { ...@@ -71,7 +71,7 @@ export default {
// alert("操作成功"); // alert("操作成功");
this.$axios this.$axios
.post("/osc/sendString", { .post("/osc/sendString", {
arg: JSON.stringify(res.data), arg: JSON.stringify(res),
name: "/FXXC_OSC", name: "/FXXC_OSC",
}) })
.then(() => {}); .then(() => {});
...@@ -89,6 +89,14 @@ export default { ...@@ -89,6 +89,14 @@ export default {
}) })
.then(() => {}); .then(() => {});
}, },
closeT() {
this.$axios
.post("/osc/sendInt", {
arg: '',
name: "/GJTC_MSG_CLOSE",
})
.then(() => {});
}
}, },
}; };
</script> </script>
......
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