From dab59f7624a2fb8d4114bb67b554ff09d91f810c Mon Sep 17 00:00:00 2001 From: spring <2396852758@qq.com> Date: 星期四, 10 四月 2025 13:07:36 +0800 Subject: [PATCH] Merge branch 'radio-frequency-cable' of http://114.132.189.42:9002/r/lims-ruoyi-before into radio-frequency-cable --- src/views/business/materialOrderComponents/materialOrder/filesLookVisible.vue | 8 +++----- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/views/business/materialOrderComponents/materialOrder/filesLookVisible.vue b/src/views/business/materialOrderComponents/materialOrder/filesLookVisible.vue index d1decf8..4a21f75 100644 --- a/src/views/business/materialOrderComponents/materialOrder/filesLookVisible.vue +++ b/src/views/business/materialOrderComponents/materialOrder/filesLookVisible.vue @@ -23,14 +23,12 @@ </template> <script> -import ValueTable from "@/components/Table/value-table.vue"; -import file from "@/utils/file"; import limsTable from "@/components/Table/lims-table.vue"; import { delFile, downFile, getFileList } from "@/api/business/rawMaterialOrder"; export default { name: "filesLookVisible", // import 寮曞叆鐨勭粍浠堕渶瑕佹敞鍏ュ埌瀵硅薄涓墠鑳戒娇鐢� - components: { limsTable, ValueTable }, + components: { limsTable }, props: { filesDialogVisible: { type: Boolean, @@ -108,7 +106,7 @@ value: 0 }, { - label: '瀛e害妫�楠�', + label: '鍙潬鎬ф楠�', value: 1 }, ], @@ -154,7 +152,7 @@ // 涓嬭浇 handleDown(row) { downFile({ id: row.id, }).then(res => { - this.$download.downloadFileFromUrl(res.data.fileUrl, row.fileName); + this.$download.saveAs(res.data.fileUrl, row.fileName); }).catch(error => { }) -- Gitblit v1.9.3