From 8a624ce2bcb39e5ddc067cd9b651eac0bbf3c72e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=A5=E5=A6=8D?= <3096114695@qq.com> Date: Wed, 12 Jul 2023 10:37:44 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20BUG=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/companyAdmin/docManage.vue | 7 ++++--- src/views/projectFront/projectSummary/cooperationUnit.vue | 1 - 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/companyAdmin/docManage.vue b/src/views/companyAdmin/docManage.vue index 4a8cd126..4f4d2708 100644 --- a/src/views/companyAdmin/docManage.vue +++ b/src/views/companyAdmin/docManage.vue @@ -388,8 +388,9 @@ export default { //下载文件 downFn(item) { // console.log('http://182.90.224.147:30262/image/'+item.id); - console.log(this.$store.state.FILEURL+item.id,'下载') - // window.location.href = this.$store.state.FILEURL+item.id; + // console.log(item) + console.log(this.$store.state.FILEURL+item.filePath,'下载') + window.location.href = this.$store.state.FILEURL+item.filePath; // if (item) { // let arr = [] // arr = JSON.parse(item) @@ -405,7 +406,7 @@ export default { // a.download = item.fileName; // a.click(); // this.$message.succe(res.message); - this.downloadUrl = this.$store.state.FILEURL + item.id + this.downloadUrl = this.$store.state.FILEURL + item.filePath this.getListData() }) diff --git a/src/views/projectFront/projectSummary/cooperationUnit.vue b/src/views/projectFront/projectSummary/cooperationUnit.vue index 10c71c37..5479ae29 100644 --- a/src/views/projectFront/projectSummary/cooperationUnit.vue +++ b/src/views/projectFront/projectSummary/cooperationUnit.vue @@ -304,7 +304,6 @@