From 09969fa1a1d6244d4a78214f0f652b8247eb1fea Mon Sep 17 00:00:00 2001 From: hzz Date: Thu, 28 Mar 2024 17:04:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E5=B7=A5=E5=8E=82=E5=A4=A7=E5=B1=8F?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Exhibition/CIFM/child.vue | 19 +++++++++++++++---- src/views/Exhibition/Station/index.vue | 22 +++++++++++++--------- src/views/MicroExhibition/index.vue | 12 ++++++------ 3 files changed, 34 insertions(+), 19 deletions(-) diff --git a/src/views/Exhibition/CIFM/child.vue b/src/views/Exhibition/CIFM/child.vue index 565f682..f60eacd 100644 --- a/src/views/Exhibition/CIFM/child.vue +++ b/src/views/Exhibition/CIFM/child.vue @@ -116,7 +116,7 @@ let getImgSrc = computed(() => { }) //转速 -let speed = ref(200) +let speed = ref(2000) function scatteredLayoutExhibitionDeviceFun() { scatteredLayoutExhibitionDevice({ s: 'WME' }).then((res: any) => { if (res.code == 200) { @@ -133,8 +133,16 @@ function scatteredLayoutExhibitionDeviceFun() { if (name == '电脑绗绣机') { device_data.value.push({ key: '花型编号', value: device_info['fileName'] }) } - if (device_info['status'] == 2) { - speed.value = 200 + if (name == '电脑绣花机') { + device_data.value.push({ key: '版型', value: "展会560"}) + } + if (name == '零等待皮革缝纫机') { + device_data.value.push({ key: '版型', value: "零等待(骨头).DSR" }) + } + if (name == '床笠裙边机') { + speed.value = 3000 + } else if (device_info['status'] == 2) { + speed.value = 2000 } else { speed.value = 0 } @@ -257,7 +265,10 @@ function getWebsocket(val) { if (device_data.value[2].value == RackNumber) { device_data.value[1].value = WorkingState - speed.value = data.msg?.speed + if (device_data.value[0].value !="床笠裙边机") { + speed.value = data.msg?.speed + } + } } diff --git a/src/views/Exhibition/Station/index.vue b/src/views/Exhibition/Station/index.vue index 54617ca..ac9014c 100644 --- a/src/views/Exhibition/Station/index.vue +++ b/src/views/Exhibition/Station/index.vue @@ -26,12 +26,12 @@