From 12888c2aa587c2f7cca3ebe2edb428707046a7df Mon Sep 17 00:00:00 2001 From: zhuo <2089219845@qq.com> Date: 星期三, 12 三月 2025 19:05:04 +0800 Subject: [PATCH] 修改配置类 --- 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