Commit 131228a2 by liuwange1

123

parent c039c274
...@@ -110,6 +110,17 @@ export default { ...@@ -110,6 +110,17 @@ export default {
}, },
equipmentClickHandle(index) { equipmentClickHandle(index) {
this.activeIndex = index; this.activeIndex = index;
this.$axios
.get("/deviceInfo/getDevicePopup", {
deviceType: this.options[this.optionActiveIndex].key,
deviceCode: this.equipmentList[index].deviceStandCode,
})
.then((e) => {
this.$axios.post("/osc/sendString", {
arg: JSON.stringify(e),
name: "/SBTC_OSC",
});
});
}, },
}, },
}; };
...@@ -186,8 +197,12 @@ export default { ...@@ -186,8 +197,12 @@ export default {
/*只需要添加父元素的after伪元素中 高度0 ,宽度与item的宽一样*/ /*只需要添加父元素的after伪元素中 高度0 ,宽度与item的宽一样*/
} }
> div { > div {
width: 170px;
margin-right: 12px; margin-right: 12px;
margin-bottom: 10px; margin-bottom: 10px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
} }
} }
.bottom { .bottom {
......
...@@ -203,7 +203,7 @@ export default { ...@@ -203,7 +203,7 @@ export default {
margin-right: 12px; margin-right: 12px;
margin-bottom: 10px; margin-bottom: 10px;
&.ww { &.ww {
width: 150px; width: 170px;
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
......
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