{"remainingRequest":"D:\\jenkins\\workspace\\examine-fvue\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\examine-fvue\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\examine-fvue\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\examine-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\examine-fvue\\src\\components\\eipControl\\EipImg.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\examine-fvue\\src\\components\\eipControl\\EipImg.vue","mtime":1667280203998},{"path":"D:\\jenkins\\workspace\\examine-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\examine-fvue\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\examine-fvue\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\examine-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\examine-fvue\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["//\n//\n//\n//\n//\nimport req from \"@/request.js\";\nexport default {\n name: \"eip-img\",\n props: [\"isDisplay\", \"imgSrc\", \"fileJson\", \"imgHeight\", \"imgWidth\"],\n data: function data() {\n return {\n src: \"\",\n style: {}\n };\n },\n created: function created() {\n var _this = this;\n\n if (this.isDisplay) {\n if (this.fileJson) {\n var json = JSON.parse(this.fileJson);\n req.get(window.context.portal + \"/file/onlinePreviewController/v1/getFileById_\" + json[0].id, 'arraybuffer').then(function (response) {\n var type = response.headers['content-type'];\n\n if (type) {\n _this.src = window.URL.createObjectURL(new Blob([response.data], {\n type: type\n }));\n } else {\n _this.src = window.URL.createObjectURL(new Blob([response.data]));\n }\n });\n }\n } else {\n this.src = this.imgSrc;\n }\n\n if (this.imgHeight > 0 && this.imgWidth > 0) {\n this.style = {\n height: this.imgHeight + \"px\",\n width: this.imgWidth + \"px\"\n };\n }\n }\n};",null]}