| | |
| | | show-icon |
| | | v-if="groupList.length==0" |
| | | ></el-alert> |
| | | <div class="flex-box"> |
| | | <div class="flex-box" v-if="groupList.length!==0"> |
| | | <div |
| | | class="group-card" |
| | | :class="{'checked':group.checked}" |
| | |
| | | </div> |
| | | </div> |
| | | <!-- <div class="part" v-if="groupList.length"> --> |
| | | <div class="part" v-if="Object.keys(curGroup)"> |
| | | <div class="part" v-if="groupList.length!==0 && Object.keys(curGroup)"> |
| | | <div class="title">绘制区域(用于算法分析)</div> |
| | | <div class="relative-partment" v-if="curGroup.cameras&&curGroup.cameras.length"> |
| | | <div class="area-wrap" v-for="i in 2" :key="'sc'+i"> |
| | |
| | | }, |
| | | deep: true |
| | | }, |
| | | 'TreeDataPool.selectedNodes': { |
| | | handler (n, o) { |
| | | // 'TreeDataPool.selectedNodes': { |
| | | // handler (n, o) { |
| | | |
| | | }, |
| | | deep: true |
| | | }, |
| | | // }, |
| | | // deep: true |
| | | // }, |
| | | isEdit (n, o) { |
| | | if (n) { |
| | | this.$refs['editBoard'].addEventListener('click', this.bindListen); |
| | |
| | | for(var i = 0; i< groups.length; i++){ |
| | | groups[i].cameras = await _this.findPolygonByIds(groups[i].cameras) |
| | | } |
| | | this.groupList = groups |
| | | |
| | | this.groupList = groups; |
| | | debugger |
| | | //选中第一个 |
| | | this.checkCurrentGroup(_this.groupList[0]); |
| | | this.groupList.length && this.checkCurrentGroup(_this.groupList[0]); |
| | | |
| | | }, |
| | | |
| | | addRelation () { |
| | |
| | | groupName: '', |
| | | cameras: [] |
| | | } |
| | | |
| | | }, |
| | | changeTab () { |
| | | if (this.actPage == '1') { |