1import"./qrcode-CVZ_P9kz.js";import"./vue-qr-CpW-_oUU.js";import{_ as h,c as t,o as i,h as r,aj as l}from"./index-CQgO_FlU.js";const u={name:"File",data(){return{qrCode:"",url:"",id:"",name:"",webid:"",uri:"",urls:"",showDoc:!1,showPdf:!1,showImg:!1,baseurl:"http://localhost:8080",breadList:[{goBack:!0,name:this.$t("memberInsights.file")},{name:this.$t("memberInsights.lookFile")}]}},created(){this.urls="",this.url=this.$route.query.url;let e=this.$route.query.url;this.id=this.$route.query.id,this.name=this.$route.query.name,this.webid=this.$route.query.webid,this.uri=l.shortBaseUrl+this.$route.query.monitoring_url,console.log("------============",this.$route.query.url),console.log("------============",this.$route.query.id),console.log("------============",this.$route.query.name),console.log("------============",this.$route.query.webid),this.webid==null|this.webid==""&&this.test(),e.indexOf("doc")!=-1||e.indexOf("docx")!=-1||e.indexOf("xls")!=-1||e.indexOf("xsl")!=-1||e.indexOf("xlsx")!=-1||e.indexOf("ppt")!=-1?(this.urls=this.url,this.showDoc=!0):e.indexOf("pdf")!=-1?(this.urls=this.url,this.showPdf=!0):e.indexOf("png")!=-1||e.indexOf("jpg")!=-1||e.indexOf("jpeg")!=-1||e.indexOf("gif")!=-1?(this.urls=this.url,this.showImg=!0):this.urls=this.url},methods:{}},d={key:0},n=["src"],c={key:1},f=["src"],a={key:2},m=["src"],_={key:3};function g(e,o,p,x,s,w){return s.showDoc==!0?(i(),t("div",d,[r("iframe",{src:s.urls,style:{width:"100%",height:"80vh"}},null,8,n)])):s.showPdf==!0?(i(),t("div",c,[r("embed",{src:s.urls,style:{width:"100%",height:"80vh"}},null,8,f)])):s.showImg==!0?(i(),t("div",a,[r("img",{src:s.urls,width:"100%;"},null,8,m)])):(i(),t("div",_,[...o[0]||(o[0]=[r("div",{class:""},"该æä»¶ä¸æ¯æé¢è§",-1)])]))}const O=h(u,[["render",g],["__scopeId","data-v-33b8f2d0"]]);export{O as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.