{"remainingRequest":"D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\bzzgj-fvue\\src\\views\\Device\\deviceMonitor\\components\\easyPlayerPlugin.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\src\\views\\Device\\deviceMonitor\\components\\easyPlayerPlugin.vue","mtime":1688548248725},{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["import \"core-js/modules/es6.function.name\";\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nimport EasyPlayer from '@easydarwin/easyplayer';\nvar headersUrlencoded = {\n 'Content-type': 'application/x-www-form-urlencoded'\n};\nexport default {\n name: 'easyPlayer',\n components: {\n EasyPlayer: EasyPlayer\n },\n props: {},\n data: function data() {\n return {\n player: null,\n muted: true,\n activePlayer: {\n name: '',\n url: '',\n videoTitle: ''\n },\n url: '',\n playerList: [{\n name: 'easyPlayer-01',\n url: '',\n videoTitle: ''\n }, {\n name: 'easyPlayer-02',\n url: '',\n videoTitle: ''\n }, {\n name: 'easyPlayer-03',\n url: '',\n videoTitle: ''\n }, {\n name: 'easyPlayer-04',\n url: '',\n videoTitle: ''\n }]\n };\n },\n methods: {\n getUrlAndPlay: function getUrlAndPlay(code, title) {\n var _this = this;\n\n if (!this.activePlayer.name) {\n this.$message.warning('请选择播放窗口');\n return;\n }\n\n var data = this.qs.stringify({\n code: code,\n scheme: 'HLS'\n });\n var param = {\n url: '${portal}/biz/catalog/base/point/previewURLs',\n data: data,\n method: 'post',\n headers: headersUrlencoded\n };\n this.$http.request(param).then(function (resp) {\n if (resp.data && resp.data.value) {\n var value = JSON.parse(resp.data.value);\n _this.url = value.url;\n _this.activePlayer.videoTitle = title;\n _this.activePlayer.url = _this.url;\n\n _this.play(_this.activePlayer);\n }\n }, function (error) {\n console.log('获取播放地址', error);\n\n _this.$message({\n message: '获取播放地址失败,请重试!',\n type: 'error'\n });\n });\n },\n play: function play(player) {\n var _this2 = this;\n\n this.$nextTick(function () {\n _this2.$refs[player.name].play();\n });\n },\n handleActive: function handleActive(player) {\n this.activePlayer = player;\n }\n }\n};",null]}