| | |
| | | * @Author: shuishen 1109946754@qq.com |
| | | * @Date: 2022-08-18 16:18:17 |
| | | * @LastEditors: shuishen 1109946754@qq.com |
| | | * @LastEditTime: 2023-04-02 10:33:36 |
| | | * @LastEditTime: 2023-04-04 11:02:46 |
| | | * @FilePath: \srs-police-affairs\src\views\video\list.vue |
| | | * @Description: 辖区管理 |
| | | * |
| | |
| | | <div class="down-tree"> |
| | | <el-scrollbar> |
| | | <el-tree v-show="searchLazyFlag" :props="props" :load="loadNode" lazy node-key="id" |
| | | @node-click="treeClick" :default-expanded-keys="defaultExpandedKeys"> |
| | | @node-click="treeClick" :default-expanded-keys="defaultExpandedKeys" :empty-text="''"> |
| | | <span class="custom-tree-node" slot-scope="node"> |
| | | <i v-show="node.data.leaf" class="status-box" |
| | | :class="{ online: Number(node.data.status) === 1 }"></i> |
| | |
| | | </el-tree> |
| | | |
| | | <el-tree v-show="searchLazyFlag == false" :data="searchTreeData" :props="defaultProps" |
| | | :default-expand-all="true" @node-click="treeClick"> |
| | | :default-expand-all="true" @node-click="treeClick" :empty-text="''"> |
| | | <span class="custom-tree-node" slot-scope="node"> |
| | | <i class="status-box" :class="{ online: Number(node.data.status) === 1 }"></i> |
| | | |
| | |
| | | |
| | | searchChange (e) { |
| | | this.$store.commit('SET_VIDEOLISTPOPUP', false) |
| | | this.$store.commit('SET_VIDEOROWCLICKPOPUP', false) |
| | | this.inputpopup = false |
| | | plot.stop() |
| | | |
| | |
| | | disableDepthTestDistance: Number.POSITIVE_INFINITY |
| | | }, |
| | | incident: this.siteClick, |
| | | // mouseOverIncident: this.pointMouseOver, |
| | | // mouseOutIncident: this.pointMouseOut, |
| | | mouseOverIncident: this.pointMouseOver, |
| | | mouseOutIncident: this.pointMouseOut, |
| | | }) |
| | | }) |
| | | |
| | |
| | | |
| | | removeDrawLayer () { |
| | | this.$store.commit('SET_VIDEOLISTPOPUP', false) |
| | | this.$store.commit('SET_VIDEOROWCLICKPOPUP', false) |
| | | |
| | | this.inputpopup = false |
| | | plot.stop() |
| | |
| | | |
| | | searchDraw () { |
| | | this.$store.commit('SET_VIDEOLISTPOPUP', false) |
| | | this.$store.commit('SET_VIDEOROWCLICKPOPUP', false) |
| | | |
| | | this.searchLazyFlag = false |
| | | |
| | |
| | | disableDepthTestDistance: Number.POSITIVE_INFINITY |
| | | }, |
| | | incident: this.siteClick, |
| | | // mouseOverIncident: this.pointMouseOver, |
| | | // mouseOutIncident: this.pointMouseOut, |
| | | mouseOverIncident: this.pointMouseOver, |
| | | mouseOutIncident: this.pointMouseOut, |
| | | }) |
| | | }) |
| | | |
| | |
| | | siteGd: 600, |
| | | }) |
| | | |
| | | this.$store.commit('SET_VIDEOLISTPOPUP', true) |
| | | this.$store.commit('SET_VIDEOROWCLICKPOPUP', true) |
| | | |
| | | this.$store.commit('SET_VIDEOLISTPOPUPDATA', { |
| | | this.$store.commit('SET_VIDEOROWCLICKPOPUPDATA', { |
| | | ...node |
| | | }) |
| | | |
| | | var popup = new global.DC.DivForms(global.viewer, { |
| | | domId: 'videoListPopup', |
| | | domId: 'videoRowClickPopup', |
| | | position: [ |
| | | global.DC.Transform.transformWGS84ToCartesian( |
| | | new global.DC.Position( |
| | |
| | | disableDepthTestDistance: Number.POSITIVE_INFINITY |
| | | }, |
| | | incident: this.siteClick, |
| | | // mouseOverIncident: this.pointMouseOver, |
| | | // mouseOutIncident: this.pointMouseOut, |
| | | mouseOverIncident: this.pointMouseOver, |
| | | mouseOutIncident: this.pointMouseOut, |
| | | }) |
| | | } |
| | | }) |
| | |
| | | loading && loading.close() |
| | | |
| | | this.$store.commit('SET_VIDEOLISTPOPUP', false) |
| | | |
| | | this.$store.commit('SET_VIDEOROWCLICKPOPUP', false) |
| | | |
| | | this.$EventBus.$emit('mapRemoveLayer', { |
| | | layerName: 'treeValAllLayer', |
| | | type: 'VectorLayer' |