From a90cf43e7a1f41dcde401ed1fd118b0f90d7c3f5 Mon Sep 17 00:00:00 2001 From: cqf Date: 星期四, 26 五月 2022 11:41:49 +0800 Subject: [PATCH] 举一反三隐患-存在 --- src/views/troubleshooting/index.vue | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/views/troubleshooting/index.vue b/src/views/troubleshooting/index.vue index 88d9cb1..a81e711 100644 --- a/src/views/troubleshooting/index.vue +++ b/src/views/troubleshooting/index.vue @@ -94,7 +94,7 @@ <el-table-column prop="ADDRESS" label="地点" align="center" width="120"></el-table-column> <el-table-column prop="HOST" label="主持人" align="center" width="120"></el-table-column> <el-table-column prop="CONFERENCE_PROFESSIONAL" label="会议专业" align="center" width="120"></el-table-column> - <el-table-column prop="meeting_content" label="会议摘要" align="center"></el-table-column> + <el-table-column prop="meeting_content" show-overflow-tooltip label="会议摘要" align="center"></el-table-column> <el-table-column prop="realFileName" label="会议纪要" align="center"> <template slot-scope="scope" > @@ -210,9 +210,10 @@ </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"; import { initYHLX, @@ -374,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