{"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\\VideoPatrol.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\bbsl-fvue\\src\\views\\frontScreens\\components\\gisTabComponents\\VideoPatrol.vue","mtime":1684458238606},{"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":["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//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\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 VideoPatrolModel from \"./module/VideoPatrolModel.vue\";\nimport videoMonitor from '@/api/videoMonitorapi.js';\nimport { gisCompMixin } from '@/mixins/gisCompMixin.js';\nexport default {\n name: 'VideoPatrol',\n components: {\n VideoPatrolModel: VideoPatrolModel\n },\n mixins: [gisCompMixin],\n data: function data() {\n return {\n // 指定坐标字段\n lg: 'lgtd',\n lt: 'loc',\n // 信息窗model的ref\n modelName: 'VideoPatrolModel',\n isInitMarkers: false,\n iconUrl: require(\"./../../../../assets/img/gis_video.png\"),\n currentPoint: {\n name: ''\n },\n treeKey: '',\n options: [],\n filterText: '',\n data: [],\n defaultProps: {\n children: 'code',\n label: 'name'\n },\n currentNodeKey: '',\n currentNode: null,\n // 视频监控点数据\n filterData: [// {\n // name: '监控点1',\n // lg: '106.463601',\n // lt: '29.729001',\n // },\n // {\n // name: '监控点2',\n // lg: '106.450798',\n // lt: '29.83281',\n // },\n // {\n // name: '监控点3',\n // lg: '106.435563',\n // lt: '29.815159',\n // },\n // {\n // name: '监控点4',\n // lg: '106.388247',\n // lt: '29.870726',\n // },\n // {\n // name: '监控点5',\n // lg: '106.656255',\n // lt: '29.999493',\n // },\n ]\n };\n },\n created: function created() {},\n watch: {\n filterText: function filterText(val) {\n this.$refs.tree1.filter(val);\n }\n },\n mounted: function mounted() {\n this.getTreen();\n },\n methods: {\n popupopen: function popupopen() {\n this.$refs.VideoPatrolModel.open();\n },\n popupclose: function popupclose() {\n this.$refs.VideoPatrolModel.close();\n },\n changeTreeType: function changeTreeType(val) {\n var _this = this;\n\n if (val) {\n var query = {\n zoneCode: val\n };\n videoMonitor.getVideoTree(query, function (res) {\n _this.data = res.value;\n });\n } else {\n this.data = [];\n this.$set(this.data, this.data, res.value);\n }\n },\n filterNode: function filterNode(value, data) {\n if (!value) return true;\n return data.name.indexOf(value) !== -1;\n },\n nodeClick: function nodeClick(data, node, nodeD) {\n var _this2 = this;\n\n this.currentNodeKey = data.id;\n this.currentNode = node;\n var query = {\n pageBean: {\n pageSize: -1\n },\n params: {\n zoneCode: data.code\n }\n };\n videoMonitor.getListPage(query, function (res) {\n console.log(res);\n _this2.filterData = res.value;\n\n _this2.clearMarkers();\n\n _this2.initMarkers();\n });\n },\n infoWindow: function infoWindow() {\n var sContent = this.$refs.VideoPatrolModel.$el;\n var infoWin = new L.popup({\n autoPan: true,\n maxHeight: 300,\n minWidth: 400,\n maxWidth: 600\n }).setContent(sContent);\n return infoWin;\n },\n getTreen: function getTreen() {\n var _this3 = this;\n\n videoMonitor.getVideoF({}, function (res) {\n _this3.options = res.value;\n _this3.treeKey = _this3.options[0].code;\n var query = {\n zoneCode: _this3.options[0].code\n };\n videoMonitor.getVideoTree(query, function (res) {\n _this3.data = res.value;\n });\n });\n }\n }\n};",null]}