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/reportLibraryOne/components/approval/index.vue | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/culture/src/views/strainReportLibrary/reportLibraryOne/components/approval/index.vue b/culture/src/views/strainReportLibrary/reportLibraryOne/components/approval/index.vue index b7a10ef..386036d 100644 --- a/culture/src/views/strainReportLibrary/reportLibraryOne/components/approval/index.vue +++ b/culture/src/views/strainReportLibrary/reportLibraryOne/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); @@ -243,6 +244,8 @@ }, methods: { open() { + + if (!this.obj.id) { this.$message.error('缺少必要参数'); return; -- Gitblit v1.7.1