From ca7d480e79cc828feafea0005fd92821ca6ed338 Mon Sep 17 00:00:00 2001
From: ZengTao <2773468879@qq.com>
Date: 星期一, 31 三月 2025 09:30:24 +0800
Subject: [PATCH] 大屏历史任务按钮修改为每次打开重新加载进行查询 修复生产统计工序顺序问题
---
UI-Project/src/views/Identify/identifwu.vue | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/UI-Project/src/views/Identify/identifwu.vue b/UI-Project/src/views/Identify/identifwu.vue
index fd2deef..6cfefd6 100644
--- a/UI-Project/src/views/Identify/identifwu.vue
+++ b/UI-Project/src/views/Identify/identifwu.vue
@@ -1,6 +1,6 @@
<template>
<div style="height: 500px;">
- <el-card style="flex: 1;margin-left: 10px;margin-top: 10px;margin-right: 10px;height: 800px;" v-loading="loading">
+ <el-card style="flex: 1;margin-left: 10px;margin-top: 10px;margin-right: 10px;height: 800px;">
<div style="text-align: center;"> {{ $t('processCard.temperinglayout') }}锛歿{ ava }}-{{ avanum }} </div>
<el-scrollbar height="750px" width="1400px" style="background-color: #e9e9eb;">
<div style="position: relative;">
@@ -49,8 +49,8 @@
const blind = ref(false)
const currentGlassId = ref(null);
const adjustedRects = ref([]);
-const ava = ref([]);
-const avanum = ref([]);
+const ava = ref('');
+const avanum = ref('');
let socket = null;
const currentGlassRect = computed(() => {
return adjustedRects.value.find(rect => rect.glassId === currentGlassId.value);
@@ -144,9 +144,13 @@
const handleMessage = (data: any) => {
if (data.engineer != null) {
ava.value = data.engineer[0]
+ }else{
+ ava.value = ''
}
if (data.engineer != null) {
avanum.value = data.sequence[0]
+ }else{
+ avanum.value = ''
}
const scaleFactor = 1621.78 / 6000;
const scaleFactory = 750 / 3300;
--
Gitblit v1.8.0