zhuliu 2 years ago
parent
commit
044e59093a

+ 5 - 5
RMS-FrontEnd/src/views/report/reportDetails/components/basicMessage.vue

@@ -103,11 +103,11 @@ export default {
           this.FileUrl = this.$p + item.url
           this.FileUrl = this.$p + item.url
           this.srcList = []
           this.srcList = []
         }else{
         }else{
-          this.FileUrl =  'http://192.168.1.24:8012/onlinePreview?url='+ btoa(encodeURIComponent(this.$p + item.url))
-          console.log(this.FileUrl,this.$p + item.url)
-          this.srcList = []
-          this.FileVisible = true
-          // downLoad2(item.url) 
+          // this.FileUrl =  'http://192.168.1.24:8012/onlinePreview?url='+ btoa(encodeURIComponent(this.$p + item.url))
+          // console.log(this.FileUrl,this.$p + item.url)
+          // this.srcList = []
+          // this.FileVisible = true
+          downLoad2(item.url) 
         }
         }
       },
       },
         delFile(id){
         delFile(id){