From 93a26507f76156fa65aead1515c430688c089e1d Mon Sep 17 00:00:00 2001
From: hanbaoshan <hanbaoshan@aiotlink.com>
Date: 星期一, 22 二月 2021 15:49:01 +0800
Subject: [PATCH] 新版目录树样式调试及状态更新调试;朔黄批量导入列表调试;视频检索页面添加处理参数,添加标注接口添加参数;分页器展示优化,默认检索时间调整;转储设备接口调试

---
 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