| | |
| | | </div> |
| | | |
| | | <div |
| | | v-if="Camera.analytics" |
| | | v-if="Camera.analytics && isShowPolling === 'show'" |
| | | class="flex-box" |
| | | v-show="cameraType === 'camera'" |
| | | > |
| | |
| | | }, |
| | | data() { |
| | | return { |
| | | isShowPolling: sessionStorage.getItem("isShowPolling"), |
| | | mockSceneData: [], |
| | | loading: false, |
| | | Camera: new VideoRuleData(), |
| | |
| | | this.swiperIndex = this.$refs.swiper.swiper.activeIndex; |
| | | }, |
| | | drawBaseImg() { |
| | | if (!this.Camera.cameraId) { |
| | | this.$notify({ |
| | | type: "warning", |
| | | message: "请先选择摄像机", |
| | | }); |
| | | return; |
| | | } |
| | | if (Array.isArray(this.$refs.canvas)) { |
| | | if (this.$refs.canvas.length > 0) { |
| | | this.$refs.canvas[0].showModal(); |