From d4d6b6d1070d49b3ec793c744ba4191b0cefefa4 Mon Sep 17 00:00:00 2001 From: hanbaoshan <hanbaoshan@aiotlink.com> Date: 星期六, 27 二月 2021 16:56:27 +0800 Subject: [PATCH] 朔黄首页任务分析列表填充假数据,视频检索页列表收藏功能修复;摄像机目录树修改摄像机信息节点选中错位bug修复 --- src/pages/cameraAccess/components/LinkageRule.vue | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/src/pages/cameraAccess/components/LinkageRule.vue b/src/pages/cameraAccess/components/LinkageRule.vue index afc9aad..57a7fa9 100644 --- a/src/pages/cameraAccess/components/LinkageRule.vue +++ b/src/pages/cameraAccess/components/LinkageRule.vue @@ -74,6 +74,7 @@ :currentCameraId="data.cameraId" @changeLoading="changeLoading" @fromCanvas="getCanvasData" + @refresh="refresh" ></polygon-canvas> </swiper-slide> </swiper> @@ -208,7 +209,7 @@ 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)); @@ -236,6 +237,14 @@ } 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 = []; -- Gitblit v1.8.0