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/reportLibraryOneThree/components/approval/index.vue | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/culture/src/views/strainReportLibrary/reportLibraryOneThree/components/approval/index.vue b/culture/src/views/strainReportLibrary/reportLibraryOneThree/components/approval/index.vue index b1fdcd4..d56b0df 100644 --- a/culture/src/views/strainReportLibrary/reportLibraryOneThree/components/approval/index.vue +++ b/culture/src/views/strainReportLibrary/reportLibraryOneThree/components/approval/index.vue @@ -235,7 +235,7 @@ }, computed: { dialogTitle() { - return this.type === "approve" ? "审批" : "审批详情"; + return !this.obj.isDetail ? "审批" : "详情"; }, totalScore() { return this.assessmentTable.reduce((sum, item) => sum + (item.selectedScore || 0), 0); @@ -278,7 +278,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