From 6bf540c64b27448f36d793aaf62d4f0314d0df79 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Tue, 21 Oct 2025 14:51:44 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 src/pages/map/index.vue |   18 ++++++++++++++++--
 1 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/src/pages/map/index.vue b/src/pages/map/index.vue
index 48f4aab..37500a6 100644
--- a/src/pages/map/index.vue
+++ b/src/pages/map/index.vue
@@ -4,8 +4,8 @@
  * @LastEditors  : yuan
  * @LastEditTime : 2025-10-20 09:21:34
  * @FilePath     : \src\pages\map\index.vue
- * @Description  : 
- * Copyright 2025 OBKoro1, All Rights Reserved. 
+ * @Description  :
+ * Copyright 2025 OBKoro1, All Rights Reserved.
  * 2025-10-14 17:40:58
 -->
 <template>
@@ -21,11 +21,25 @@
 const viewUrl = getWebViewUrl("/defaultMap");
 
 const onPostMessage = (data) => {
+
   if (data.type === "scanCode") {
     uni.navigateTo({
       url: "/subPackages/qrCode/index",
     });
+  }else if(data.type === "jumpAddWork"){//新建工单
+	  uni.switchTab({
+	    url: "/subPackages/taskDetail/addTask/index",
+	  });
   }
+  else if(data.type === 'jumpMapNav'){  //事件导航
+		   uni.navigateTo({
+		    url:`/subPackages/workDetail/mapWork/index?currentItem=${data.eventNum}`
+		  });
+	  } else if(data.type === 'workid'){  //事件详情
+		   uni.navigateTo({
+		    url:`/subPackages/workDetail/index?eventNum=${data.eventNum}`
+		  });
+	  }
 };
 
 onLoad(() => {});

--
Gitblit v1.9.3