From 08fcc710d0a2acb185b3477d72fe32aff6f2e29a Mon Sep 17 00:00:00 2001
From: chenyao <1219716595@qq.com>
Date: Mon, 01 Dec 2025 16:23:03 +0800
Subject: [PATCH] feat:增加ws连接状态

---
 src/subPackages/taskDetail/execution/index.vue |   11 ++++-------
 1 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/src/subPackages/taskDetail/execution/index.vue b/src/subPackages/taskDetail/execution/index.vue
index 3eea27f..41d5b69 100644
--- a/src/subPackages/taskDetail/execution/index.vue
+++ b/src/subPackages/taskDetail/execution/index.vue
@@ -31,19 +31,15 @@
       url: `/pages/inspectionTask/execution/index?wayLineJodInfoId=${wayLineJodInfoId.value}`
     });
   } else if(data.type === 'workid') {
-    const params = {
-      eventNum: data.eventNum,
-      wLJobInfoId: data.wLJobInfoId
-    };
     uni.navigateTo({
-      url: `/subPackages/workDetail/index?eventNum=${encodeURIComponent(JSON.stringify(params))}`
+      url: `/subPackages/workDetail/index?eventNum=${data.eventNum}&wLJobInfoId=${data.wLJobInfoId}`
     });
   }
 }
 
 onLoad((options) => {
   wayLineJodInfoId.value = options.wayLineJodInfoId
-  viewUrl.value = getWebViewUrl('/execution', {wayLineJodInfoId: wayLineJodInfoId.value})
+  viewUrl.value = getWebViewUrl('/execution', {wayLineJodInfoId: wayLineJodInfoId.value, waylineJobId: options.waylineJobId, batch_no: options.batch_no})
 })
 const isApp = ref(false)
 onShow(() => {
@@ -51,7 +47,8 @@
 });
 
 onHide(() => {
-  isApp.value = false
+  // 如果工单详情返回任务详情,那么tab栏对应的是关联事件一项
+  // isApp.value = false
 });
 </script>
 

--
Gitblit v1.9.3