{"remainingRequest":"D:\\jenkins\\workspace\\sfz-lh-fvue\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\sfz-lh-fvue\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\sfz-lh-fvue\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\sfz-lh-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\sfz-lh-fvue\\src\\views\\Normal\\DataManagement\\videoData.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\sfz-lh-fvue\\src\\views\\Normal\\DataManagement\\videoData.vue","mtime":1712171298767},{"path":"D:\\jenkins\\workspace\\sfz-lh-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\sfz-lh-fvue\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\sfz-lh-fvue\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\sfz-lh-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\sfz-lh-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//\nimport { dragController } from '@/assets/js/dragController';\nimport { TableMixin } from '@/mixins/tableMixin';\nimport routerManagement from '@/api/BasicDataManagement/tollStationManagement.js';\nimport device from '@/api/DeviceManagement/device.js';\nimport utils from '@/utils.js';\nimport player from '@/views/Normal/components/videoPlayerHK.vue';\nexport default {\n name: 'videoData',\n components: {\n player: player\n },\n mixins: [TableMixin],\n data: function data() {\n return {\n treeLoading: false,\n treeTollStationId: '',\n treeTollStationName: '',\n tollStation: null,\n // 当前收费站信息\n sreachTree: '',\n currentTreeId: '',\n treeData: [// {\n // label: '一级 1',\n // id: 1,\n // children: [],\n // },\n ],\n defaultProps: {\n children: 'children',\n label: 'name'\n },\n tollStationOptions: [],\n // 收费站数据\n loading: false\n };\n },\n watch: {\n sreachTree: function sreachTree(val) {\n this.$refs.tree.filter(val);\n }\n },\n computed: {\n SearchPanel: function SearchPanel() {\n return {\n '--searchPanel': this.searchPanel + 'px'\n };\n }\n },\n mounted: function mounted() {\n dragController();\n this.loadTollStation();\n },\n methods: {\n // 收费站\n loadTollStation: function loadTollStation() {\n var _this = this;\n\n var params = {\n pageBean: {\n page: 1,\n pageSize: -1\n }\n };\n routerManagement.queryTollStation(params).then(function (res) {\n var data = res.data;\n _this.tollStationOptions = data.rows || [];\n _this.treeTollStationId = _this.tollStationOptions[0].id;\n _this.treeTollStationName = _this.tollStationOptions[0].name;\n\n if (_this.treeTollStationId) {\n _this.loadTree();\n\n _this.tollStation = _this.tollStationOptions[0];\n }\n });\n },\n changeTollStation: function changeTollStation(val) {\n var options = utils.deepClone(this.tollStationOptions);\n var target = options.filter(function (item) {\n return item.id = val;\n })[0];\n this.treeTollStationId = val;\n this.treeTollStationName = target.name;\n\n if (this.treeTollStationId) {\n this.loadTree();\n this.tollStation = target;\n }\n },\n loadTree: function loadTree() {\n var _this2 = this;\n\n this.treeLoading = true;\n this.treeData = [];\n var queryData = {\n pageBean: {\n page: 1,\n pageSize: -1,\n showTotal: true\n },\n querys: [{\n group: 'main',\n operation: 'EQUAL',\n parentGroup: '',\n property: 'tollStationId',\n relation: 'AND',\n value: this.treeTollStationId\n }, {\n group: 'main',\n operation: 'EQUAL',\n parentGroup: '',\n property: 'type',\n relation: 'AND',\n value: 1\n }],\n sorter: [{\n direction: 'ASC',\n property: 'sn_'\n }, {\n direction: 'ASC',\n property: 'name'\n }]\n };\n device.queryDeviceList(queryData).then(function (res) {\n _this2.treeLoading = false;\n _this2.treeData = res.value.rows || [];\n });\n },\n filterNode: function filterNode(value, data) {\n if (!value) return true;\n return data.name.indexOf(value) !== -1;\n },\n handleNodeClick: function handleNodeClick(obj, node, tree) {\n this.currentTreeId = obj.id; // this.$refs['dh-player'].play(obj)\n\n if (obj.cameraCode) {\n this.$refs['hk-player'].getVideoURL(obj.cameraCode);\n }\n },\n play: function play() {\n this.$refs['hk-player'].getVideoURL('12');\n }\n }\n};",null]}