From f399034d0f8e7960512858392d0e8a8692406773 Mon Sep 17 00:00:00 2001
From: wangting <wangting@vci-tech.com>
Date: 星期一, 13 一月 2025 18:14:33 +0800
Subject: [PATCH] 查询模板候选条件可以选择父节点,时间类型不能选择查询模板

---
 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