From 246d776ad32c94280a3557c73cdbdbcc473fc4ad Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Tue, 23 Dec 2025 16:47:39 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/feature/v9.0/9.0.3' into feature/v9.0/9.0.3

---
 src/pages/inspectionTask/index.vue |   18 +++++++++++++++++-
 1 files changed, 17 insertions(+), 1 deletions(-)

diff --git a/src/pages/inspectionTask/index.vue b/src/pages/inspectionTask/index.vue
index 7be966d..4aeeb55 100644
--- a/src/pages/inspectionTask/index.vue
+++ b/src/pages/inspectionTask/index.vue
@@ -19,10 +19,21 @@
 const updateKey = ref(0);
 const sxListKey = ref(0);
 const viewUrl = computed(() => {
+  // #ifdef MP-WEIXIN
   return getWebViewUrl("/inspectionTask", {
     updateKey: updateKey.value,
     sxListKey: sxListKey.value,
+    showAddBtn: 1,
   });
+  // #endif
+
+  // #ifndef MP-WEIXIN
+  return getWebViewUrl("/inspectionTask", {
+    updateKey: updateKey.value,
+    sxListKey: sxListKey.value,
+    showAddBtn: 0,
+  });
+  // #endif
 });
 
 watch(
@@ -49,8 +60,13 @@
     }
     // #endif
   }
+
+  if (data.type === "addTask") {
+    // #ifdef MP-WEIXIN
+    // #endif
+  }
 }
-const isApp = ref(false);
+
 onShow(() => {
   const joinParams = uni.getStorageSync("joinParams");
   if (joinParams) {

--
Gitblit v1.9.3