From b6963454b6185dd1b5f3d8ad1f478abecddf8ea5 Mon Sep 17 00:00:00 2001 From: chenrui <1187576398@qq.com> Date: 星期四, 13 三月 2025 14:49:05 +0800 Subject: [PATCH] 检验对象、实验室资质bug修复 --- 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