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/files.vue |    8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)

diff --git a/src/views/CNAS/resourceDemand/device/component/files.vue b/src/views/CNAS/resourceDemand/device/component/files.vue
index c28facd..bd297c4 100644
--- a/src/views/CNAS/resourceDemand/device/component/files.vue
+++ b/src/views/CNAS/resourceDemand/device/component/files.vue
@@ -446,7 +446,6 @@
 
 <script>
 import { MessageBox } from 'element-ui'
-import ValueTable from "@/components/Table/value-table.vue";
 import fileDownload from '@/utils/file'
 import vueQr from 'vue-qr'
 import PrintJS from 'print-js'
@@ -484,7 +483,6 @@
     }
   },
   components: {
-    ValueTable,
     vueQr
   },
   data() {
@@ -618,7 +616,7 @@
     handleAttachmentClick(row) {
       console.log(row)
       if (row.fileName) {
-        this.$download.downloadFileFromUrl(row.fileName)
+        this.$download.saveAs(row.fileName)
       } else {
         this.$message.warning('鏈笂浼犳枃浠讹紒')
       }
@@ -780,10 +778,6 @@
       }
       this.upLoad = true;
       upDeviceParameter(formData).then(res => {
-        if (res.code === 201) {
-          this.upLoad = false
-          return
-        }
         this.$message.success('淇敼鎴愬姛')
         this.upLoad = false
         this.getList(this.clickNodeVal.value)

--
Gitblit v1.9.3