{"remainingRequest":"D:\\jenkins\\workspace\\yhxt-web\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\yhxt-web\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\yhxt-web\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\yhxt-web\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\yhxt-web\\src\\views\\bigScreen\\components\\InfoWindowDialog.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\yhxt-web\\src\\views\\bigScreen\\components\\InfoWindowDialog.vue","mtime":1720548822826},{"path":"D:\\jenkins\\workspace\\yhxt-web\\babel.config.js","mtime":1667326389982},{"path":"D:\\jenkins\\workspace\\yhxt-web\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\yhxt-web\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\yhxt-web\\node_modules\\babel-loader\\lib\\index.js","mtime":456789000000},{"path":"D:\\jenkins\\workspace\\yhxt-web\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\yhxt-web\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["import \"core-js/modules/es7.object.get-own-property-descriptors\";\nimport \"core-js/modules/web.dom.iterable\";\nimport \"core-js/modules/es6.object.keys\";\nimport \"core-js/modules/es6.function.name\";\nimport _defineProperty from \"D:/jenkins/workspace/yhxt-web/node_modules/@babel/runtime/helpers/esm/defineProperty.js\";\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\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\";\nexport default {\n name: 'infoWindow',\n components: {\n videoPlayer: videoPlayer\n },\n data: function data() {\n return {\n data: {},\n loading: false,\n showplay: false,\n showDialog: false,\n infoObjData: {},\n resources: [],\n cameraIndexCode: '',\n dialogVisible: false,\n infoData: {},\n current: 0,\n tablist: [{\n id: 0,\n label: '桥梁简介'\n }, {\n id: 1,\n label: '视频监控'\n }\n // {\n // id: 2,\n // label: '桥梁监测',\n // },\n ]\n };\n },\n mounted: function mounted() {},\n methods: {\n handleTabChange: function handleTabChange(data) {\n var _this = this;\n this.current = data.id;\n if (data.id == 2) {\n this.$router.push({\n name: 'SingleBridge'\n });\n }\n if (data.id === 1) {\n this.$nextTick(function () {\n _this.showplay = true;\n _this.loadData();\n });\n }\n },\n handleClose: function handleClose(done) {\n this.$refs.player && this.$refs.player.closeVideo();\n this.showplay = false;\n done();\n },\n open: function open(data) {\n this.infoData = data;\n this.dialogVisible = true;\n },\n loadData: function loadData() {\n var _this2 = this;\n this.loading = true;\n var _this$infoData = this.infoData,\n tpBridgeId = _this$infoData.tpBridgeId,\n bridgeId = _this$infoData.bridgeId;\n this.$http.get('${yhxt}/bizTpBridge/v1/detail/' + bridgeId).then(function (res) {\n _this2.loading = false;\n _this2.infoObjData = res.data;\n _this2.data = res.data.bridgeInformation;\n var resources = res.data.resources;\n if (resources.length !== 0) {\n _this2.resources = resources.map(function (i) {\n return _objectSpread({\n label: i.name,\n value: i.cameraIndexCode\n }, i);\n });\n _this2.cameraIndexCode = _this2.resources[0].value;\n } else {\n _this2.cameraIndexCode = '';\n _this2.resources = [];\n }\n console.log(_this2.$refs, ' this.$refs.player');\n setTimeout(function () {\n console.log(_this2.$refs, ' this.$refs.player');\n // this.$refs.player.createPlayer(this.cameraIndexCode)\n _this2.$refs.player.getVideoURL(_this2.cameraIndexCode);\n }, 500);\n });\n },\n hanldeChange: function hanldeChange(val) {\n var _this3 = this;\n // this.$refs.player.closeVideo()\n this.$nextTick(function () {\n // this.$refs.player.createPlayer(val)\n _this3.$refs.player.getVideoURL(_this3.cameraIndexCode);\n });\n }\n }\n};",null]}