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 @@