{"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\\deviceManage\\components\\ChooseMapPoint.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\bzzgj-fvue\\src\\views\\Device\\deviceManage\\components\\ChooseMapPoint.vue","mtime":1691463999649},{"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":["//\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 Iframe from '@/views/Manage/components/Iframe.vue';\nexport default {\n name: 'EquipmentMap',\n components: {\n Iframe: Iframe\n },\n data: function data() {\n return {\n currentPoint: {\n id: '',\n lttd: '',\n lgtd: '',\n areaCode: ''\n },\n timer: null,\n showMapDia: false,\n // src: '/gisapi/station-n-map/#/DeviceManagerGisView?mapMode=2D', //测试地址\n src: window.context.map + '/station-n-map/#/DeviceManagerGisView?mapMode=2D'\n };\n },\n mounted: function mounted() {\n var _this = this;\n\n this.timer = setInterval(function () {\n if (_this.$refs.windowiframe && _this.$refs.windowiframe.contentWindow.deviceGisFunction) {\n var layerList = [];\n\n _this.$refs.windowiframe.contentWindow.deviceGisFunction.layerVisible(layerList);\n\n clearInterval(_this.timer);\n }\n }, 1000);\n },\n methods: {\n handleOpen: function handleOpen(data) {\n this.showMapDia = true;\n this.currentPoint = {\n id: data.id ? data.id : '',\n lttd: '',\n // data.lttd ? data.lttd : '',\n lgtd: '',\n // data.lgtd ? data.lgtd : '',\n areaCode: ''\n };\n },\n handleSure: function handleSure() {\n this.showMapDia = false;\n this.$emit('getPosition', this.currentPoint);\n },\n handleClose: function handleClose() {\n this.showMapDia = false;\n },\n getPoint: function getPoint() {\n var _this2 = this;\n\n this.$refs.windowiframe.contentWindow.deviceGisFunction.clearPoint();\n this.$refs.windowiframe.contentWindow.deviceGisFunction.pickPoint().then(function (p) {\n _this2.setPositionInfo(p);\n });\n },\n setPositionInfo: function setPositionInfo(position) {\n this.currentPoint.lttd = position.position[1];\n this.currentPoint.lgtd = position.position[0];\n this.currentPoint.areaCode = position.areaCode;\n }\n }\n};",null]}