From 8a0e6f282569868275cf90ee33b0bf5fc4b30b2b Mon Sep 17 00:00:00 2001
From: hanbaoshan <hanbaoshan@aiotlink.com>
Date: 星期二, 01 九月 2020 20:45:23 +0800
Subject: [PATCH] 国标配置条件修改,项目添加manifest,热力图更新,区域管理样式调整
---
src/components/treeMenu/index.vue | 13 ++++++++++---
1 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/src/components/treeMenu/index.vue b/src/components/treeMenu/index.vue
index 89d63f6..bd8a7a7 100644
--- a/src/components/treeMenu/index.vue
+++ b/src/components/treeMenu/index.vue
@@ -156,11 +156,16 @@
hoverNodeId: "",
itemClickEvents: {
dblclick: (VNode, item, e) => {
-
- if (item.type !== "4" || this.app !== "Video") {
+ console.log('dblclick',item);
+ console.log('dblclick',this.TreeDataPool.videoArr);
+ console.log(this.app)
+ // if (item.type !== "4" || this.app !== "Video") {
+ // return;
+ // }
+ if (item.type !== "4" || this.app !== "Camera") {
return;
}
-
+ console.log('activeForceChoose',this.TreeDataPool.activeForceChoose)
this.TreeDataPool.activeVideoId = item.id;
let videoArr = this.TreeDataPool.videoArr;
let nullVideoIndex = "";
@@ -170,6 +175,7 @@
this.TreeDataPool.activeVideoIndex !== "" &&
this.TreeDataPool.activeVideoIndex <= videoArr.length - 1
) {
+ console.log('setVideoArr')
this.TreeDataPool.setVideoArr(this.TreeDataPool.activeVideoIndex, undefined, this);
this.$nextTick(() => {
this.TreeDataPool.setVideoArr(
@@ -310,6 +316,7 @@
this.showDialog = true;
},
itemClick(node, item, e) {
+ console.log('jsTree index.vue',item)
this.TreeDataPool.selectedNode = item;
this.TreeDataPool.updateSelectedNodes();
this.TreeDataPool.treeType = this.treeName;
--
Gitblit v1.8.0