From 2d55ed180fddd028bf4f839345bf0ef4d2f032e7 Mon Sep 17 00:00:00 2001 From: spring <2396852758@qq.com> Date: 星期五, 07 三月 2025 13:34:31 +0800 Subject: [PATCH] Merge branch 'dev' of http://114.132.189.42:9002/r/lims-ruoyi-before into dev --- 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..71a7c67 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.downloadFileFromUrl(row.systemFileName, row.fileName) } } } -- Gitblit v1.9.3