From b77c70bb4fd39f3a08d2a3bc5e16155652452990 Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期五, 15 十一月 2024 16:28:08 +0800
Subject: [PATCH] 整合代码

---
 Source/plt-web/plt-web-ui/src/views/custom-ui/product.vue |   22 ++++++++++++++++------
 1 files changed, 16 insertions(+), 6 deletions(-)

diff --git a/Source/plt-web/plt-web-ui/src/views/custom-ui/product.vue b/Source/plt-web/plt-web-ui/src/views/custom-ui/product.vue
index 5107974..a6cd05c 100644
--- a/Source/plt-web/plt-web-ui/src/views/custom-ui/product.vue
+++ b/Source/plt-web/plt-web-ui/src/views/custom-ui/product.vue
@@ -1,6 +1,8 @@
 <template>
-  <avue-tree ref="tree" v-loading="treeLoading" :data="treeData" :option="treeOption" @node-click="nodeClick">
-  </avue-tree>
+  <div style="height: 720px">
+    <avue-tree ref="tree" v-loading="treeLoading" :data="treeData" :option="treeOption" @node-click="nodeClick">
+    </avue-tree>
+  </div>
 </template>
 
 <script>
@@ -58,11 +60,19 @@
     }
   },
   created() {
-    // console.log(this.sourceData);
-    console.log(this.dataStore);
-    // console.log(this.paramVOS);
+    console.log('create');
   },
-  methods: {}
+  methods: {
+    nodeClick(row){
+      console.log(row);
+      this.$emit("setDataStore", {
+        area: 'westAreaInDialog',
+        type: 'tree',
+        btmType:'workcontext',
+        dataStore:row
+      });
+    }
+  }
 }
 </script>
 

--
Gitblit v1.9.3