{"remainingRequest":"D:\\jenkins\\workspace\\bbsl-fvue\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\bbsl-fvue\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\bbsl-fvue\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\bbsl-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\bbsl-fvue\\src\\views\\frontScreens\\components\\gisTabComponents\\module\\VideoPatrolModel.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\bbsl-fvue\\src\\views\\frontScreens\\components\\gisTabComponents\\module\\VideoPatrolModel.vue","mtime":1684458238652},{"path":"D:\\jenkins\\workspace\\bbsl-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\bbsl-fvue\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\bbsl-fvue\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\bbsl-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\bbsl-fvue\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nimport videoPlayer from \"./../../videoPlayer.vue\";\nimport videoPlayPlugin from \"./../../videoPlayPlugin.vue\";\nexport default {\n name: 'VideoPatrolModel',\n components: {\n videoPlayPlugin: videoPlayPlugin\n },\n props: {\n currentPoint: {\n type: Object,\n default: function _default() {\n return {};\n }\n },\n isShow: {\n type: Boolean,\n default: false\n }\n },\n data: function data() {\n return {\n showvideo: false,\n options: {\n layout: '1x1',\n showToolbar: 1,\n simpleTips: true,\n mountedInit: false\n },\n videoCode: ''\n };\n },\n inject: ['mapData'],\n watch: {\n currentPoint: {\n handler: function handler(newVal) {\n this.videoCode = newVal.code;\n }\n },\n isShow: {\n handler: function handler(newVal) {\n if (!newVal) {\n this.$refs.video.disconnect();\n }\n }\n }\n },\n created: function created() {\n var mapData = this.mapData();\n this.districtData = this.originData;\n this.T = mapData.T;\n this.map = mapData.map;\n },\n mounted: function mounted() {\n var _this = this;\n\n // debugger\n // console.log(this.currentPoint, 'this.currentPoint')\n // this.$nextTick(() => {\n // this.showvideo = true\n // })\n this.map.addEventListener('moveend', function () {\n _this.resize();\n });\n },\n beforeDestroy: function beforeDestroy() {},\n methods: {\n resize: function resize() {\n var _this2 = this;\n\n this.$nextTick(function () {\n if (_this2.$refs && _this2.$refs.video) {\n _this2.$refs.video.resize();\n }\n });\n },\n open: function open() {\n var _this3 = this;\n\n this.$nextTick(function () {\n _this3.$refs.video.open();\n });\n },\n close: function close() {\n var _this4 = this;\n\n this.$nextTick(function () {\n _this4.$refs.video.disconnect();\n });\n },\n ready: function ready() {\n this.play(this.videoCode);\n },\n play: function play(code) {\n var _this5 = this;\n\n this.$nextTick(function () {\n _this5.$refs.video.play(code);\n });\n },\n handleClick: function handleClick(tab, event) {\n console.log(tab, event);\n }\n }\n};",null]}