From 0175cda6150656bc74b34c6f6c71edd1e1fc653c Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@iotlink.com>
Date: 星期四, 04 二月 2021 18:22:54 +0800
Subject: [PATCH] treee, 修复tab切换时树的选中状态.添加区域

---
 src/pages/searchForCluster/index/Searching.vue |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/src/pages/searchForCluster/index/Searching.vue b/src/pages/searchForCluster/index/Searching.vue
index 7cd82d6..d498a81 100644
--- a/src/pages/searchForCluster/index/Searching.vue
+++ b/src/pages/searchForCluster/index/Searching.vue
@@ -271,7 +271,9 @@
     this.TreeDataPool.readonly = true;
     this.TreeDataPool.gbReadonly = true;
     this.TreeDataPool.multiple = true;
+    this.TreeDataPool.searchFrom = 'cluster';
     this.TreeDataPool.clean();
+    
     this.TreeDataPool.fetchTreeData();
   },
   mounted() {
@@ -296,7 +298,9 @@
 
     this.searchTime = this.getDateInit();
     this.VideoPhotoData.searchTime = this.getDateInit();
-
+    //璁剧疆鎼滅储鏉ユ簮(搴旂敤鍚嶇О)
+    this.VideoPhotoData.searchFrom = 'cluster';
+    //this.TreeDataPool.searchFrom = 'cluster';
     // 鏆傛椂鍏抽棴璺宠浆 20200730
     // if (this.$route.query.showType === "findByPic") {
     if (this.getUrlKey("showType")) {
@@ -615,6 +619,7 @@
       this.VideoPhotoData.searchTime = this.format(this.searchTime);
       //this.VideoPhotoData.inputValue = this.searchText;
       this.VideoPhotoData.showType = this.showType;
+      this.VideoPhotoData.isAll = true;
       if (!this.VideoPhotoData.uploadType) {
         console.log("鏌ヨ鏂规硶");
         this.VideoPhotoData.uploadDiaplay = false;

--
Gitblit v1.8.0