From 57f63af79046b85cc23b0314ea3bb863992f3ad4 Mon Sep 17 00:00:00 2001
From: fangyuan <527392886@qq.com>
Date: 星期一, 26 十二月 2022 17:25:56 +0800
Subject: [PATCH] 工作台跳转

---
 src/views/cause/Group.vue         |    6 ++++++
 src/views/workbench/Workbench.vue |    1 +
 2 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/src/views/cause/Group.vue b/src/views/cause/Group.vue
index 557457b..8625e55 100644
--- a/src/views/cause/Group.vue
+++ b/src/views/cause/Group.vue
@@ -184,6 +184,12 @@
           this.treeData[0].children = res;
         }
       )
+      var params=window.location.href.split("id=")
+      if(params.length!=1){
+        var param={id:params[1]}
+        this.handleNodeClick(param)
+        
+      }
     },
     filterNode(value, data) {
       if (!value) return true;
diff --git a/src/views/workbench/Workbench.vue b/src/views/workbench/Workbench.vue
index af289ca..b451916 100644
--- a/src/views/workbench/Workbench.vue
+++ b/src/views/workbench/Workbench.vue
@@ -147,6 +147,7 @@
     },
     toGroup(groupId) {
       console.log(groupId)
+      window.open('/#/group?id='+groupId)
     },
   }
 }

--
Gitblit v1.8.0