From 7e7a8e3b15df991b9c3fbd22b94534b1d1984e29 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期一, 14 九月 2026 19:54:28 +0800
Subject: [PATCH] 新疆——新聚lims 1.检验任务详情逻辑重构,不需要判断结论逻辑,添加复杂运算逻辑

---
 src/views/CNAS/systemManagement/correctiveAction/components/ViewTestRecord.vue |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/src/views/CNAS/systemManagement/correctiveAction/components/ViewTestRecord.vue b/src/views/CNAS/systemManagement/correctiveAction/components/ViewTestRecord.vue
index 097d40f..a209069 100644
--- a/src/views/CNAS/systemManagement/correctiveAction/components/ViewTestRecord.vue
+++ b/src/views/CNAS/systemManagement/correctiveAction/components/ViewTestRecord.vue
@@ -94,7 +94,6 @@
       this.tableLoading = true
       getSuperviseDetailCorrectFileList({ superviseDetailsCorrectId: this.info.superviseDetailsCorrectId }).then(res => {
         this.tableLoading = false
-        if (res.code === 201) return
         this.tableData = res.data
       }).catch(err => {
         this.tableLoading = false
@@ -111,14 +110,13 @@
     },
     // 涓嬭浇
     upload(row) {
-      this.$download.downloadFileFromUrl(row.fileUrl, row.fileName);
+      this.$download.saveAs(row.fileUrl, row.fileName);
     },
     // 鍒犻櫎
     delete(row) {
       this.tableLoading = true
       delSuperviseDetailCorrectFile({ superviseDetailsCorrectFileId: row.superviseDetailsCorrectFileId }).then(res => {
         this.tableLoading = false
-        if (res.code === 201) return
         this.$message.success('鍒犻櫎鎴愬姛')
         this.searchTableList()
       }).catch(err => {

--
Gitblit v1.9.3