From c4d25912d11ab9059f8165c25a161634bb9b5e97 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期二, 16 六月 2026 09:45:33 +0800
Subject: [PATCH] proapp 1.工作台分类修改

---
 src/pages/cooperativeOffice/collaborativeApproval/index.vue |   22 ++++++++++++++++++++--
 1 files changed, 20 insertions(+), 2 deletions(-)

diff --git a/src/pages/cooperativeOffice/collaborativeApproval/index.vue b/src/pages/cooperativeOffice/collaborativeApproval/index.vue
index 6c3defa..910cdc3 100644
--- a/src/pages/cooperativeOffice/collaborativeApproval/index.vue
+++ b/src/pages/cooperativeOffice/collaborativeApproval/index.vue
@@ -100,9 +100,16 @@
                   <u-button type="primary"
                             size="small"
                             class="action-btn edit"
-                            :disabled="item.approveStatus == 2 || item.approveStatus == 1 || item.approveStatus == 4 || item.approveStatus == 8"
+                            v-if="!(item.approveStatus == 2 || item.approveStatus == 1 || item.approveStatus == 4 || item.approveStatus == 8 || item.approveType == 5 || item.approveType == 6 || item.approveType == 7)"
                             @click="handleItemClick(item)">
                     缂栬緫
+                  </u-button>
+                  <u-button type="info"
+                            v-if="item.approveType == 5 || item.approveType == 6 || item.approveType == 7"
+                            size="small"
+                            class="action-btn detail"
+                            @click="handleDetailClick(item)">
+                    璇︽儏
                   </u-button>
                   <u-button type="success"
                             size="small"
@@ -158,7 +165,7 @@
       5: "閲囪喘绠$悊",
       6: "鎶ヤ环绠$悊",
       7: "鍙戣揣瀹℃壒",
-      8: "鍗遍櫓浣滀笟绠$悊",
+      8: "鍗遍櫓浣滀笟瀹℃壒",
     };
     return titleMap[type] || "瀹℃壒绠$悊";
   };
@@ -262,6 +269,17 @@
     });
   };
 
+  // 鏌ョ湅璇︽儏
+  const handleDetailClick = item => {
+    uni.setStorageSync("invoiceLedgerEditRow", JSON.stringify(item));
+    uni.setStorageSync("operationType", "detail");
+    uni.setStorageSync("approveId", item.approveId);
+    uni.setStorageSync("approveType", props.approveType);
+    uni.navigateTo({
+      url: "/pages/cooperativeOffice/collaborativeApproval/detail",
+    });
+  };
+
   // 娣诲姞鏂拌褰�
   const handleAdd = () => {
     uni.setStorageSync("operationType", "add");

--
Gitblit v1.9.3