From c583e5683bac5d11750be01b8a3c4147e8f16026 Mon Sep 17 00:00:00 2001
From: zhoushihao <zsh19950802@163.com>
Date: 星期三, 06 十一月 2024 23:21:53 +0800
Subject: [PATCH] 1、opc订阅服务为阻塞模式,配置需要开启多线程 2、新增订阅回调函数,用于执行任务,完成任务时调用 3、目前测试效果来看,一个定时任务只能有一个订阅任务,可订阅多个节点,当某个节点发生变化时,回调任务仅获取变化节点的信息

---
 UI-Project/src/views/UnLoadGlass/PrintCustomLabelSemi1.vue |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/UI-Project/src/views/UnLoadGlass/PrintCustomLabelSemi1.vue b/UI-Project/src/views/UnLoadGlass/PrintCustomLabelSemi1.vue
index 2927b8f..35c3a2d 100644
--- a/UI-Project/src/views/UnLoadGlass/PrintCustomLabelSemi1.vue
+++ b/UI-Project/src/views/UnLoadGlass/PrintCustomLabelSemi1.vue
@@ -1,8 +1,7 @@
 <script setup>
 import request from "@/utils/request"
-import {ElDatePicker, ElMessage} from "element-plus"
-import {nextTick, onMounted, onUnmounted, reactive, ref, watch} from "vue"
-import {Search} from "@element-plus/icons-vue"
+import {ElMessage} from "element-plus"
+import {onMounted, ref} from "vue"
 // import {useRouter} from 'vue-router'
 // import {changeFilterEvent, filterChanged} from "@/hook"
 // import {useI18n} from 'vue-i18n'
@@ -36,14 +35,15 @@
 let props = defineProps({
   printFlowCardId: null,
   printLayer: null,
+  printGlassId: null,
 })
 
 onMounted(async () => {
-  console.log(props.printFlowCardId,props.printLayer)
-  const response = await request.post('/unLoadGlass/downGlassInfo/downGlassLabelPrint',{
-        flowCardId:props.printFlowCardId,
-        layer:props.printLayer
-    });
+  const response = await request.post('/unLoadGlass/downGlassInfo/downGlassLabelPrint', {
+    flowCardId: props.printFlowCardId,
+    layer: props.printLayer,
+    glassId: props.printGlassId
+  });
         if (response.code == 200) {
           console.log("lastList.value",response.data)
           lastList.value=response.data;

--
Gitblit v1.8.0