From fbbd60a85c9e9b2e6f34332fe7b72c262abfe380 Mon Sep 17 00:00:00 2001
From: wangting <wangting@vci-tech.com>
Date: 星期二, 14 一月 2025 11:23:55 +0800
Subject: [PATCH] 调整查询模板显示以及bug

---
 Source/plt-web/plt-web-ui/src/views/modelingMenu/queryTemplate/businessTypeQuery/formDialog.vue |   11 ++---------
 1 files changed, 2 insertions(+), 9 deletions(-)

diff --git a/Source/plt-web/plt-web-ui/src/views/modelingMenu/queryTemplate/businessTypeQuery/formDialog.vue b/Source/plt-web/plt-web-ui/src/views/modelingMenu/queryTemplate/businessTypeQuery/formDialog.vue
index 3056f86..467db02 100644
--- a/Source/plt-web/plt-web-ui/src/views/modelingMenu/queryTemplate/businessTypeQuery/formDialog.vue
+++ b/Source/plt-web/plt-web-ui/src/views/modelingMenu/queryTemplate/businessTypeQuery/formDialog.vue
@@ -226,11 +226,7 @@
           return false;
         },
         allowDrag: (dropNode) => {
-          if (dropNode.data.attrs && dropNode.data.attrs.length > 0) {
-            return false;
-          } else {
-            return true;
-          }
+          return true;
         },
         props: {
           label: 'name',
@@ -426,10 +422,7 @@
     },
     businessQueryDefineChange(data) {
       if (data.value) {
-        this.businessTreeData = [{
-          name: data.value,
-          attrs: data.item.attrs
-        }]
+        this.businessTreeData = [data.item]
       }
     },
     // 寮�濮嬫嫋鎷芥爲鑺傜偣浜嬩欢

--
Gitblit v1.9.3