From 38719d14d736c3d6a8655c121b70f5216ca5378b Mon Sep 17 00:00:00 2001
From: cqf <2252655793@qq.com>
Date: Wed, 25 May 2022 10:30:23 +0800
Subject: [PATCH] 导出修正导出完查询参数limit page丢失
---
src/views/troubleshooting/index.vue | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/views/troubleshooting/index.vue b/src/views/troubleshooting/index.vue
index 5a18dcc..f018045 100644
--- a/src/views/troubleshooting/index.vue
+++ b/src/views/troubleshooting/index.vue
@@ -210,7 +210,7 @@
</div>
</template>
<script>
-import {getPageList, dowloand_do, addOrEdit, del, revoke, put} from "@/api/sgyhpczl/troubleshooting";
+import {getPageList,addOrEdit, del, revoke, put} from "@/api/sgyhpczl/troubleshooting";
import {uploadFile} from "@/api/sgyhpczl/hiddenDangerRectification";
import {deepClone} from '@/utils'
import {downloadFile} from "@/api/sgyhpczl/fileUtils";
@@ -375,7 +375,7 @@
type: 1,
fileName: path,
};
- dowloand_do(params).then((res) => {
+ downloadFile(params).then((res) => {
if(res.data.type=='text/json'){
const reader = new FileReader(); //创建一个FileReader实例
reader.readAsText(res.data, 'utf-8'); //读取文件,结果用字符串形式表示
--
Gitblit v1.9.2