From 6fd9edb76f4b9ba18c33a3ed161d30c5f2a29732 Mon Sep 17 00:00:00 2001
From: 13404089107 <puwei@sinata.cn>
Date: 星期四, 26 六月 2025 18:57:09 +0800
Subject: [PATCH] 修改bug

---
 culture/src/views/strainReportLibrary/reportLibraryOneFour/components/approval/index.vue |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/culture/src/views/strainReportLibrary/reportLibraryOneFour/components/approval/index.vue b/culture/src/views/strainReportLibrary/reportLibraryOneFour/components/approval/index.vue
index b1fdcd4..6b1bd2a 100644
--- a/culture/src/views/strainReportLibrary/reportLibraryOneFour/components/approval/index.vue
+++ b/culture/src/views/strainReportLibrary/reportLibraryOneFour/components/approval/index.vue
@@ -235,7 +235,8 @@
     },
     computed: {
         dialogTitle() {
-            return this.type === "approve" ? "审批" : "审批详情";
+
+            return !this.obj.isDetail ? "审批" : "详情";
         },
         totalScore() {
             return this.assessmentTable.reduce((sum, item) => sum + (item.selectedScore || 0), 0);
@@ -278,7 +279,7 @@
                     ]
                 });
 
-                if (data.status >=2) {
+                if (data.status >= 2) {
                     processData.push({
                         type: data.status >= 2 && data.status != 4 ? "primary" : "danger",
                         mode: "list",

--
Gitblit v1.7.1