| | |
| | | :currentCameraId="data.cameraId" |
| | | @changeLoading="changeLoading" |
| | | @fromCanvas="getCanvasData" |
| | | @refresh="refresh" |
| | | ></polygon-canvas> |
| | | </swiper-slide> |
| | | </swiper> |
| | |
| | | this.$nextTick(() => { |
| | | this.Carmeras = []; |
| | | this.loading = false; |
| | | this.showSysInfo = true |
| | | this.showSysInfo = true; |
| | | if (this.TreeDataPool.treeActiveName == 'dataStack') { |
| | | this.TreeDataPool.checkedLocalVedio.forEach(camera => { |
| | | this.Carmeras.push(new VideoRuleData(camera.id)); |
| | |
| | | } |
| | | this.swipercanvasData = swipers; |
| | | }, |
| | | refresh(url,id) { |
| | | this.swipercanvasData.forEach(data=>{ |
| | | if(data.cameraId == id){ |
| | | data.baseImg = url; |
| | | } |
| | | }) |
| | | //this.Camera.baseImg = url |
| | | }, |
| | | getCanvasData() { }, |
| | | showRules() { |
| | | this.tableRuleList = []; |