From 74c6b523773f4dac97f34cde39bf1f41d5d1613b Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期五, 07 三月 2025 15:44:21 +0800
Subject: [PATCH] 检测或校准物品的处置-分页修改

---
 src/views/CNAS/resourceDemand/facilitiesEnvironment/component/facilities-environmental-conditions/lightning-protection-detection.vue |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/views/CNAS/resourceDemand/facilitiesEnvironment/component/facilities-environmental-conditions/lightning-protection-detection.vue b/src/views/CNAS/resourceDemand/facilitiesEnvironment/component/facilities-environmental-conditions/lightning-protection-detection.vue
index 48e5b68..7fd26db 100644
--- a/src/views/CNAS/resourceDemand/facilitiesEnvironment/component/facilities-environmental-conditions/lightning-protection-detection.vue
+++ b/src/views/CNAS/resourceDemand/facilitiesEnvironment/component/facilities-environmental-conditions/lightning-protection-detection.vue
@@ -250,9 +250,11 @@
       })
     },
     download(row) {
-      let url = '';
-      url = this.javaApi + '/img/' + row.systemFileName
-      this.$download.saveAs(url, row.fileName)
+      if (!row.systemFileName) {
+        this.$message.warning('鏆傛棤鏂囦欢')
+        return
+      }
+      this.$download.saveAs(row.systemFileName, row.fileName)
     }
   }
 }

--
Gitblit v1.9.3