From 46de0046db31c68509d8a8e7c8339179dbe272d4 Mon Sep 17 00:00:00 2001
From: hanbaoshan <hanbaoshan@aiotlink.com>
Date: 星期二, 23 二月 2021 10:22:45 +0800
Subject: [PATCH] 目录树节点位置变化监测数据变化;朔黄视频检索页图片前缀移除

---
 src/components/giantTree/zTree/ztree.vue                               |    1 +
 src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue |   11 ++++++++++-
 src/pages/cameraAccess/components/CameraInfo.vue                       |    2 +-
 src/components/giantTree/index.vue                                     |    4 +++-
 4 files changed, 15 insertions(+), 3 deletions(-)

diff --git a/src/components/giantTree/index.vue b/src/components/giantTree/index.vue
index 52a101a..0a694bd 100644
--- a/src/components/giantTree/index.vue
+++ b/src/components/giantTree/index.vue
@@ -115,7 +115,9 @@
         this.TreeDataPool.selectedNodes = [this.TreeDataPool.selectedNode.id]
 
         let node = this.ztreeObj.getNodeByTId(this.TreeDataPool.selectedNode.tId)
-
+        //鎽勫儚鏈轰俊鎭洿鏂颁俊鎭悗锛屽鏋滆妭鐐逛綅缃湁鍙榯Id灏变笉鍑嗕簡,this.TreeDataPool.selectedNode姝ゆ椂杩樻槸鏃х殑淇℃伅
+        console.log('selecBode',this.TreeDataPool.selectedNode)
+        console.log('selectedNode.tId',this.TreeDataPool.selectedNode.tId,)
         // 澶氶�夋椂, 閫変腑鍗曢�夊崟鍑荤殑鑺傜偣
         if (this.TreeDataPool.multiple) {
           this.ztreeObj.checkAllNodes(false);
diff --git a/src/components/giantTree/zTree/ztree.vue b/src/components/giantTree/zTree/ztree.vue
index f6f79e0..8a4e717 100644
--- a/src/components/giantTree/zTree/ztree.vue
+++ b/src/components/giantTree/zTree/ztree.vue
@@ -112,6 +112,7 @@
             Object.assign({}, this.ztreeSetting, this.setting),
             this.list
           );
+          console.log('onCreated,ztr')
           this.$emit("onCreated", this.ztreeObj);
         });
       },
diff --git a/src/pages/cameraAccess/components/CameraInfo.vue b/src/pages/cameraAccess/components/CameraInfo.vue
index 72cec9a..66c4a0d 100644
--- a/src/pages/cameraAccess/components/CameraInfo.vue
+++ b/src/pages/cameraAccess/components/CameraInfo.vue
@@ -400,7 +400,7 @@
                 let {evt,treeId} = _this.$root.$children[0].$refs['leftTree'].$refs.tree;
                 console.log(evt,treeId)
                 // this.$nextTick(()=>{
-                   _this.$root.$children[0].$refs['leftTree'].$refs.tree.itemClick(evt,treeId,_this.TreeDataPool.selectedNode)
+                   //_this.$root.$children[0].$refs['leftTree'].$refs.tree.handleCreated()
                 // })
 
               } else {
diff --git a/src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue b/src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue
index bee4349..d312194 100644
--- a/src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue
+++ b/src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue
@@ -147,7 +147,7 @@
           <el-col :xs="8" :sm="6" :md="6" :lg="6" v-for="data in tabData" :key="data.id">
             <div class="card">
               <div class="video-wrap" @click="checkVideoDetail(data)">
-                <img :src="CLIP+data.VideoCover" alt />
+                <img :src="data.VideoCover" alt />
               </div>
               <div class="video-info">
                 <div class="base-info">
@@ -685,8 +685,17 @@
         }
         .el-menu.el-menu--horizontal {
           border: none;
+          
         }
         .config-submenu {
+          .el-menu--horizontal{
+            //max-width: 700px;
+            //overflow-x: auto;
+            left: 20px!important;
+            &>ul{
+              flex-wrap: wrap;
+            }
+          }
           .el-submenu__title {
             height: 40px;
             line-height: 40px;

--
Gitblit v1.8.0