From 270e7443a1e4b8993918347f8094e38cc15cc861 Mon Sep 17 00:00:00 2001
From: hanbaoshan <hanbaoshan@aiotlink.com>
Date: 星期日, 06 九月 2020 19:03:45 +0800
Subject: [PATCH] 修复内存信息展示,实时监控视频区域展示测试

---
 src/pages/cameraAccess/components/SeparateRules.vue |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/src/pages/cameraAccess/components/SeparateRules.vue b/src/pages/cameraAccess/components/SeparateRules.vue
index b9580df..1faa16f 100644
--- a/src/pages/cameraAccess/components/SeparateRules.vue
+++ b/src/pages/cameraAccess/components/SeparateRules.vue
@@ -253,7 +253,8 @@
     };
   },
   mounted() {
-    this.mockAsync()
+    this.mockAsync();
+    this.PollData.statistics();
   },
 
   methods: {
@@ -320,6 +321,7 @@
     saveSceneRule(groupRule) {
       const payload = { ...groupRule }
       payload.cameraIds = [this.Camera.cameraId];
+      let _this = this;
       saveCameraScene(payload).then(rsp => {
         if (rsp && rsp.success) {
           this.Camera.update();
@@ -327,6 +329,10 @@
             type: "success",
             message: "绛栫暐淇濆瓨鎴愬姛锛�"
           });
+          //鍒锋柊宸︿晶鏍�
+          debugger
+          _this.$root.$children[0].$children[0].querySearchAsync('camera')
+ 
         }
       });
     },
@@ -470,7 +476,7 @@
 <style lang="scss">
 .s-separate-rules {
   width: 100%;
-
+  padding: 13px 0 20px;
   .ai {
     //width: calc(100% + 76px);
     // height: 38px;
@@ -623,7 +629,7 @@
   }
   .bottom {
     width: 100%;
-  
+    margin-bottom: 15px;
     .bottom-side {
       height: 100%;
       width: 250px;

--
Gitblit v1.8.0