From 368b525db5f3f4f82b13c074341708a46b9a4111 Mon Sep 17 00:00:00 2001 From: spring <2396852758@qq.com> Date: 星期二, 11 三月 2025 09:11:29 +0800 Subject: [PATCH] Merge branch 'dev' of http://114.132.189.42:9002/r/lims-ruoyi-before into dev --- src/views/CNAS/resourceDemand/device/component/calibration.vue | 9 +-------- 1 files changed, 1 insertions(+), 8 deletions(-) diff --git a/src/views/CNAS/resourceDemand/device/component/calibration.vue b/src/views/CNAS/resourceDemand/device/component/calibration.vue index 0a83361..f11b502 100644 --- a/src/views/CNAS/resourceDemand/device/component/calibration.vue +++ b/src/views/CNAS/resourceDemand/device/component/calibration.vue @@ -416,14 +416,7 @@ }) }, handleAttachmentClick(row) { - let state = /\.(jpg|jpeg|png|gif)$/i.test(row.systemFileName) - if (state) { - let url = this.javaApi + '/img/' + row.systemFileName; - this.$download.saveAs(url, row.systemFileName) - } else { - const url = this.javaApi + '/word/' + row.systemFileName - this.$download.saveAs(url, row.systemFileName) - } + this.$download.saveAs(row.systemFileName, row.systemFileName) }, //瀵煎嚭 handleDown() { -- Gitblit v1.9.3