From 7ec7fea9b03f6fb66b25769e3ec578528ccf2365 Mon Sep 17 00:00:00 2001 From: spring <2396852758@qq.com> Date: 星期五, 21 三月 2025 16:44:41 +0800 Subject: [PATCH] 合并装备代码 --- src/views/business/inspectionTask/components/InspectionWord.vue | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/views/business/inspectionTask/components/InspectionWord.vue b/src/views/business/inspectionTask/components/InspectionWord.vue index 3a169e1..7991e24 100644 --- a/src/views/business/inspectionTask/components/InspectionWord.vue +++ b/src/views/business/inspectionTask/components/InspectionWord.vue @@ -241,8 +241,6 @@ </template> <script> -// import ValueTable from '../../tool/value-table.vue' -import file from '@/utils/file' import excelFunction from '@/utils/excelFountion' import UnPassDialog from "@/views/business/unpass/components/unPassDialog.vue"; import AddUnPass from "@/views/business/unpass/components/addUnPass.vue"; @@ -1921,7 +1919,7 @@ } }, getAuthorizedPerson() { - selectUserCondition({ type: 0 }).then((res) => { + selectUserCondition({ type: 1 }).then((res) => { let data = []; res.data.forEach((a) => { data.push({ @@ -2033,7 +2031,7 @@ 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