diff --git a/src/views/cs/index2.vue b/src/views/cs/index2.vue index 3190b23..c86a42a 100644 --- a/src/views/cs/index2.vue +++ b/src/views/cs/index2.vue @@ -84,7 +84,7 @@
{{ i.equName }}
设备产量: {{ i.quantity }}
-
设备信息: 10
+
设备状态: {{ parseFloat(i.quantity) > 0 ? '启动' : '停机' }}
@@ -94,13 +94,14 @@ :style="`display:${loopIndex === 18+k?'inline-block':''}`">
{{ i.equName }}
设备产量: {{ i.quantity }}
-
设备信息: 10
+
设备状态: {{ parseFloat(i.quantity) > 0 ? '启动' : '停机' }} +
-
+
-
@@ -301,6 +302,7 @@ export default { y: (72000 - (v.Y - 116000)) / this.siteData.y, rotate: v.Angle, isGoods: false, + show: v.X < 246626 && v.X > 126061 && v.Y < 188055 && v.Y > 116722 }) }) this.agvData = agvArr @@ -316,6 +318,7 @@ export default { new TWEEN.Tween(this.agvData.find(r => r.id === v.AgvId)).to({ x: (v.X - 126000) / this.siteData.x, y: (72000 - (v.Y - 116000)) / this.siteData.y, + show: v.X < 246626 && v.X > 126061 && v.Y < 188055 && v.Y > 116722 }, time - 100).start() } else { this.agvData.push({ @@ -324,6 +327,7 @@ export default { y: (72000 - (v.Y - 116000)) / this.siteData.y, rotate: v.Angle, isGoods: false, + show: v.X < 246626 && v.X > 126061 && v.Y < 188055 && v.Y > 116722 }) } }) @@ -370,8 +374,8 @@ export default { background-size: 100% 100%; background-repeat: no-repeat; position: absolute; - width: 2vw; - height: 1.24vw; + width: 1vw; + height: 0.62vw; } .agv1 {